|
11-17-2005, 11:51 PM | #1 |
Green Mole
Join Date: Nov 2005
Posts: 3
|
Totally Limiting Searches to a Particular Filetype
Hi all,
I know that this (or similar) question has been asked before, however after searching these forums a number of times, I can't seem to find an instance where the question (or similar) has been answered. I'd like to know if it is possible (and how) to configure PhpDig to index/search ONLY nominated file types (jpg, gif, png) and to have search results shown as a link to the file. For example, if a user searches for "flowers" and the resulting 'hits' direct the user to the URL for the file, eg: h++p://www.whatever.com/image/pretty_flowers.png Any assistance here would be greatly appreciated, thank you. ~ elroy Last edited by elroy; 11-17-2005 at 11:53 PM. |
11-18-2005, 02:52 AM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
PhpDig indexes text, but files such as jpg, gif, png, etcetera contain no 'real' text to index. It sounds like you are looking for an image indexer. If so, PhpDig is not that type of indexer, though you may be interested in the following threads:
http://www.phpdig.net/forum/showthread.php?t=941 http://www.phpdig.net/forum/showthread.php?t=279
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
11-18-2005, 03:43 AM | #3 |
Green Mole
Join Date: Nov 2005
Posts: 3
|
Thanks for the reply,
Neither of those have much to do with what my question is really about - I don't want to create thumbnails of indexed pages, I want to create the ability to have the search results return ONLY results that match the users search 'request' in the name of a specific filetype. By this, I mean that if the file type that I (as site admin) choose to limit the search to is (for example) .avi and the user searches for "Cars" their results will be along the lines of "fast_cars.avi", racing_cars.avi", "cars.avi", "How_to_fix_cars.avi" etc I apologise if I'm not making my request very clear and greatly appreciate your assistance. ~ elroy |
11-18-2005, 04:49 AM | #4 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Yep, I understood but thought thumbnails may be of interest given you first mentioned image types.
PhpDig is a text indexer, not a file type indexer, and what you're asking is outside of what PhpDig does. For example, seach hamlet and get results, but search hamlet.doc and get no results, meaning that file type is not a part of what PhpDig can do, as PhpDig searches keywords from a document.
__________________
Responses are offered on a voluntary if/as time is available basis, no guarantees. Double posting or bumping threads will not get your question answered any faster. No support via PM or email, responses not guaranteed. Thank you for your comprehension. |
11-18-2005, 04:59 AM | #5 |
Green Mole
Join Date: Nov 2005
Posts: 3
|
ok, thanks for your time Charter.
~ elroy |
Thread Tools | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to filter your searches | yveslebeau | How-to Forum | 1 | 05-22-2006 11:01 PM |
Limiting Search Areas | rgraves | How-to Forum | 0 | 01-03-2006 05:36 AM |
Multiple forms and limiting searches | slipsy | How-to Forum | 3 | 07-06-2004 05:35 AM |
different searches on a same site | zaartix | Mod Requests | 2 | 05-05-2004 09:42 PM |
Limiting the search to certain hosts | lighthouse | Mod Requests | 1 | 03-11-2004 02:30 PM |