WendyM Posted December 16, 2003 Share Posted December 16, 2003 How would I get the quick find search, to include all pages--not just product pages?? If you search for payments......you should see a link to faq.php If you search for help....you should see a link to faq.php Thanks! Wendy Link to comment Share on other sites More sharing options...
♥kymation Posted December 17, 2003 Share Posted December 17, 2003 Since the search function only looks at the database, and only the Products tables at that, there is no really good solution to this one. Searching the entire site would require a Google-style spider. Writing one of those sounds like a lot of work. There are a couple of open-source search spiders that I've been meaning to look at, but even if one of these would work it would still have to be integrated into osC. You could store the FAQ, Conditions, etc. page text in a new database table and modify the search function to look there too (and the Results page to display it). That is probably less work than the spider, but still messy. If anybody comes up with an easier way to do this I would certainly like to try it out. Regards Jim See my profile for a list of my addons and ways to get support. Link to comment Share on other sites More sharing options...
Guest Posted December 17, 2003 Share Posted December 17, 2003 Isn't there a way to throw it to Google? I.e. search terms of YOUR_DOMAIN.COM and whatever keywords were typed? Of course, if you do that then you lose control of the search. Searching "whole site" on php.net apparently is just http://www.google.com/search?q=str_replace...ww.php.net&l=en If it's only a few terms, you could make a mapping manually, where a few terms map to the appropriate info page. I.e. if $keyword == 'contact' add contact.php to search results. There is a contribution to move the language files into the database...that might allow you to search the wordings as well with some modification. Just a few random thoughts. I don't know that I am really convinced of the need for this...do many people use search to try to find help, payments, etc.? From the examples, couldn't you just add a static link to the FAQ at the top of the search results page? Hth, Matt Link to comment Share on other sites More sharing options...
blueline Posted December 17, 2003 Share Posted December 17, 2003 You can just go to google.com and sign up for the free api that you can use on your site. The free version limits you to 1000 queries a month (I think). I would suggest looking into that. -Chris Chris Sullivan Link to comment Share on other sites More sharing options...
WendyM Posted December 17, 2003 Author Share Posted December 17, 2003 Thanks for the different views and ideas. Think I'll leave it as is for now. Didn't realize the difficulty involved. Before installing OSC, I used "free find" search---but was never quite satisfied with the look. I like the idea of the static link on all search results. Thanks again! Wendy Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.