Re: [htdig] Sort by Date from Meta Tags [patch]


Subject: Re: [htdig] Sort by Date from Meta Tags [patch]
From: Joe R. Jah (jjah@cloud.ccsf.cc.ca.us)
Date: Tue Apr 11 2000 - 11:52:26 PDT


On Tue, 11 Apr 2000, Gilles Detillieux wrote:

> Date: Tue, 11 Apr 2000 13:00:47 -0500 (CDT)
> From: Gilles Detillieux <grdetil@scrc.umanitoba.ca>
> To: Geoff Hutchison <ghutchis@wso.williams.edu>
> Cc: Gilles Detillieux <grdetil@scrc.umanitoba.ca>,
> Michael Pfennich <michael.pfennich@parlinkom.gv.at>, htdig@htdig.org
> Subject: Re: [htdig] Sort by Date from Meta Tags [patch]
>
> According to Geoff Hutchison:
> >
> > I no longer have the patch to 3.1.x, but I could backport it from the 3.2
> > tree pretty easily. IIRC, it was about a 30-line patch. I'll post this to
> > the list sometime tomorrow, probably.
>
> Good thing I'm such a pack rat. I found your patch, and some of our
> discussions with Mike Grommet. Here's an updated version of your patch,
> with Mike's correction added in, as well as a test for the use_doc_date
> attribute. I imagine one might need to tweak the default tm_hour setting
> in get_time() to avoid having the date in the search results falling on
> the previous date, due to timezone offsets. htsearch displays times in
> the server's local timezone, while htdig parses all dates in UTC.

The patch is now safely packed in:

        ftp://ftp.ccsf.org/htdig-patches/3.1.5/SortMetaDate.0

Regards,

Joe

-- 
     _/   _/_/_/       _/              ____________    __o
     _/   _/   _/      _/         ______________     _-\<,_
 _/  _/   _/_/_/   _/  _/                     ......(_)/ (_)
  _/_/ oe _/   _/.  _/_/ ah        jjah@cloud.ccsf.cc.ca.us

------------------------------------ To unsubscribe from the htdig mailing list, send a message to htdig-unsubscribe@htdig.org You will receive a message to confirm this.



This archive was generated by hypermail 2b28 : Tue Apr 11 2000 - 09:37:57 PDT