NAME

WWW::Blog::Metadata::OpenSearch - OpenSearch Description Auto-Discovery

SYNOPSIS

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;

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.

AUTHOR

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.

SEE ALSO

WWW::Blog::Metadata, WWW::OpenSearch, http://opensearch.a9.com/spec/1.1/description/#autodiscovery