Roger Stupf 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


I can't see any feed on this page. Is it somewhere below? Could you give the URL?

Thank you very much!

Roger

My bad - I thought that the o.p. wanted to bring a feed onto the page - not generate a feed out. This page shows a simple section on the right which displays a newlaw blog feed in the right column.

There is no outgoing feed on the page. Sorry - I may have misunderstood the original poster.


begin:vcard
fn:Paul Friedman
n:Friedman;Paul
adr:Suite 401;;200 Lincoln Str.;Boston;MA;02111;United States of America
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;cell:248.417.5453
x-mozilla-html:FALSE
url:http://www.quoininc.com/
version:2.1
end:vcard

No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.322 / Virus Database: 267.0.0 - Release Date: 5/27/2005

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to