Skip to main content.
home | support | download

Back to List Archive

Re: using DC.Date.modified for swishlastmodified property

From: Michael Peters <mpeters(at)not-real.plusthree.com>
Date: Thu Jul 21 2005 - 13:42:44 GMT
Peter Karman wrote:
> 
> Peter Farmer scribbled on 7/20/05 9:35 PM:
> 
> 
>>Hi,
>>
>>Can anyone confirm that if I want to use an alternative HTML metadata 
>>element (in this case the Dublin Core Date.modified element) as the 
>>swishlastmodified property for an indexed  document (via 
>>ProperyNameAlias) that the only encoding scheme that will work is 
>>'seconds since the UNIX epoch' ?
>>
> 
> 
> Yes. see http://swish-e.org/archive/2002-08/4374.html
> 
> 
> 
> 
>>Is there a recommended way to extend swish-e cleanly to do the 
>>conversion or do I have to modify core swish-e code to enable detection 
>>of W3C-DTF date metadata  and convert it to unix epoch format ?
>>Or would it be better idea to extend the spider to preconvert the 
>>DC.Date.modified values before passing to swish-e ?
> 
> 
> the last: pass in the epoch value via spider.

Or you could just index the DC.Date.modified as an extra property and
use that where ever you want. Is there a particular reason that you need
it to be named swishlastmodified ? Something like

MetaNames DcDateModified
PropertyNames DcDateModified

-- 
Michael Peters
Developer
Plus Three, LP
Received on Thu Jul 21 06:43:41 2005