newsfire_export.rb 1.0

This post was written on 2006/01/19 at 07:05:57 by Horst Gutmann

Ok, here's the promised export for NewsFire ;) First of all, you'll need Patrick May's plist parser for Ruby which has to be somewhere in your $RUBYLIB. For details on how to install and use the script and its requirements, please read the README.markdown I've bundled with the script :)

I've tested the whole thing and at least for me it works. If you have any problems or find any bugs in this version please comment to this post instead of mailing me :)

[Download](http://www.zerokspot.com/uploads/newsfire_export-1.0.tar.bz2)

Comments:

  • armin (Guest)

    Hi, I really looked forward for this small tool, when you first annonced it, and I am very pleased, that you put you time and efforts up to write it. So I downloaded the two Ruby scripts (plist.rb and newsfire_export.rb), put them into a folder, added the folder's path to $RUBYLIB and tried to run the app. First i got an error: "ruby: No such file or directory -- newsfire_export.rb (LoadError)" but when I ran the command "ruby newsfire_export.rb [HTML_REMOVED] feeds.opml" this error got away and an other came by: newsfire_export.rb:164:in to_opml': undefined methodupcase' for nil:NilClass (NoMethodError) from newsfire_export.rb:164:in sort' from newsfire_export.rb:164:into_opml' from newsfire_export.rb:149:in to_s' from newsfire_export.rb:202:inputs' from newsfire_export.rb:202

    Now, i don't know how I can fix it, maybe you know, something about the error message. Best regards, Armin

    Jan. 19, 2006, 7:24 p.m.

  • zerok

    You don't have to change the $RUBYLIB if you put both files into the folder :)

    When executing ruby newsfire_export.rbyou have to be in the folder where you put the newsfire_export.rb file ;)

    The error indicates that you have a group or a feed without a name. The script requires this though to be able to sort the output feeds.

    Jan. 19, 2006, 7:28 p.m.

*'d input fields are required.