According to David Bourne:
> >The patch was to get the code to correctly handle an ISO-8601 format
> >date string, with hyphens, i.e. 1990-01-01.  If you want it to allow
> >slashes too, you need to change lines 1142 and 1153 to:
> 
> Both 1142 and 1153? I guess 1153 was OK before.

Correct.  Line 1153 handles the characters between the month and day values,
while 1142 handles the characters between the year and month.  Line 1153
did allow hyphens, while line 1142 didn't (which was a mistake).

> >     while (*s == '-' || *s == '/' || isspace(*s))
> >
> >which means while the current character is a hyphen, a slash, or a
> >white space character of some sort, keep skipping over.
...

> >The quick fix for now is to use something like:
> >
> >     <meta name="date" content="1990-01-01 12:00:00">
> 
> This works. Thanks.
> 
> My SSI bit is:
> 
>       <TITLE>PHAR 7632/7633 Syllabus</TITLE><!--#config 
> timefmt="%Y-%m-%d" -->
>       <META Name="Date" Content="<!--#flastmod virtual = "s00.html" 
> --> 12:00:00">
> 
> which seems to work OK. Thanks for the help. Again, great utility.

OK, but see my reply to William Knox in this same thread.  William
suggested modifying the Retriever.cc code further, to which I countered
with a better code change, which would keep you from having to embed these
12:00:00 strings everywhere in your SSI documents (I mistakenly thought
you'd be using a script to generate all the headers).  This seems like
a more elegant solution than what you're currently doing.

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

_______________________________________________
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