you can always do a <cms:query/> for the newest pages and then do a
<cms:loadPage/><cms:setNode/><cms:unloadPage/> to display a couple of
nodes from the page.
Ruben
Ducret, Gilles (CH) wrote:
Thanks.
I was thinking about that. I also wanted to know if couldn't have this
behaviour by default (each page being exported as RSS feed) because users want
to be informed when Intranet pages are being updated. I cannot imagine writing
a sub-template for each page.
I guess I will ask them to focus on some pages only and implement this
sub-template.
Regards
Gilles DUCRET * J2EE/Software Architect
Lloyds TSB International Private Banking
_________________________________
1 Place Bel-Air * P.O. Box 5145 * CH-1211 Geneva 1* Switzerland
Tel: +41 (0)22 307 32 29 Fax: +41 (0)22 307 30 43
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 29, 2008 9:58 AM
To: [email protected]
Subject: Re: [magnolia-user] Generating an RSS feed from a page
Hi Gilles,
You are working on the same issue of mine...
I think it is possible, of course, simply using JSP pages:
1) Keep silence <% %>
2) Load Content Node of the page
3) Prepare a JSTL var (arrays, what you want)
4) Using some XML Writer (or maybe writing plain XML) to produce your feed...
You can, for example, use the "sub-template" technique to have different behaviour for the same page:
- feed.html let user do the editing / visual reading
- feed.xml let user import the feed in a feed reader
This morning I work on this 4-step plan... let's see what happen :-)
Matteo
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED]
Sent: lunedì, 28. luglio 2008 14:30
To: [email protected]
Subject: [magnolia-user] Generating an RSS feed from a page
I have a question regarding the RSS feeds. We would like to generate RSS
feeds for some of our pages.
I have found in the documentation that this was made available by using
the Template Designer. Is it possible to do that without the template
designer?
We would like to have a feed on some pages so that all the new
paragraphs or updates are reflected by the feed
Many thanks in advance
Gilles
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/
----------------------------------------------------------------