Example-4 Using a single XSLT stylesheet
In this example we turn off RSS normalisation, and use a single XSLT stylesheet to deal with all possible RSS feeds. As before we take inputs from the command line in the form of a URI of the RSS feed and a file location for the stylesheet. The actual Perl is largely as in the previous example.
To install XML::RSS::Tools, copy and paste the appropriate command in to your terminal.
cpanm
cpanm XML::RSS::Tools
CPAN shell
perl -MCPAN -e shell install XML::RSS::Tools
For more information on module installation, please visit the detailed CPAN module installation guide.