Guillaume Rousse > WWW-Orphea > WWW::Orphea

Download:
WWW-Orphea-0.3.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.3.3   Source  

NAME ^

WWW::Orphea - Orphea Agent

VERSION ^

Version 0.3.3

DESCRIPTION ^

This module may be used search images on an Orphea web server, a Digital Asset Management (DAM) software suite published by Algoba Systems (http://www.algoba.com/public/orphea.pgi). Its interface is adapted from WWW::Google::Images, itself inspired from WWW::Google::Groups.

SYNOPSIS ^

    use WWW::Orphea;

    $agent = WWW::Orphea->new(
        server => 'my.orphea.server',
        proxy  => 'my.proxy.server:port',
    );

    $result = $agent->search('flowers', limit => 10);

    while ($image = $result->next()) {
        $count++;
        print $image->content_url();
        print $image->legend();
        print $image->save_content( base => 'image' . $count);
    }

Constructor ^

new(%args)

Creates and returns a new WWW::Google::Images object.

Optional parameters:

server => $server

use $server as server.

proxy => $proxy:$port

use $proxy as proxy on port $port.

$agent->search($query, %args);

Perform a search for $query, and return a WWW::Google::Images::SearchResult object.

Optional parameters:

limit => $limit

limit the maximum number of result returned to $limit.

COPYRIGHT AND LICENSE ^

Copyright (C) 2004-2006 INRIA.

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

AUTHOR ^

Guillaume Rousse <grousse@cpan.org>

syntax highlighting: