Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] where does swish get swishlastmodified?

From: Bill Moseley <moseley(at)>
Date: Mon Dec 10 2007 - 14:50:17 GMT
On Sun, Dec 09, 2007 at 11:23:27PM +0100, Louis-David Mitterrand wrote:
> Hi,
> On all swishlastmodified 
> proerties appear as 1/1/1970 (i.e undefined?). 
> Where does swish-e get its idea of last modification time? Where can I 
> position that info in the html file for swish-e to index it correctly?

Depends on how you are indexing.  If indexing the file system it does
a stat.  With the spider it should use the last-modified header
( sets the Last-Mtime "header" when returning the data to

It's just a number stored in the index and if it's flagged as a date
property then it will be displayed as such.

If neither of those apply to you, you can also place the date in the
HTML file:

    <meta name="foo" content="1197297861" />

Then in your config file:

    Propertynamesdate foo

    $ swish-e -w not dkdkd -p foo -H0
    1000 s.html "title" 152 "2007-12-10 06:44:21 PST"

Bill Moseley

Unsubscribe from or help with the swish-e list:

Help with Swish-e:

Users mailing list
Received on Mon Dec 10 09:50:17 2007