HTML::RSSAutodiscovery - methods for retreiving RSS-ish information from an HTML document.
use HTML::RSSAutodiscovery; use Data::Dumper; my $url = "http://www.diveintomark.org/"; my $html = HTML::RSSAutodiscovery->new(); print &Dumper($html->parse($url)); # Mark's gone a bit nuts with this and # the list is too long to include here...
Methods for retreiving RSS-ish information from an HTML document.
Object constructor. Returns an object. Woot!
Parse an HTML document and return RSS-ish <link> information.
$arg may be either:
An HTML string, passed as a scalar reference.
A URI.
Returns an array reference of hash references whose keys are :
title
type
rel
href
1.0
June 03, 2002
Aaron Straup Cope
http://diveintomark.org/archives/2002/05/30.html#rss_autodiscovery
Copyright (c) 2002, Aaron Straup Cope. All Rights Reserved.
This is free software, you may use it and distribute it under the same terms as Perl itself.
To install HTML::RSSAutodiscovery, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HTML::RSSAutodiscovery
CPAN shell
perl -MCPAN -e shell install HTML::RSSAutodiscovery
For more information on module installation, please visit the detailed CPAN module installation guide.