James,
It got put on the backburner - but eventually I will need to do it. I
guess we'll be in a game of chicken here to see who has to implement
it first! :)
I wont probably touch it for another month or two. Depends on how
priorities shift around in the project I'm working on. I'll let you
know if I do get it working though.
Ryan
On Oct 17, 2007, at 11:47 AM, James Reynolds wrote:
Ryan,
Did you get this set up? I will eventually need to do the same
thing (create RSS template).
James
On Oct 1, 2007, at 10:42 PM, Ryan Gardner wrote:
I'm looking to develop an RSS feed for Magnolia 3 CE. (Yes, I know
the EE has this functionality)
It seems like it is actually quite trivial to do in Magnolia -
anyone done this in CE? I can make a wiki page once I have it
done, but thought I would run my idea here first to see if there
are any problems you see with it.
First - build a JSP template that will spit out the RSS XML -
here's an example JSP that does RSS (just not with Magnolia
content) -
http://www.javareference.com/jrexamples/viewexample.jsp?id=117
Second - map a MIME type to the template that will have the server
serve it up as text / XML
http://www.magnolia.info/wiki/Wiki.jsp?page=CreatingXMLOutput
Third -
If you want to have all pages of a certain template have RSS feed
implementations - map the templates based on their extensions:
http://www.magnolia.info/wiki/Wiki.jsp?
page=ChoosingTemplateBasedOnExtension
(that last one says it is only valid for v20 and v21 - would the
subtemplate method work in 3?)
What I like about this approach is that it makes it possible to
really define what exactly you want to be included in the RSS feed
at a low level. I'm only planning to use this on one section of a
site I am working on - a "news" section. There isn't much else
that would make sense to have an RSS feed for.
Ryan
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------
----------------------------------------------------------------
for list details see
http://documentation.magnolia.info/docs/en/editor/stayupdated.html
----------------------------------------------------------------