PDA

View Full Version : pdftotext - not indexing PDFs - oh geez


monkeynutts
11-11-2005, 09:07 AM
I have installed phpDig - working nice on html docs --

I have installed PdfToText as well - and working through SSH - converts PDFs to text, html - like it should ... I just need it to pick up PDFs in numerous folders -- :(

Here are my settings:
define('PHPDIG_INDEX_PDF',true);
define('PHPDIG_PARSE_PDF','/usr/local/bin/pdftotext');
define('PHPDIG_OPTION_PDF','');
define('PHPDIG_PDF_EXTENSION','.txt');


Any help is much much appreciated :D

thanks in advance.

Charter
11-11-2005, 09:15 AM
Your settings look good, but make sure that pdftotext is set to 755 permission and also take a read through this (http://www.phpdig.net/forum/showthread.php?t=799) thread. PhpDig indexes by following links, so if your PDF files are not linked in webpages, check out this (http://www.phpdig.net/forum/showthread.php?t=1139) thread.