View Single Post
Old 11-28-2003, 01:11 PM   #1
ZAP
Green Mole
 
Join Date: Nov 2003
Posts: 7
reindex specific PHP page on change?

Hello -

Great script!

Our site has some pages with articles that users can comment on. The comments are added to a text file and then included at the bottom of the page using a simple PHP include statement. phpDig is able to index these comments with no problem.

What I would ideally like to do is to add a line to my PHP comment script that would make phpDig reindex just that page after adding the new comment. I realize that I could call the spider script after adding the comment, but how can I specify the specific URL and keep phpDig from spidering all the other links? I want to keep my search index up-to-date, but I don't want to tax the server unnecessarily.

THANKS in advance for your response.
ZAP is offline   Reply With Quote