Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

10.4: Export OPML out of Safari RSS Web Browsers
Tiger only hintI wrote a script to export Safari's RSS's feeds to an OPML file. This allowed me to import the script into other news readers like bloglines. First, Download the ExportRss2Opml.sh script, and save the file somewhere. Then in the Terminal, run this command:
$ sh ExportRss2Opml.sh > safari.opml
The resulting safari.opml file will contain all your feeds.

[robg adds: I had to make the script executable first (chmod 755 ExportRss2Opml.sh), and when it ran, I got a message about an escape sequence being treated as a plain sequence. But it seemed to work as expected...]
    •    
  • Currently 2.33 / 5
  You rated: 2 / 5 (6 votes cast)
 
[19,992 views]  

10.4: Export OPML out of Safari RSS | 5 comments | Create New Account
Click here to return to the '10.4: Export OPML out of Safari RSS' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.4: Export OPML out of Safari RSS
Authored by: jgbell on Jul 15, '05 06:30:23PM

In order to run a script like this, one need not make it executable. Merely use a command-line sh, like this: "sh ./script.sh"

I, also, check a script first. Take a glance through it and see if there's anything obviously nasty. Then, before piping the output, I like to run it once to see the output.



[ Reply to This | # ]
10.4: Export OPML out of Safari RSS
Authored by: andyinindy on Jul 19, '05 11:38:15AM

I used the script to create an export of Safari's RSS feeds. The resultant safari.opml file looks like it is properly formatted, but Sage 1.3.5 refuses to import it, with the message "This does not appear to be an opml file".

Anyone else seeing this?



[ Reply to This | # ]
10.4: Export OPML out of Safari RSS
Authored by: sameerd on Jul 19, '05 06:36:01PM
Check to see if there are any strange characters in your OPML file that are not escaped properly. eg.
< > & ;  
The script should escape all of these properly, but maybe I overlooked something.

[ Reply to This | # ]
Automator Export of OPML from Safari
Authored by: sameerd on Oct 21, '05 05:54:05AM
I have updated the shell script with an automator action. So now you can get your feeds just by double clicking on an application. Download it from this webpage.

[ Reply to This | # ]
10.6: Export OPML out of Safari RSS
Authored by: TyShkan on May 31, '10 04:08:43AM