Transfer all the google feed URLs to rss2email.

Next step in restoring my settings was to get the working rules and all the blogs into rss2email. I have subscribed to more than 150 blogs. So, adding all of them manually was difficult.

For a time like this, I subscribe to all the blogs using google reader and then add them to rss2email. So I had quickly exported the google feeds list and then had to find a way to extract the URLs for the blog to the rss2email. The command to add a url is r2e add, so I wrote this one line just now to do the task for me.

Hope it helps someone:

for i in $(cat google-reader-subscriptions.xml |grep xmlUrl|sed -e \’s@.*xmlUrl=\”\\(.*\\) .*@\\1@\’|sed -e \’s/\”//\’); do r2e add $i; done

Now all I needed to do was to setup procmail again to deliver the messages to my homedir. I already have posted article on procmailrc so that was simple. So all done. Hope this helps someone.

2 thoughts on “Transfer all the google feed URLs to rss2email.”

  1. I visit this website every now and then from my RSS reader and always find something useful. Try to keep us up-to-date with more good subject matter – I run a lot of sites and I know how you can be affected by procrastinating, writer’s block, not enough time…but excellent site nonetheless.

This site uses Akismet to reduce spam. Learn how your comment data is processed.