sigfy
05-05-2004, 02:03 AM
Hi,
In the admin interface we can update the index choosing one page at a time. I would like to do this using command line interface.
I tried this :
exec("/usr/local/bin/php -f /usr/local/data/www/phpdig-1.8.0/admin/spider.php http://www.mysite.com/myfolder/mypage.php > /usr/local/data/www/indexing.log &");
but then PHPDig indexes all the website.
It's for a news application, I want PHPDig to index this page and only this one automatically and in background mode each time the user adds a news.
I can't use cron job to do this.
Is there a way ?
Thanks for your help.
In the admin interface we can update the index choosing one page at a time. I would like to do this using command line interface.
I tried this :
exec("/usr/local/bin/php -f /usr/local/data/www/phpdig-1.8.0/admin/spider.php http://www.mysite.com/myfolder/mypage.php > /usr/local/data/www/indexing.log &");
but then PHPDig indexes all the website.
It's for a news application, I want PHPDig to index this page and only this one automatically and in background mode each time the user adds a news.
I can't use cron job to do this.
Is there a way ?
Thanks for your help.