April 2011 Archives

RSS and Atom feeds in Catalyst

The Catalyst cookbook provides two recommendations for adding RSS feeds to your application:

  • Create an XML template, populate the stash with data, let your template view render it, then override the Content-Type: header of your view with Catalyst::Response.
  • Use an XML::* feed module to render the XML, manually set the Catalyst::Res…
  • About Mark A. Stratman

    user-pic Perl developer, forever trapped in the DarkPAN