On Sun, Dec 09, 2007 at 11:23:27PM +0100, Louis-David Mitterrand wrote:
> Hi,
>
> On http://www.lesculturelles.net/search.md 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
(spider.pl sets the Last-Mtime "header" when returning the data to
swish).
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
moseley@hank.org
Unsubscribe from or help with the swish-e list:
http://swish-e.org/Discussion/
Help with Swish-e:
http://swish-e.org/current/docs
_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Mon Dec 10 09:50:17 2007