Right, i dont know if this is a bug, or simply that i'm not doing things in
the correct manner, but here goes:

Using the

import com.adobe.xml.syndication.generic.*;

i'm loading this xml:
http://api.flickr.com/services/feeds/[EMAIL PROTECTED]&format=rss_200

var xml:XML = simpleLoader.loadXml();
_feedData = FeedFactory.getFeedByXML(xml);

Everything loads without throwing any errors, and the _feedData contains the
expected channels, items etc.

However:

Further inspection of the xml shows that each item contains a number of
nodes under a media namespace: (i've removed the data to conserve space in
this example)

   <item>
...
     <media:content url="blah" type="image/jpeg" height="180" width="240"/>
     <media:title></media:title>
     <media:text type="html"></media:text>
     <media:thumbnail url="http://blah"; height="75" width="75"/>
     <media:credit role="photographer"></media:credit>
     <media:category scheme="urn:flickr:tags"></media:category>
   </item>


Which is fine, looking through the RSS20Item there a mention about
"enclosures", so i'm assuming this is a generic way to handle these items.
However, the get "media" method returns null.

I really want to get the the thumbnail, now obviously i could charge in an
get it out with E4x but thats not the point......

I've had a look through the test fixtures and they dont contain any data
like this, so i just want to check with you guys before logging a feature
req.

Any ideas?


tia

keith
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to