<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Powerful, easy, DRY, multi-format REST APIs: Part 2</title>
	<atom:link href="http://www.coffeepowered.net/2009/02/16/powerful-easy-dry-multi-format-rest-apis-part-2/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coffeepowered.net/2009/02/16/powerful-easy-dry-multi-format-rest-apis-part-2/</link>
	<description>code and content</description>
	<lastBuildDate>Tue, 12 Jan 2010 03:36:39 -0700</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Amitava</title>
		<link>http://www.coffeepowered.net/2009/02/16/powerful-easy-dry-multi-format-rest-apis-part-2/comment-page-1/#comment-248</link>
		<dc:creator>Amitava</dc:creator>
		<pubDate>Fri, 28 Aug 2009 20:47:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.coffeepowered.net/?p=117#comment-248</guid>
		<description>Does it also work with Nokogiri as XmlMini.backend? I have a xml builder that contains cdata sections and when converted to json or yaml the content wrapped within cdata is returned as &#039;#cdata_section&#039;.

JSON:
&lt;code&gt;
{&quot;items&quot;: {&quot;item&quot;: [{&quot;title&quot;: {&quot;#cdata_section&quot;: null}, &quot;id&quot;: &quot;2&quot;, &quot;description&quot;: {&quot;#cdata_section&quot;: null}}, {&quot;title&quot;: {&quot;#cdata_section&quot;: null}, &quot;id&quot;: &quot;4&quot;, &quot;description&quot;: {&quot;#cdata_section&quot;: null}}]}}
&lt;/code&gt;

YAML:
&lt;code&gt;
--- 
items: 
  item: 
  - title: 
      &quot;#cdata_section&quot;: 
    id: &quot;2&quot;
    description: 
      &quot;#cdata_section&quot;: 
  - title: 
      &quot;#cdata_section&quot;: 
    id: &quot;4&quot;
    description: 
      &quot;#cdata_section&quot;: 
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Does it also work with Nokogiri as XmlMini.backend? I have a xml builder that contains cdata sections and when converted to json or yaml the content wrapped within cdata is returned as &#8216;#cdata_section&#8217;.</p>
<p>JSON:<br />
<code><br />
{"items": {"item": [{"title": {"#cdata_section": null}, "id": "2", "description": {"#cdata_section": null}}, {"title": {"#cdata_section": null}, "id": "4", "description": {"#cdata_section": null}}]}}<br />
</code></p>
<p>YAML:<br />
<code><br />
---<br />
items:<br />
  item:<br />
  - title:<br />
      "#cdata_section":<br />
    id: "2"<br />
    description:<br />
      "#cdata_section":<br />
  - title:<br />
      "#cdata_section":<br />
    id: "4"<br />
    description:<br />
      "#cdata_section":<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Heald</title>
		<link>http://www.coffeepowered.net/2009/02/16/powerful-easy-dry-multi-format-rest-apis-part-2/comment-page-1/#comment-104</link>
		<dc:creator>Chris Heald</dc:creator>
		<pubDate>Mon, 16 Feb 2009 19:19:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.coffeepowered.net/?p=117#comment-104</guid>
		<description>The biggest improvement is that the method signature is forward-compatible. It works beautifully with Rails 2.2 and 2.3, which is nice, of course.

I added the as_json and as_yaml options as well, which make for easy output of things like record errors in their pre-existing #to_xml format.

I haven&#039;t tried using rfeedparser, but from reading up on it, it seems that the latest versions expect libxml-ruby, so stuff should work fine. What problems have you run into?</description>
		<content:encoded><![CDATA[<p>The biggest improvement is that the method signature is forward-compatible. It works beautifully with Rails 2.2 and 2.3, which is nice, of course.</p>
<p>I added the as_json and as_yaml options as well, which make for easy output of things like record errors in their pre-existing #to_xml format.</p>
<p>I haven&#8217;t tried using rfeedparser, but from reading up on it, it seems that the latest versions expect libxml-ruby, so stuff should work fine. What problems have you run into?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Julien</title>
		<link>http://www.coffeepowered.net/2009/02/16/powerful-easy-dry-multi-format-rest-apis-part-2/comment-page-1/#comment-103</link>
		<dc:creator>Julien</dc:creator>
		<pubDate>Mon, 16 Feb 2009 16:13:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.coffeepowered.net/?p=117#comment-103</guid>
		<description>Thanks Chris for this! I used the last version... what are the improvments with this one? 

Also, I have tried to switch to libxml and faster_xml_simple ... however, this gems just don&#039;t work with rfeedparser gem, that we need to use in our apps. Any tips here?</description>
		<content:encoded><![CDATA[<p>Thanks Chris for this! I used the last version&#8230; what are the improvments with this one? </p>
<p>Also, I have tried to switch to libxml and faster_xml_simple &#8230; however, this gems just don&#8217;t work with rfeedparser gem, that we need to use in our apps. Any tips here?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
