Mike Cannon-Brookes wrote:
>
> > > I then started to think about what cool things could come from this. We
> > > can take multiple RSS channels and 'blend' them into one channel. So
> > > for the 'cool-computer-news' site we could blend:
> > >
> > > Slashdot
> > > xmlhack
> > > Freshmeat
> > > xml.apache.org
> > > Mozilla
> > >
> > > Then as each RSS channel is updated the <items> would be blended into on
> > > large RSS channel and XSLTd into a Portlet. The result would be a new
> > > unique website with content from each site sorted into a new RSS
> > > channel.
> > >
> >
> > Actually this can be done with the current Jetspeed :
> > - define an OCS feed with all the channels you want to agregate
> > named myfeeds.ocs
> > - define a new protletregistry entry:
> >
> > <portlet type="ref" paranet="Cocoon" name="MyFeeds">
> > <url>/content/myfeeds.ocs</url>
> > <parameter name="stylesheet" name="mystylesheet.xsl">
> > </portlet>
> >
> > by using the document(...) function in mystylesheet.xsl you can
> > agregate all the referred URLs and output whatever you like...
> >
> > Implementation is left as an exercise to the reader... (you can of
> > course contribute this to the project) :P
> >
>
> How would you get the items to render any other way than linearly?
>
> eg Slashdot, Slashdot, Slashdot, xmlhack, xmlhack, xmlhack, freshmeat,
> freshmeat, freshmeat... etc
>
You can always order by global item/title, you can also rely on RDF attributes
of the OCS feed for grouping channels and them ordering by item/title among
those channels...
Introducing item timestamps is better but require the use of another DTD or
some programming to diff the incoming RSS files.
--
Rapha�l Luta - [EMAIL PROTECTED]
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]