[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
> > And what about those RSS feeds that put all the content in the feed,
> > such as the Radio cloud. Is the RSS file expected to be read top down or
> > bottom up?
The tools and libraries I've used (e.g. XML::RSS) tend to parse top down.
Note: In RSS 1.0, order is explicit using an RDF Seq(uence), thusly:
<items>
<rdf:Seq>
<rdf:li resource="http://xml.com/pub/2000/08/09/xslt/xslt.html" />
<rdf:li resource="http://xml.com/pub/2000/08/09/rdfdb/index.html" />
</rdf:Seq>
</items>
This is analagous to the HTML ordered list:
<ol>
<li>First</li>
<li>Second</li>
</ol>
So, while this still doesn't tell you whether the person is going in
chronological, reverse chronological, or some other order, it does tell you
the order in which they'd prefer the items to appear.
> > The reason I'm asking is that I'm experimenting with aggregating a
> > number of feeds into a database and want to read them out last in first
> > out.
Radio Userland, Meerkat, Manila (using the News feature), et al adopt the
same philosophy. Amphetadesk, Slashboxes, and the like also read top-down
and seem to assume latest at the top and oldest falling off the bottom.
Hope this helps.
Rael