Re: Tapestry and RSS

"Howard M. Lewis Ship" <[email protected]>
Newsgroups gmane.comp.java.tapestry.devel
Message-ID <001701c2a25f$447f6e30$3dc41e42@howardczkz2sl3>
Shouldn't need a servlet, this is what Tapestry engine services are for.
You could define an rss service that returns text/xml (or whatever the
correct markup is).

----- Original Message -----
From: <[email protected]>
To: "Roberto Saccon" <[email protected]>; "Tapestry Developers"
<[email protected]>
Sent: Thursday, December 12, 2002 8:23 PM
Subject: Re: [Tapestry-developer] Tapestry and RSS


> hi,
>
> i wrote an RSS aggregator (http://flock.sourceforge.net/) that uses
> tapestry for presentation. parts of it should be easily reusable.
>
> Take a look at
>
http://flock.sourceforge.net/apidocs/net/sourceforge/flock/support/Rss091Exp
ort.html
>
> all you would need to is just implement two interfaces (as adapters for
> your own content), and pass it to this exporter, then spit out the result
> - see the last 5 lines here:
>
http://flock.sourceforge.net/xref/net/sourceforge/flock/webapp/FlockServlet.
html#70
>
> i'm sorry, but this part (exporting rss) has nothing to do with tapestry,
> it's just a plain servlet :)
>
>    viktor
>
>
> On Fri, 13 Dec 2002 10:47:36 +1000, "Roberto Saccon"
> <[email protected]> said:
> > Hi all
> >
> > I want to add a RSS (RDF Site Summary) generator to a Tapestry Webapp.
My
> > first idea was to create another servlet, and with Apache-Velocity to
> > fill
> > out an RSS template for each RSS request. But then I thaught, maybe
there
> > is
> > a way to do same with less hassle in Tapestry itself. Instead of filling
> > out
> > a html-template, just filling out an rss-template.
> > Has anybody done that before ? What needs to be configured, modified or
> > extended in Tapestry ? I need to eliminate the HTML headers. Or does
> > there
> > maybe even exist some "hidden pearl" in tapestry, wich facilates RSS
> > generation ?
> >
> > thanks in advance
> >
> > Roberto Saccon
> >
> >
> >
> >
> > -------------------------------------------------------
> > This sf.net email is sponsored by:
> > With Great Power, Comes Great Responsibility
> > Learn to use your power at OSDN's High Performance Computing Channel
> > http://hpc.devchannel.org/
> > _______________________________________________
> > Tapestry-developer mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/tapestry-developer
> >
> --
>
>   [email protected]
>
> --
> http://fastmail.fm - IMAP accessible web-mail
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:
> With Great Power, Comes Great Responsibility
> Learn to use your power at OSDN's High Performance Computing Channel
> http://hpc.devchannel.org/
> _______________________________________________
> Tapestry-developer mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/tapestry-developer
>



-------------------------------------------------------
This sf.net email is sponsored by:
With Great Power, Comes Great Responsibility 
Learn to use your power at OSDN's High Performance Computing Channel
http://hpc.devchannel.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.