HTML::RSSAutodiscovery - methods for retreiving RSS-ish information from an HTML document.


HTML-RSSAutodiscovery documentation  | view source Contained in the HTML-RSSAutodiscovery distribution.

Index


NAME

Top

HTML::RSSAutodiscovery - methods for retreiving RSS-ish information from an HTML document.

SYNOPSIS

Top

 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...

 # see the POD for the 'parse' method for
 # details of what it returns.

DESCRIPTION

Top

Methods for retreiving RSS-ish information from an HTML document.

PACKAGE METHODS

Top

__PACKAGE__->new()

Object constructor. Returns an object. Woot!

OBJECT METHODS

Top

$obj->parse($arg)

Parse an HTML document and return RSS-ish <link> information.

$arg may be either:

Returns an array reference of hash references whose keys are :

$obj->locate($uri,\%args)

Like the parse method, but will perform additional lookups, if necessary or specified.

Valid arguments are

Returns an array reference of hash references whose keys are :

VERSION

Top

1.21

DATE

Top

$Date: 2004/10/17 04:13:06 $

AUTHOR

Top

Aaron Straup Cope

SEE ALSO

Top

Because you shouldn't need all that white space to do cool stuff ;-)

http://diveintomark.org/archives/2002/05/30.html#rss_autodiscovery

http://diveintomark.org/archives/2002/08/15.html

http://diveintomark.org/projects/misc/rssfinder.py.txt

REQUIREMENTS

Top

BASIC

These packages are required to actually parse an HTML document or URI.

EMBEDDED

These packages are required to check the embedded links in a URI for RSS files. They are not loaded until run-time so they are not required for doing basic parsing

SYNDIC8

These packages are required to query the syndic8 servers for RSS files associated with a URI. They are not loaded until run-time so they are not required for doing basic parsing

LICENSE

Top

Copyright (c) 2002-2004, Aaron Straup Cope. All Rights Reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.


HTML-RSSAutodiscovery documentation  | view source Contained in the HTML-RSSAutodiscovery distribution.