root/WWW-OpenSearch/branches/WWW-OpenSearch-rewrite/README

Revision 1802 (checked in by bricas, 15 years ago)

Initial Import of rewrite branch

Line 
1 NAME
2     WWW::OpenSearch - Search A9 OpenSearch compatible engines
3
4 SYNOPSIS
5       use WWW::OpenSearch;
6
7       my $url = "http://bulkfeeds.net/opensearch.xml";
8       my $engine = WWW::OpenSearch->new($url);
9
10       my $name = $engine->ShortName;
11       my $tags = $engine->Tags;
12
13       my $feed = $engine->search("iPod");
14       for my $item (@{$feed->items}) {
15           print $item->{description};
16       }
17
18       # page through page 2 with 20 items in each page
19       # Note that some engines don't allow changing these values
20       $engine->pager->entries_per_page(20);
21       $engine->pager->current_page(2);
22       my $feed = $engine->search("iPod");
23
24 BETA
25     This module is in beta version, which means its API interface and
26     functionalities may be changed in future releases.
27
28 DESCRIPTION
29     WWW::OpenSearch is a module to search A9's OpenSearch compatible search
30     engines. See http://opensearch.a9.com/ for details.
31
32 AUTHOR
33     Tatsuhiko Miyagawa <miyagawa@bulknews.net>
34
35     This library is free software; you can redistribute it and/or modify it
36     under the same terms as Perl itself.
37
38 SEE ALSO
39     XML::Simple, XML::RSS, Data::Page, LWP
40
Note: See TracBrowser for help on using the browser.