Find RSS Feed Links With jQuery Posted on June 03, 2009 by Dave Fowler
This took me a little while to figure out so I thought I'd share. You can use a jQuery selector to find any RSS links on a page very easily.
The following line will return a list of the RSS link elements.
var link_elements = $('link[type="application/rss+xml"]');
The following snippet will create an array of all the urls to the RSS feeds on the page.
var links = [];
$('link[type="application/rss+xml"]').each(function() { links[links.length] = this.href; });