Re: [Catalyst] Tweaking REST

2007-01-30 Thread Christopher H. Laco
Adam Jacob wrote: On Jan 29, 2007, at 12:19 PM, Christopher H. Laco wrote: Christopher H. Laco wrote: I'm needing to support RSS/Atom feeds of some of my cart/wishlist data. The lazy guy in me says I can just make a view or two and be done with it (Thanks for the code LTjake!). The anal

Re: [Catalyst] Tweaking REST

2007-01-30 Thread Christopher H. Laco
There are still some issues with using views, mainly that they both fight of setting content-type...and since REST sets it already, the view never sets it, which is good, but also the charset=utf isn't set either... Just to solidify that statement... __load_content_plugins sets the response

Re: [Catalyst] Tweaking REST

2007-01-30 Thread Adam Jacob
On Jan 30, 2007, at 7:13 AM, Christopher H. Laco wrote: There are still some issues with using views, mainly that they both fight of setting content-type...and since REST sets it already, the view never sets it, which is good, but also the charset=utf isn't set either... Just to solidify

Re: [Catalyst] Tweaking REST

2007-01-30 Thread Adam Jacob
Yeah, I totally spaced it. I was spelling Flavor instead of Flavour. Silly english. Adam On Jan 30, 2007, at 2:29 AM, Kieren Diment wrote: On 30/01/07, Adam Jacob [EMAIL PROTECTED] wrote: On top of that, I want things to also work by extension: .json, .atom, .rss etc. That's where

Re: [Catalyst] Tweaking REST

2007-01-29 Thread Christopher H. Laco
Christopher H. Laco wrote: I'm needing to support RSS/Atom feeds of some of my cart/wishlist data. The lazy guy in me says I can just make a view or two and be done with it (Thanks for the code LTjake!). The anal retentive programmer in me says I probably really want to use C::A::REST to get

Re: [Catalyst] Tweaking REST

2007-01-29 Thread Adam Jacob
On Jan 29, 2007, at 12:19 PM, Christopher H. Laco wrote: Christopher H. Laco wrote: I'm needing to support RSS/Atom feeds of some of my cart/wishlist data. The lazy guy in me says I can just make a view or two and be done with it (Thanks for the code LTjake!). The anal retentive programmer