Subject: Re: [htdig] Sort by Date from Meta Tags ???
From: Gilles Detillieux (email@example.com)
Date: Tue Apr 11 2000 - 09:15:43 PDT
According to Michael Pfennich:
> Is there a possibility, to sort the result by the Metatag "Created"
> "Changed", and not the modification time of the File ????
Not quite. In 3.2, there is a use_doc_date option, that causes htdig to
use the "date" meta tag as the document's modification date/time, but
it doesn't look for any other meta tags carrying dates. Of course, it
would be a simple patch to htdig/HTML.cc to add other tags. It currently
expects dates in ISO-8601 format (YYYY-MM-DD), which is apparently what
the Dublin Core standard is for the date meta tag, but that too could
quite easily be expanded in htdig/Retriever.cc's got_time() function.
Adding these capabilities to the 3.1.5 release would take a fair bit more
effort, so if you want to try the bleeding edge, and don't mind hacking the
code a bit, just wait a little longer and 3.2.0b2 should be released.
-- Gilles R. Detillieux E-mail: <firstname.lastname@example.org> 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
------------------------------------ To unsubscribe from the htdig mailing list, send a message to email@example.com You will receive a message to confirm this.
This archive was generated by hypermail 2b28 : Tue Apr 11 2000 - 07:01:43 PDT