[thelist] RSS 1.0 Parser in Perl

shawn allen shawn at alterior.net
Wed Nov 13 14:06:00 CST 2002


quoth Aaron Cole:
> Does anyone know of an RSS Parser written in Perl that supports 9.x
> and 1.0?  I've been using RSS Monkey written by Ben Brown but found
> that it doesn't support 1.0.
>
> I need something just like RSS Monkey that is written in Perl and is a
> stand alone script.  I'll be posting this to a server at work and the
> IT people don't have a PHP environment set up and are not interested
> in doing  so.

<http://search.cpan.org/search?query=RSS&mode=module>

There are a couple modules listed there for parsing and creating RSS
documents. None of the modules are "standalone scripts", though. If you
can't install them in the default perl include path, you can always use
the lib pragma to include modules locally. For instance, if you've
placed XML::RSS in the "lib" directory alongside your script:

#!/usr/bin/perl
use lib qw(lib);
use XML::RSS
    or die("Couldn't find XML::RSS: $!\n");

XML::RSS in particular depends on XML::Parse, but there may be other
modules that don't have any dependancies. Regardless, it's pretty
trivial to build and install modules wherever you want. Your IT people
should be happy to do this for you if it's too intimidating :)

--
shawn allen
  e: shawn at alterior.net
  p: 415 577 3961
  im: shawnpallen



More information about the thelist mailing list