Re: atom feed

Kimbro Staken <[email protected]> Wed, 25 Feb 2004 03:35:37 -0700
Newsgroups gmane.comp.web.syncato.general
Message-ID <[email protected]>
On Feb 25, 2004, at 12:34 AM, darryl wrote:

> darryl wrote:
>
>> I'm making an atom xsl stylesheet. I guess I have two qestions. atom 
>> has the concepts of
>> modified, issued, and created. We just have pubDate. modified and 
>> issued are MUST created
>> is MAY. Do we want to support both?
>>
>> Secondly. Atom requires a modifed date for the entire "feed" i'm 
>> struggling how to get this out of the xsl.
>> (how do i get the most recent pubDate?)
>> Any thoughts appreciated.
>>
>> -darryl
>>
> I guess it's easy enough to add a <modified> element manually when i 
> edit an entry and barring that
> just use a conditional to determine whether there's a modified element 
> or not and fall back to pubDate.
>
> But i'd still like to know if you would like to build a modified 
> element into syncato or not.

Yes, I've wanted to rework the date handling to support more detail.
>
> I also think i've figured out how to pick the top item off a sorted 
> list in xsl.

There's actually a global modified date stored in a document with a 
root of db-status. Any  modification to the database will update that 
document with the current date. It's used by the cache.

>
> cheers.
> darryl
>
> -- 
> http://randomthoughts.vandorp.ca/syncato/WK/blog
>
>
>
> -------------------------------------------------------
> SF.Net is sponsored by: Speed Start Your Linux Apps Now.
> Build and deploy apps & Web services for Linux with
> a free DVD software kit from IBM. Click Now!
> http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
> _______________________________________________
> Syncato-general mailing list
> Syncato-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
> https://lists.sourceforge.net/lists/listinfo/syncato-general
>
>
Kimbro Staken
Software, Consulting and Writing http://www.xmldatabases.org/



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click