According to Jim Cole:
> Sorry. I didn't notice that you were working with a 3.2 beta until 
> after sending the last message. The time handling is different in 3.2. 
> The patch is inappropriate and it appears that RFC 1123 is supposed to 
> be supported. Please disregard my earlier comments.
> 
> Jim
> 
> On Thursday, November 21, 2002, at 12:14 AM, Jim Cole wrote:
> 
> > On Wednesday, November 20, 2002, at 06:49 PM, Vince LaMonica wrote:
> >
> >> I ran htdig with -vvvvv and here's the results for the page that does 
> >> not
> >> show the correct last modified time. The system this is running on is:
> > ...
> >> Since I have use_doc_date set to true, it shouldn't matter what the 
> >> header
> >> includes anyway, since i've set the META date tag correctly.
> > ...
> >> Tag: META name="date" content="Sat, 19 Oct 2002 21:10:54 GMT", 
> >> matched 20
> >
> > I believe the only format supported is ISO 8601 (YYYY-MM-DD hh:mm:ss). 
> > The time portion is considered optional by ht://Dig.
> >
> > Also note that there is a bug in the date parsing code. A patch and 
> > brief explanation of the problem is located at 
> > ftp://ftp.ccsf.org/htdig-patches/3.1.6/metadate.0.

However, Vince originally said...

   Am using v3.2.0b4-072201 [mandrake 8.2] along with php v4.1.2, apache 
   1.3.23 and am having a problem with the 'LASTMODIFIED' varible.

Back in July 2001, the 3.2.0b4 snapshots of htdig did not support
RFC 1123 date formats in meta tags.  They do now, because of a switch
to a more generalized date parsing method, but that won't help Vince.
He should stick to ISO 8601 format (YYYY-MM-DD is all that this snapshot
will parse), which is apparently the standard date format for use in
meta date tags anyway.

In htdig -vvv output, when it displays "time: ...", this only means it
got that date string and it's about to attempt to parse it - it's not
a confirmation that it did parse it correctly.  If it can't parse it,
it will silently ignore it.

-- 
Gilles R. Detillieux              E-mail: <[EMAIL PROTECTED]>
Spinal Cord Research Centre       WWW:    http://www.scrc.umanitoba.ca/
Dept. Physiology, U. of Manitoba  Winnipeg, MB  R3E 3J7  (Canada)


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a 
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html

Reply via email to