The Feeds API will populate the entry.link property with only one of the link elements in the feed. To get the others, you will need to get the feed in mixed format and use DOM methods to check the various link elements for the desired rel value.
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 Jul 31, 2012, at 1:27 AM, Jan Thiemen Postema wrote: > Hello, > I'm using feed API to build a jquery mobile app. Now I want to use a blogger > rss feed, but it has multiple link element in every item, with a different > rel element. (http://chinamadeit.blogspot.com/feeds/posts/default) I've got > this code now: > for (var i = 1; i <= articleLength ; i++) { > var entry = json.responseData.feed.entries[i-1]; > $('#link' + i).text(entry.link); > $('#comments' + i).text(entry.link); > } > > But now I want to have a way to select which link element it parses. I can't > figure out how to do this and I couldn't find anything online, so I hope > someone here is able to help me. > > Thanks in advance, > Jan Thiemen > > -- > 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 > https://groups.google.com/d/msg/google-ajax-search-api/-/N3oRtjngrc8J > 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
