Hi,
When I run the following query :
select first_words from spider where file like '%.pdf%';
I got nothing
When I run the following query :
select keyword from keywords where keyword like '%word%';
I got :
key_id=61365
twoletters=en
keyword=entrymainbodyfirstwords
But i think this is because in my index.html I have a word called{{entrymainbodyfirstwords 25}} that has been indexed as keyword=entrymainbodyfirstwords
and there is no link with pdf (i think)
Here is the configuration in config.php :
define('SNIPPET_DISPLAY_LENGTH',150);
define('DISPLAY_SNIPPETS',true);
define('DISPLAY_SNIPPETS_NUM',4);
define('DISPLAY_SUMMARY',true);
define('TEXT_CONTENT_PATH','text_content/');
define('CONTENT_TEXT',1);
Quote:
then there should be a text file in the text_content directory with the PDF content.
|
Yes I have text files but the pdf text file only show :
Index of /pdf Name Last modified Size Description Parent Directory
28-Apr-2004 16:35 - 01123SOC2004013.PDF 28-Apr-2004 18:30 69k pdf.html
28-Apr-2004 18:18 1k test.doc 28-Apr-2004 17:24 19k zyz.xls 28-Apr-2004
17:24 14k Apache1.3.29 - ProXad [Apr 1 2004 16:04:22] Server at
monsiteweb.fr Port 80 Index of /pdf Index of /pdf Index of /pdf
Quote:
then when searching on a keyword just $text from list($title,$text) = explode("\n",$first_words); will be shown regardless of keyword.
|
I don't understand the last part of your message ???
Thanks for your great job and your quick answer.
Paul