View Full Version : Help indexing a folder full of PDF

02-21-2005, 08:13 AM

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:

02-21-2005, 01:16 PM

02-22-2005, 04:22 AM
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...

02-22-2005, 05:47 AM
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...

02-22-2005, 04:46 PM
Check out section 4.5: http://www.phpdig.net/navigation.php?action=doc#toc4

02-22-2005, 11:11 PM
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:

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.

02-23-2005, 12:31 AM
Thank you, I try just right now, but nothing change...

This is the direct link to index.php page:

The spider index only the page but not the pdf linked...

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.

02-23-2005, 01:11 AM
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
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...

02-23-2005, 01:23 AM
I'd need to see output from those code changes for further advice. :(

02-23-2005, 01:36 AM
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...

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.

02-24-2005, 12:11 AM
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...