<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://labs.echoditto.com" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>EchoDitto Labs - namespace - Comments</title>
 <link>http://labs.echoditto.com/taxonomy/term/168</link>
 <description>Comments for &quot;namespace&quot;</description>
 <language>en</language>
<item>
 <title>That empty array index is</title>
 <link>http://labs.echoditto.com/feedapi-and-bliptv#comment-3943</link>
 <description>&lt;p&gt;That empty array index is actually a namespace URL... for RSS 2.0. Since RSS 2.0 doesn&#039;t have a namespace, and SimplePie does a lot of indexing with namespaces, that&#039;s just how it ended up coming out. :(&lt;/p&gt;
</description>
 <pubDate>Sat, 03 May 2008 12:48:42 -0700</pubDate>
 <dc:creator>Ryan Parman</dc:creator>
 <guid isPermaLink="false">comment 3943 at http://labs.echoditto.com</guid>
</item>
<item>
 <title>Thanks for the thoughtful</title>
 <link>http://labs.echoditto.com/feedapi-and-bliptv#comment-3910</link>
 <description>&lt;p&gt;Thanks for the thoughtful reply, Ryan.  I don&#039;t mean to just bitch about SimplePie, although I&#039;m sure that&#039;s how it came off -- SP really is a great project.  And in fact the sanitization I complained about is not happening in SimplePie: it&#039;s definitely Drupal that&#039;s killing the data somewhere along the way.&lt;/p&gt;
&lt;p&gt;It&#039;s interesting to hear that the custom tag data is already available in the [data] object of... the parser?  I definitely did a print_r on the item objects, and thought I probably would&#039;ve done the same for the parser.  Perhaps I forgot to.  It&#039;s definitely not available in the item object, though, which seems like the logical place for it.&lt;/p&gt;
&lt;p&gt;In any case, I do have to stick by my complaint about the variability of the data structures returned by the custom-tag-grabbing routine, particularly when retrieving an item with nested subelements.  Check out how you access an FLV included by the widely-supported MediaRSS namespace:&lt;/p&gt;
&lt;p&gt;$item[0][&#039;child&#039;][&#039;http://search.yahoo.com/mrss/&#039;][&#039;content&#039;][0][&#039;attribs&#039;][&#039;&#039;][&#039;url&#039;]&lt;/p&gt;
&lt;p&gt;Using an empty string to index an array is pretty awful.  Ick.&lt;/p&gt;
</description>
 <pubDate>Mon, 24 Mar 2008 09:07:31 -0700</pubDate>
 <dc:creator>Tom</dc:creator>
 <guid isPermaLink="false">comment 3910 at http://labs.echoditto.com</guid>
</item>
</channel>
</rss>
