Yes, you need to make changes to the header section of the php file (so that htdig knows what type of file it is receiving) AND configure some sort of external parser (if it is a file type that htdig is not able to parse, which it appears to be).

Make sure to read the section on configuring external parsers on htdig.org and the mailing list archives also contain quite a bit of correspondence regarding this topic (I think it even came up in the last 6 months...)

If you are unable to solve the problem, you might try telling us what content-type the files are, what version of htdig you are using, and what platform (windows, linux, mac, etc.)

Good luck,

Ted Stresen-Reuter

On Mar 3, 2006, at 7:15 PM, aurora-glacialis wrote:


Hi.
I have been searching for this for about 2 hours now....
My problem is: I have a database that contains files. I want to use ht//dig
to search inside these files. The files are in a MYSQL database and are
usually put out by a script called download.php?id=NNN with NNN beeing the entry number. In a browser it will give me a "download as..." requester.
However HTDIG -v tells me that the file is not Parseable.
I have started htdig on an index.php that generates links to all files in
the database like  testfile1.txt ...etc. It works fine if I save the
textfile to the www/http/ folder and link to it directly (like <testfile ).

My question now is: How can I get htdig to download these files and index them. Maybe I need to modify the "headers"-section of the download.php file
or maybe I need to make changes in the htdig.conf - I am lost here :-(

Hope you can help!

Ciao
Aurora
--
View this message in context: http://www.nabble.com/Can-HTDIG-process-PHP-generated-files-from-a- database-t1220070.html#a3227805
Sent from the htDig - General forum at Nabble.com.



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel? cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general




-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
ht://Dig general mailing list: <[email protected]>
ht://Dig FAQ: http://htdig.sourceforge.net/FAQ.html
List information (subscribe/unsubscribe, etc.)
https://lists.sourceforge.net/lists/listinfo/htdig-general

Reply via email to