View Full Version : Help indexing a folder full of PDF
Hi,
It is possibile to indexing a folder (and hopefully sub-folders) filled with PDF's, without paste in phpdg webadmin page ALL pdf address?
I try many times, but it seem the only method accepted is to write a link for EVERY pdf that I have...
Sorry for the stupid question, maybe it's my fault...
Thanks in advance... :love:
Charter
02-21-2005, 01:16 PM
http://www.phpdig.net/forum/showthread.php?t=1139
Thank you for your feedback, sadly the php code seems not working in my environment...
I Have MacOsX Apache1.3.x+MySQL4.1.10+PHP4.3.6
I try to reload the php code, but nothing happens...
Ok, now the script work properly, BUT strangely now phpdig don't index linker pdf.
Obviously the pdf's are there and are linked correctly in the index.php page...
Charter
02-22-2005, 04:46 PM
Check out section 4.5: http://www.phpdig.net/navigation.php?action=doc#toc4
I'm sorry, but external binaries seems to be OK, because if I try to index a pdf with full path in admin section, phpdig worked well...
I see my config.php comparing to documentation has nothing strange.
It seems that phpdig don't follow the dynamics links inside index.php.
This is my confing.php:
Charter
02-23-2005, 12:06 AM
Try indexing the listing of PDFs with search depth set to one, links per set to zero, and choose no.
Thank you, I try just right now, but nothing change...
This is the direct link to index.php page:
http://posa.dataport.it/~posa/phpdig/pdf/index.php
The spider index only the page but not the pdf linked...
Charter
02-23-2005, 12:40 AM
Make the code changes indicated in this (http://www.phpdig.net/forum/showthread.php?t=799) post and see what it prints onscreen.
Well, I try to debug with all of your hints, but no way...
At this point you suggest 3 modifications to files spider.php and
robot_functions.php.
I try to modify as you suggest but at this point spider stop to work...
Sorry if I bother you but now I'm really going mad...
Charter
02-23-2005, 01:23 AM
I'd need to see output from those code changes for further advice. :(
Ok, I try again and this is the result:
Is result test http an array:
What is result test http status:
No others information appearing when I try to index the page...
Charter
02-23-2005, 02:12 AM
How big are those PDFs? Stick error_reporting(E_ALL); at the top of the config file, and then see if any PHP messages print out.
Ok, this are the news.
I try to reinstall with my 2 environment (Linux+MacOsX).
With phpdig-1.8.8-rc1 nothing to do: there is no way to index the pdf's, with phpdig-1.8.7 all working like a charm...
So, I stay on phpdig-1.8.7, but really I don't understand what's happens under phpdig-1.8.8-rc1...
Bye, and many thanks to you...
vBulletin® v3.7.3, Copyright ©2000-2024, Jelsoft Enterprises Ltd.