GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  XML::ATOM::EXT::OPENSEARCH (3)

.ds Aq ’

NAME

XML::Atom::Ext::OpenSearch - XML::Atom extension for OpenSearch data

CONTENTS

SYNOPSIS



    use XML::Atom::Feed;
    use XML::Atom::Ext::OpenSearch;
   
    my $feed = XML::Atom::Feed->new;
    $feed->totalResults( $total );



DESCRIPTION

This module is an extension to XML::Atom which will let you read and write feeds that use OpenSearch data. OpenSearch provides some extra elements to serialize search results as an Atom feed. See the specification (http://www.opensearch.org/Specifications/OpenSearch/1.1) for more information.

METHODS

totalResults( CW$results )

startIndex( CW$index )

itemsPerPage( CW$items )

    Query( )

In list context, returns all query elements in the document. In scalar context, returns the first query element found.

add_Query( CW$object )

    element_ns( )

Returns the opensearch namespace, http://a9.com/-/spec/opensearch/1.1.

AUTHOR

Brian Cassidy <bricas@cpan.org>

COPYRIGHT AND LICENSE

Copyright 2007-2011 by Brian Cassidy

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO

o XML::Atom
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 XML::ATOM::EXT::OPENSEARCH (3) 2011-07-05

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.