README
1NAME
2 XML::Atom::Ext::OpenSearch - XML::Atom extension for OpenSearch data
3
4SYNOPSIS
5 use XML::Atom::Feed;
6 use XML::Atom::Ext::OpenSearch;
7
8 my $feed = XML::Atom::Feed->new;
9 $feed->totalResults( $total );
10
11DESCRIPTION
12 This module is an extension to XML::Atom which will let you read and
13 write feeds that use OpenSearch data. OpenSearch provides some extra
14 elements to serialize search results as an Atom feed. See the
15 specification (http://www.opensearch.org/Specifications/OpenSearch/1.1)
16 for more information.
17
18METHODS
19 totalResults( $results )
20 startIndex( $index )
21 itemsPerPage( $items )
22 Query( )
23 In list context, returns all query elements in the document. In scalar
24 context, returns the first query element found.
25
26 add_Query( $object )
27 element_ns( )
28 Returns the opensearch namespace, "http://a9.com/-/spec/opensearch/1.1".
29
30AUTHOR
31 Brian Cassidy <bricas@cpan.org>
32
33COPYRIGHT AND LICENSE
34 Copyright 2007-2011 by Brian Cassidy
35
36 This library is free software; you can redistribute it and/or modify it
37 under the same terms as Perl itself.
38
39SEE ALSO
40 * XML::Atom
41
42