If you're using the Javascript API, use feed.setResultFormat(google.feeds.Feed.MIXED_FORMAT); to retrieve the results along with their XML nodes. You can then use DOM methods and the Feeds API's getElementsByTagNameNS method to find your media:thumbnail element.
If, on the other hand, you're using the RESTful side of the API, you'll need to use the output=json_xml and parse the xmlString property for the result in an appropriate manner. Jeremy R. Geerdes Generally Cool Guy Des Moines, IA For more information or a project quote: [email protected] If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church! On Apr 27, 2012, at 12:40 PM, B1gJ4k3 wrote: > Hey everybody, > I've tried Googling around a bit and having found much, mainly because > I don't know how to phrase my question. > > I'm trying to use the Google Feed API to read a Flickr stream and just > display the thumbnail of my images, which is already at the perfect > size that I need to use it at (75 x 75). The problem is, the way the > Flickr feed is structured, that information is held in the > media:thumbnail node, rather than the description. > > My question, is, using the Google Feed API, how would I access that > specific media:thumbnail node in the feed? I can access the > description (content) just fine and I could probably write my own > function that would parse a thumbnail out of that, but there's got to > be an easier way to just pull the thumbnail out, right? > > Any help someone could provide would be much appreciated. Thanks! > > -- > You received this message because you are subscribed to the Google > Groups "Google AJAX APIs" group. > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected] > To view this message on the web, visit > http://groups.google.com/group/google-ajax-search-api?hl=en_US > For more options, visit this group at > http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en -- You received this message because you are subscribed to the Google Groups "Google AJAX APIs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] To view this message on the web, visit http://groups.google.com/group/google-ajax-search-api?hl=en_US For more options, visit this group at http://groups.google.com/group/google-ajax-search-api?hl=en?hl=en
