PDA

View Full Version : Feed Copier



ShareBuntu
March 29th, 2007, 03:17 AM
Hi there,

I'm looking for a CLI tool to input the URL of an xml feed for a blog and have it copy the URLs of links to the entries into a text file. I thought I'd post it here because there probably already exists such a program. Otherwise, what languages would be appropriate (best suited) for this?

lnostdal
March 29th, 2007, 08:28 AM
Almost any language will do. Python, Ruby, Lisp, Perl etc.

I'd probably use Common Lisp, and something like http://weitz.de/drakma/ and http://weitz.de/cl-ppcre/ to get hold of the links. Should be quite trivial to do. :)

ShareBuntu
March 29th, 2007, 05:02 PM
Almost any language will do. Python, Ruby, Lisp, Perl etc.

I'd probably use Common Lisp, and something like http://weitz.de/drakma/ and http://weitz.de/cl-ppcre/ to get hold of the links. Should be quite trivial to do. :)

Thanks for the reply. I think Python looks very promising. I'll have a look at the Universal Feed Parser. :)

Mr. C.
March 29th, 2007, 09:27 PM
The CPAN archive has many XML parsers available. Search http://search.cpan.org/ .

MrC