PDA

View Full Version : PDFs in directory listed as one long entry


motopsycho
03-08-2004, 01:16 PM
My problem is this

I created an index.php file that dynamically lists the contents the pdfs in the directory as links.

I tell phpdig to spider the directory.

When I do a search it finds the keyword but the result is the file name concatonated to all the other links(filenames) in the directory.

How can I dig my pdf files so that when using a keyword search each filename is returned separately?

Charter
03-09-2004, 10:37 AM
Hi motopsycho, and welcome to PhpDig.net!

It sounds like just the page with the links is getting indexed but not the PDF files. First make sure that the config file is set to index PDFs. Next, if you have access to shell, see if you can call the binary on a PDF. Also make sure that the directories to the binary and the binary itself are set to 755 permissions. Last, if you are using PHP 4.2.2/3, either upgrade or try the mod in this (http://www.phpdig.net/showthread.php?threadid=570) thread. Once the PDFs get indexed, you can delete the page with links from the admin panel so that it doesn't appear in the search results.

motopsycho
03-09-2004, 12:14 PM
How exactly do I remove the file containing the links?

Charter
03-09-2004, 12:21 PM
Hi. From the admin panel, click the site, click the update button, click through the blue arrows on the left hand side of the screen until you see the file to delete on the right hand side of the screen, and once you see the file, click the red X on the right hand side of the screen next to the file.

motopsycho
03-09-2004, 06:07 PM
Hello.

Thanks so much for your help.

That fixed it.