Need some Help? Have a tip to share?

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

MacTipper Recommends Dropbox!


Dropbox is by far the most useful app I have ever had the pleasure of owning. Best of all, it's free! Check it out here!

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.

12 comments:

  1. The script worked perfectly - thanks!!
    ReplyDelete
  2. You have done a good thing..
    ReplyDelete
  3. 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.
    ReplyDelete
  4. 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!
    ReplyDelete
  5. 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.
    ReplyDelete
  6. thanks a whole bunch! that worked greatly!
    ReplyDelete
  7. you're the one.
    ReplyDelete
  8. Hi Patrick,
    the link to your file doesnt seem to work anymore :(
    Can you repost a link to your file?

    Thanks!
    ReplyDelete
  9. Merci beaucoup !
    ReplyDelete
  10. Worked perfectly!
    ReplyDelete
  11. This comment has been removed by a blog administrator.
    ReplyDelete
  12. This comment has been removed by a blog administrator.
    ReplyDelete

Note: Only a member of this blog may post a comment.

Subscribe Via Email!

Enter your email address:

Delivered by FeedBurner