cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefano Mazzocchi <stef...@apache.org>
Subject Re: [provocative] crushing userland
Date Fri, 22 Feb 2002 17:04:24 GMT
Kimbro Staken wrote:
> 
> On Friday, February 22, 2002, at 01:16 AM, Ugo Cei wrote:
> 
> > Stefano Mazzocchi wrote:
> >
> >> Anyway, can't we *directly* use RSS for blogs? is much more semantic
> >> than OPML anyway.
> >
> > You asked for it, you got it. My "embryo-of-a-blog"
> > (http://violetta.cbim.it/cocoon/mount/beeb/) now uses RSS 1.0.
> >
> > You can also get the raw RSS feed by clicking on the little "XML" button
> > in the bottom right.
> >
> > I have a problem now. I want to limit the entries displayed in the
> > homepage to the 20 most recent or so. I could do it in XSLT but it would
> > be horrible performance-wise as the numner of entries grows. I really
> > need to sort the entries in reverse date order and retrieve only the
> > first N items in the collection and do it in the XMLDB source. Ideas
> > anyone?
> >
> 
> We need a richer language then XPath to do that. It will come with XQuery,
>   but it's a long way off. We'll need to figure something out in the short
> term, but I'm not sure what. XSL-T is probably the best solution today. To
> keep the size of the result set down you might need to limit the query to
> just retrieving the last 7 days of posts or something along those lines.
> Not ideal, I know.

Scott was goint to implement XPointer ranges into the Xalan XPath
engine.

That would work.

-- 
Stefano Mazzocchi      One must still have chaos in oneself to be
                          able to give birth to a dancing star.
<stefano@apache.org>                             Friedrich Nietzsche
--------------------------------------------------------------------

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message