NAME

WWW::Search::Easynews::Groups - class for searching for newsgroups at Easynews


SYNOPSIS

  use WWW::Search::Easynews::Groups;
  my $search = new WWW::Search("Easynews::Groups");


DESCRIPTION

Easynews.com is a subscription usenet-service. They have a website with archives of the last few days of binary-posts from many groups. This module is useless unless you have an account at Easynews.com.

This class is an Easynews specialization of WWW::Search. It handles making and interpreting Easynews searches


METHODS

user($uname)
Sets the username.

pass($password)
Sets the password.

Inherited from WWW::Search

See the WWW::Search manpage for more detailed information about these and other inherited funtions.

new($backend)
To create a new WWW::Search::Easynews::Groups object, call
    C<my $search = new WWW::Search('Easynews::Groups');>

native_query($search_string, \%hash_of_options)
This function sets up a query.

The first argument is a uri-escaped search-string. You can use the function WWW::Search::escape_query() for the uri-escaping. To search for groups that match either ``sounds'' or ``mp3'', the search-string must be ``sounds|mp3''. There is currently no way to search for groups that matches all words.

The second is a reference to a hash of options for the search. The hash of options is optional.

See OPTIONS for info about each option.


EXPORT

Nothing


AUTHOR

Trond Michelsen trondmm-perl@crusaders.no


SEE ALSO

the WWW::Search manpage and the WWW::SearchResult manpage