Add Google Reader Feeds to rss2email

Jun 26, 2013

I’ve been experimenting with rss2email as a replacement for Google Reader. Here’s some ugly bash/python to use to get your XML feeds imported.

Get subscriptions.xml from your Reader dump available at Google Takeout, then put it in /tmp.

for feed in $(python -c "exec('from BeautifulSoup \
import BeautifulSoup as s\nfor f in [f[\"xmlurl\"]\
for f in s(open(\"/tmp/subscriptions.xml\")).findAl\
l(\"outline\") if f.has_key(\"xmlurl\")]:\n\tprint \
f')"); do r2e add $feed; done