Oh, thank you, so I finally found what you need - knowing the last modified
date, for printing it in results, for sorting results by date, for limiting
results to given dates. Am I right?

Hmm...this would be not a five-minutes hack to do it...we store Last-Modified
header in SQL DB and later send it back...so we can't store "date" meta there.
But we can add one extra field into SQL DB, for just storing "date" meta.

Later, in a process of parsing delta files, ranks calculation and so (which
is done before index finishes, or explicitly by running index -D),
Last-Modified fields gets read from SQL DB and stored into binary file
named "lastmod", format of the file is described in lastmod.h (or .cpp)

Ok, I will include it in 1.1-devel TODO, we can't do it in 1.0 because this
needs database changes.


Brett Pappas wrote:
> 
> Kir,
> see my notes below:
> 
> ----- Original Message -----
> From: "Kir Kolyshkin" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Friday, February 02, 2001 2:42 PM
> Subject: Re: [aseek-users] Date modified times
> >
> > Can you provide me with more details:
> >
> > 1. Should date meta tag have a higher priority than Last-Modified, or
> > be taken into account only if there is no Last-Modified?
> 
> I feel the best apporach would be to use it as a higher priority over
> Last-Modiifed since if someone took the time to inlcude it in their document
> then they must prefer it to the lastmod time. Also it could be a config
> option that is turned off by default...
> 
> >
> > 2. Is that a standard of any kind, or just ht://Dig extension? If it's
> > not a standard, please describe a way how you use it.
> 
> Yes it is an accepted standard for a few search engines out there. In fact
> htdig will either use "date" or "htdig-date" as the meta name.
> 
> > 3. Does this prevents re-loading the whole document from the network,
> > or it just prevents from document parsing and storing in DB?
> 
> I'm not sure what you mean here. Are you talking about the meta tag or the
> server parsed file? The meta tag is just there for informational purposes
> similar to a meta description tag etc..
> 
> The server parsing things is common to all web servers like netscape and
> apache in the fact that if the file is parsed on the server (like ssi's,
> php, etc..) then the server never gives you a proper last-modified date (it
> will usually just say unknown in netscape, I think IE will just give today's
> date).
> 
> >
> > 4. What is date format?
> 
> An example would be:
> 
>  <meta name="date" content="2001-01-31">
> 
> So in other words "Y-m-d" with leading zeros for the day and month fields.
> 
> >
> > BTW please note that we also honour/set ETag/If-None-Match pair of
> headers,
> > and we also honour Expires: header, if it is set to a date later than
> > now + Period from aspseek.conf (See RFC 2616).
> >
> 
> I don't really think this relates to what I am needing to do since this is
> more about expriring content from pages where as all I am wanting to do is
> determine when the document was created/modified last.
> 
> Thanks for your help, I look forward to anything you can do. I wish I knew
> more C so I could help out. My feeling is that if you are already
> interpreting other meta tags such as description, content and robot - then
> it would be pretty straight forward to add this feature but then again I
> have no idea where you are storing the lastmod dates for each url so maybe I
> am wrong ;-)
> 
> Thanks for any help,
> Brett
> 
> > Maybe this will be of any help to you?
> >
> > -- |< [] [] |_    [EMAIL PROTECTED]    http://kir.sever.net   ICQ 7551596 --
> > "Ok, the guy who made the netfilter Makefile was probably on some
> interesting
> >  and probably illegal drugs when we wrote it."  -- Linus Torvalds.
> >

-- |< [] [] |_  [EMAIL PROTECTED]  http://kir.sever.net  ICQ 7551596 --
"Maybe somebody should tell gcc maintainers about programmers
 that know more than the compiler again."  -- Linus Torvalds.


Reply via email to