|
11-28-2003, 02:11 PM | #1 |
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. |
11-28-2003, 05:56 PM | #2 |
Head Mole
Join Date: May 2003
Posts: 2,539
|
Hi. Maybe try something like the following:
PHP Code:
__________________
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-28-2003, 07:35 PM | #3 |
Green Mole
Join Date: Nov 2003
Posts: 7
|
RE: reindex specific PHP page on change?
Thanks! I'll give it a try in a day or so and let you know how it turned out. I think I'll probably add a flag to spider.php to make it only reindex that one page rather than setting it in the config file (since at other times I'll want it to spider).
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
start reindex not from the web page | george222 | How-to Forum | 0 | 12-11-2007 06:26 AM |
Creating a second search page in the same site searching only a specific path | Jorik | How-to Forum | 2 | 02-09-2005 06:06 AM |
Targeting a specific part of the page | cyrax78 | Mod Requests | 2 | 02-07-2005 08:40 PM |
No summary and cant reindex | alan-s | Troubleshooting | 3 | 12-11-2004 12:01 PM |
Returning from a html page to a php page. | rafarspd | How-to Forum | 2 | 12-04-2003 04:23 AM |