|
NAMEFeed::Find - Syndication feed auto-discoverySYNOPSISuse Feed::Find; my @feeds = Feed::Find->find('http://example.com/'); DESCRIPTIONFeed::Find implements feed auto-discovery for finding syndication feeds, given a URI. It (currently) passes all of the auto-discovery tests at http://diveintomark.org/tests/client/autodiscovery/.Feed::Find will discover the following feed formats:
USAGEFeed::Find->find($uri)Given a URI $uri, use a variety of techniques to find the feeds associated with that page. If $uri itself points to a feed (i.e., if the Content-Type of the response is a recognized feed type), returns $uri.Returns a list of feed URIs. The following techniques are used:
Feed::Find->find_in_html(\$html [, $base_uri ])Given a reference to a string $html containing an HTML page, uses the same techniques as described above in find to find the feeds associated with that page.If you know the URI of the page, you should provide it in $base_uri, so that relative links can be properly made absolute. Feed::Find will attempt to determine the correct base URI, but unless that URI is specified in the HTML itself (in a "<meta>" tag), you'll need to supply it yourself. Returns a list of feed URIs. LICENSEFeed::Find is free software; you may redistribute it and/or modify it under the same terms as Perl itself.AUTHOR & COPYRIGHTExcept where otherwise noted, Feed::Find is Copyright 2004 Benjamin Trott, ben+cpan@stupidfool.org. All rights reserved.
Visit the GSP FreeBSD Man Page Interface. |