<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">Yeah, I totally spaced it.  I was spelling "Flavor" instead of "Flavour".<DIV><BR class="khtml-block-placeholder"></DIV><DIV>Silly english.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Adam</DIV><DIV><BR><DIV><DIV>On Jan 30, 2007, at 2:29 AM, Kieren Diment wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><BR><BR><DIV><SPAN class="gmail_quote">On 30/01/07, <B class="gmail_sendername">Adam Jacob</B> &lt;<A href="mailto:adam@stalecoffee.org">adam@stalecoffee.org</A>&gt; wrote:</SPAN><BLOCKQUOTE class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"> &gt;&gt; On top of that, I want things to also work by<BR>&gt;&gt; extension: .json, .atom,<BR>&gt;&gt; .rss etc. That's where C::P::Flavour enters the picture.<BR><BR>I thought about that.  I have never seen Catalyst::Plugin::Flavour <BR>(it doesn't look like it has a CPAN release, nor is it in the<BR>Catalyst repo.)  Currently, C::A::REST supports using a content-type<BR>argument on GET requests to over-ride the serializer.  It would be<BR>pretty simple to just add the logic for the extension mapping to work <BR>as well</BLOCKQUOTE><DIV><BR><BR>um <A href="http://search.cpan.org/author/TYPESTER/Catalyst-Plugin-Flavour-0.03/lib/Catalyst/Plugin/Flavour.pm">http://search.cpan.org/author/TYPESTER/Catalyst-Plugin-Flavour-0.03/lib/Catalyst/Plugin/Flavour.pm </A><BR><BR>and <BR><BR><A href="http://www.catalystframework.org/calendar/2006/20">http://www.catalystframework.org/calendar/2006/20</A> <BR></DIV><BR></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">_______________________________________________</DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">List: <A href="mailto:Catalyst@lists.rawmode.org">Catalyst@lists.rawmode.org</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Listinfo: <A href="http://lists.rawmode.org/mailman/listinfo/catalyst">http://lists.rawmode.org/mailman/listinfo/catalyst</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Searchable archive: <A href="http://www.mail-archive.com/catalyst@lists.rawmode.org/">http://www.mail-archive.com/catalyst@lists.rawmode.org/</A></DIV><DIV style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">Dev site: <A href="http://dev.catalyst.perl.org">http://dev.catalyst.perl.org</A>/</DIV> </BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>