Skip to content

Instantly share code, notes, and snippets.

@trodrigues
Created May 31, 2013 20:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save trodrigues/5687822 to your computer and use it in GitHub Desktop.
Save trodrigues/5687822 to your computer and use it in GitHub Desktop.
Go to http://www.feedly.com/home#index and run this. It'll tell you how many feeds you have on feedburner. Now I just need to automate unsubscribing these and subscribing the original urls.
var burners = [];
var feedEls = document.querySelectorAll('#feedlyPage > div > div.cell > div');
Array.prototype.forEach.call(feedEls, function(val){
var feedUrl = val.getAttribute('data-uri').replace(/^subscription\/feed\//g, '');
//console.log(feedUrl)
if(/\.feedburner/g.test(feedUrl) || /\.feedproxy/g.test(feedUrl)){
burners.push(feedUrl)
}
});
console.log(feedEls.length, burners.length)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment