Need some Help? Have a tip to share?

Email me at MacTipper@gmail.com, or, leave a comment!

Learn How to Win Free Stuff Online


4/23/08

Leopard Only: Export Mail's RSS Feeds

If you use Apple Mail as your RSS reader, then you might have noticed that there's no easy way to backup your RSS URLs. Well, somebody over at MacOSXHints.com wrote a simple shell script which will export your feed URLs to the shell. The script is:

IFS=$'\n';for i in $(find ~/Library/Mail/RSS/ -name "Info.plist");do grep "http://" $i | sed "s/.*\(http[^<]*\).*/\1/";done


This can be easily modified to export the URLs to a file called "Mail Feeds" on your desktop:

IFS=$'\n';for i in $(find ~/Library/Mail/RSS/ -name "Info.plist");do grep "http://" $i | sed "s/.*\(http[^<]*\).*/\1/" >> ~/Desktop/Mail\ Feeds.txt;done



If the command line isn't for you, I've written a simple applescript which allows you to either export to the clipboard or to a file. You can download it by clicking on this link.


If all this talk about RSS feeds has made you hungry for another one to subscribe to, then you can subscribe to the RSS feed for the MacTipper Blog.

8 comments:

Anonymous said...

The script worked perfectly - thanks!!

Alan said...

You have done a good thing..

Patrick Wall said...

Thanks for the info, but it threw some errors at me. I went through the sites and your app and made my own app to export all the mail rss feeds into an opml file since that's what I was looking for. Put the file up here.

the-sweet said...

Thank you for this! I've been experimenting with different ways to handle RSS for weeks now, and I've finally decided Apple Mail just isn't the way to do it. Thanks for making the transition easier!

ende said...

Patrick, thanks a lot, that's really useful. Unfortunately NetNewsWire wouldn't import that opml. I'm looking at the two formats (I exported my NNW feeds to opml for comparison) but I can't figure out what the difference could possibly be... except perhaps the /order/ of the attributes for each feed? Weird.

Anonymous said...

thanks a whole bunch! that worked greatly!

Anonymous said...

you're the one.

-.-- said...

Hi Patrick,
the link to your file doesnt seem to work anymore :(
Can you repost a link to your file?

Thanks!

Post a Comment

Subscribe Via Email!

Enter your email address:

Delivered by FeedBurner