Thread: indexing pdf
View Single Post
Old 02-20-2004, 03:46 PM   #1
philippeguerind
Green Mole
 
Join Date: Feb 2004
Location: FRANCE
Posts: 5
indexing pdf

Hi from France,
You will excuse my english. I can't make phpdig indexing pdf files.
I put the following lines into the config.php file.

define('PHPDIG_INDEX_PDF',true);
define('PHPDIG_PARSE_PDF','./pdftotext');
define('PHPDIG_OPTION_PDF','');
define('PHPDIG_PDF_EXTENSION','.txt');

as pdftotext.exe is located at the root. The indexing works perfectly with html files even with ASCII files but not with pdf files. My web site is located on Lycos server.
I uploaded pdftotext.exe at the root, then set permissions to 755. When I run phpdir from the administration panel asking to dig a pdf file indicating the full path, I get a green sign in front indicating the file is indexed. When I search for any word inside the pdf file I get no record.
What could I try? I have been looking at this Forum for weeks before posting. Now I have no more ideas.
Thanks for helping a novice.
Philippe.
philippeguerind is offline   Reply With Quote