Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 24. Nov 2024, 08:09

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: searching
PostPosted: 11. Apr 2006, 13:58 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
maybe it is possible to expand the search ?

If I have a comment "text some" and I do a search for "some text", twg finds no hits.
even better would it be when I search, that all comments/captions belonging to the same file should be checked for (partial) matches...

--
file a
comment 1: 2003
comment 2: holiday usa

file b
comment 1: 2004
comment 2: holiday usa

a search for "usa 2003" should hit file a, but not file b.


Top
 Profile  
 
 Post subject:
PostPosted: 11. Apr 2006, 14:08 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
extending a search you are lookingfor is not that easy - I have written this kind of thing already for a real portal - it's really quite komplex - expecially if you want your hits across several entries.

I don't have a database can can simply change a sql statement - I would have to code this on xml base - not fun :).

You can extend the search by yourself and I add this to the next build if you like ;).

/Michael


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2006, 17:17 
Offline
User avatar

Joined: 5. Aug 2005, 19:39
Posts: 77
I said it before, I am not a programmer, I am a user... But my idea would be:

take all the XML comment files, throw them into one (large) file (admin function ! do it yourself every now and then), and search in there ? That is how "search enigine maker professional" (which I used to have) does the trick in simple php with no sql / database or whatever !


Top
 Profile  
 
 Post subject:
PostPosted: 15. Apr 2006, 18:12 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
Hi,

merging the files would not help - I have one file for every album already - therefore his would not make any difference. the search you are looking for would be searching for 2 terms in a single comment.

It's actually not that hard to do - searching for the two search terms and looking for the results where you had an hit in both ;).

then its still a difference if it is on one comment or in two comments ....
The problem is actually to define how to search ;).

If I find an easy way to extend the search i'll add this to the next release.

/Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy