WWW::Blog::Metadata::OpenSearch - OpenSearch Description Auto-Discovery
use WWW::Blog::Metadata; use WWW::OpenSearch; my $meta = WWW::Blog::Metadata->extract_from_uri($uri) or die WWW::Blog::Metadata->errstr; if (my $xml = $meta->opensearch_description) { my $opensearch = WWW::OpenSearch->new($xml); my $feed = $opensearch->search('blog'); ... } # When the site has multiple opensearch feeds: my @feeds = $meta->opensearch_description;
WWW::Blog::Metadata::OpenSearch is a WWW::Blog::Metadata plugin to find A9 OpenSearech Description Document 1.1 from XHTML links.
See http://opensearch.a9.com/spec/1.1/description/#autodiscovery for the Auto-Discovery spec of OpenSearch 1.1.
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
WWW::Blog::Metadata, WWW::OpenSearch, http://opensearch.a9.com/spec/1.1/description/#autodiscovery
To install WWW::Blog::Metadata::OpenSearch, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Blog::Metadata::OpenSearch
CPAN shell
perl -MCPAN -e shell install WWW::Blog::Metadata::OpenSearch
For more information on module installation, please visit the detailed CPAN module installation guide.