Yo, how do I create my personal RSS feed ? Can Lenya manage this feed alone or do I have to create a script to update this feed ?
Thanks ----- Original Message ----- From: "Paul Friedman" <[EMAIL PROTECTED]> > Farhdine Boutzakhti wrote: > > >I don't know how I can create and import a RSS feed in my publication. > >I haven't find any documentation about this. > >I have only create a doctype for RSS, but I don't know how to update > >this document with my content. > > > (I am using a template approach rather than the aggregate approach of > the default pub - but the result should be very similar). > > The way I've done it is add an xinclude into the base template (or could > be an aggregate part or in the doctype template): > > <div id="rss"> > <xi:include href="http://www.someurl.com/rss.xml" /> > </div> > > Then in the publication-sitemap.xmap pipeline added the following: > > <map:transform type="xinclude"/> > <map:transform type="xslt" src="xslt/rss.xsl" /> > > Basically the xinclude will pull the rss xml into the page and with a > simple xsl transformation you can format the rss feed. > > You can see the result here: > http://demo.qwips.quoininc.com/live/index.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
