Hello, I am trying to parse the content of a flickr feed like this:
http://www.flickr.com/services/feeds/photos_public.gne?tags=colorful&format=rss_200 whose structure is: ... <item> <title>Morning boats</title> <link>http://www.flickr.com/photos/jazoni/484900334/</link> ... More in detail I want to extract title link and thumbnail of each item. I exploit the wonderful each() functionality: $("item").each ( function() { var titleTag = $(this).find("title")[0]; var pictureTitle= titleTag.firstChild.nodeValue; so far so good, I get 'Morning Boats' as a value. I would do the same for the link var linkTag = $(this).find("link")[0]; var pictureUrl = linkTag.firstChild.nodeValue; but it doesn't work. Experimenting I solved with a: var pictureUrl = linkTag.nextSibling.nodeValue; but to me it is very strange. Isn't it? Any hint? -c.