Closed (won't fix)
Project:
Search by Page
Version:
6.x-1.0
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
23 Apr 2009 at 09:58 UTC
Updated:
4 Jan 2010 at 19:30 UTC
Can I install Search By Page module on my version 5.7 ?
Comments
Comment #1
irisinte commentedComment #2
jhodgdonSearch by Page was developed very recently, and only supports Drupal 6. I don't have any plans to backport it to Drupal 5, sorry!
There's quite a lot of documentation on how to port Drupal 5 modules for Drupal 6, but very little about how to go backwards. It would involve:
- Creating Drupal 5 .info files (the format changed)
- Figuring out how to adapt the database schema stuff in the .install files into Drupal 5's old way of doing things
- Making changes in the Drupal core functions the module(s) call so they would be compatible with the version 5 core functions
If you'd like to take this on and provide a patch, I would be happy to make it available for others to use.
Comment #3
jhodgdonComment #4
jhodgdonFor Drupal 5, if you just want to restrict search to certain content types, try one of these modules:
http://drupal.org/project/search_restrict
http://drupal.org/project/faceted_search
http://drupal.org/project/views_fastsearch
If you want to search the entire text of each page, you could try integrating a 3rd-party search engine, such as Google:
http://drupal.org/project/google_cse
And if you do that, you'll probably want to tell Google what to index on your site (you probably should do that anyway):
http://drupal.org/project/xmlsitemap
Comment #5
jhodgdonJust a note that at this time, no one is actually working on porting Search by Page to work with Drupal 5.x (this person found a different solution).
If there is high demand, or if someone else wants to work on it, please leave a comment here.
Comment #6
irisinte commentedFor information, I finally use search_wipe function to exclude pages form drupal search.
It is called after running search index with cron.php
sample : search_wipe(118, 'node'); // 118 = node id
Comment #7
jhodgdonAt this point, I would say there is no chance I will be making a version of Search by Page for Drupal 5.x. Drupal 7.x will be released in a couple of months, and at that point, Drupal 5.x will no longer be supported. Sorry...