New search interface?
Posted: Thu Nov 09, 2017 7:58 am
Sphider was written in the days before CMS were common (I used it back then) and is therefore not designed to work within one.
This is fine for the 'back end' process but quite difficult for the search function. I've used some javascript to make it work within a iframe in MODx. (See challengenews.online/challenge/search/?query=&search=1. (The Intrusion Detection System incorporated into the version of Sphider on that site causes a problem if I define the link as a link!)
The search returns it's own HTML at present. I would suggest it be changed to return an array and then the user interface part use the array.
The end result would probably look identical to what is there now, but it would create the ability create a different front end, from within a CMS, for example. It would not be a difficult step to extend that to a back end that returns a JSON string.
Tim
This is fine for the 'back end' process but quite difficult for the search function. I've used some javascript to make it work within a iframe in MODx. (See challengenews.online/challenge/search/?query=&search=1. (The Intrusion Detection System incorporated into the version of Sphider on that site causes a problem if I define the link as a link!)
The search returns it's own HTML at present. I would suggest it be changed to return an array and then the user interface part use the array.
The end result would probably look identical to what is there now, but it would create the ability create a different front end, from within a CMS, for example. It would not be a difficult step to extend that to a back end that returns a JSON string.
Tim