On Wed, 16 Feb 2005, Chuck Phillips (Console, Inc.) wrote:
I've been going nuts for two days and must be missing something simple
or possibly misunderstanding the function of use_doc_date.
In my htdig.conf file I have the following lines:
# use meta date to determine a new page
use_doc_date: true
Within the head of each of the pages indexed I have something like
this:
<META NAME="Date" CONTENT="2005-02-16">
I've tried using META name dc.date, dc.date.created and
dc.date.modified. I've also tried dates in the format YYYYMMDD, YYMMDD,
YYYY-MM-DD HH:MM:SS, YYYY MM DD, etc....
You are reindexing after each change aren't you?
I'm reindexing after each change with a modified version of rundig that
doesn't use the -i flag for htdig (I've also disabled the -a flag for the
modified rundig). I've tried using the default rundig as well. No luck.
You might want to try running with the -i (or manually removing the
database) in order to verify that everything is being retrieved and
indexed from scratch.
Using the meta tag you list above, exactly as you have typed it (except
with a date that is not today), gives me the results I would expect when I
index a page with use_doc_date enabled.
What exactly are you expecting when you enable the use_doc_date attribute
and in what way are the results differing from your expectations?
Btw, if you run with a couple -v options tacked on, and use_doc_date is
working as expected, you should see some evidence in the debug output;
there should be a line that says something like 'time: 2000-01-02'.
Jim
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
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