Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

www::topica(3pm) [debian man page]

WWW::Topica(3pm)					User Contributed Perl Documentation					  WWW::Topica(3pm)

NAME
WWW::Topica - read emails from a Topica mailing list SYNOPSIS
my $topica = WWW::Topica->new( list => 'mylist', login => 'mylogin', password => 'mypass' ); while (my $mail = $topica->mail) { Email::LocalDelivery->deliver($mail, 'mylist.mbox'); } DESCRIPTION
This module screen scrapes the Topica website and fetches back RFC822 text representations of all the mails posted to a given list. Where possible it fills in the from, to and date fields. It should be noted that in some cases it's impossible to get both the sender name and their email address. METHODS
new Takes three options, the list name, your login account and your password; You can also pass in "local" and "debug". "debug" will print out various debugging messages whereas "local" will use local files for testing. "local" automatically sets "debug" to 1 unless debug is explicitly set to 0. Furthermore if you pass in a "first" option the parsing will start from that offset. A "last" lets you set an upper bound. mail Returns a mail at a time Logs in automatically. login Logs in to Topica and stashes the cookie. Called automatically by the first call to "mail". Builds the loader automatically. fetch_index <offset> Retrieve the html of the index page with the given offset. fetch_mail <id> Retrieve the html of a the message page with the given id. fetch_reply <id> <eto> Retrieve the html of a the reply page with the given id and eto. build_rfc822 <WWW::Topic::Mail> <WWW::Topica::Reply> Given a "WWW::Topic::Mail" object and a "WWW::Topica::Reply" object build up the text of an RFC822 compliant email. build_loader Set up the LWP::UserAgent object used to fetch pages. fetch_page <url> Utility function for getting a page with various niceties. AUTHOR
Simon Wistow <simon@thegestalt.org> COPYRIGHT
Copyright (c) 2004, Simon Wistow perl v5.10.1 2006-01-03 WWW::Topica(3pm)

Check Out this Related Man Page

WWW::Mechanize::FormFiller::Value::Random::Word(3pm)	User Contributed Perl Documentation   WWW::Mechanize::FormFiller::Value::Random::Word(3pm)

NAME
WWW::Mechanize::FormFiller::Value::Random::Word - Fill a word into an HTML form field SYNOPSIS
use WWW::Mechanize::FormFiller; use WWW::Mechanize::FormFiller::Value::Random::Word; my $f = WWW::Mechanize::FormFiller->new(); # Create a random value for the HTML field "login" my $login = WWW::Mechanize::FormFiller::Value::Random::Word->new( login => size => 1 ); $f->add_value( login => $login ); # Alternatively take the following shorthand, which adds the # field to the list as well : # If there is no password, put a random one out of the list there my $password = $f->add_filler( password => Random::Word => size => 1 ); # Spew some bogus text into the comments field my $comments = $f->add_filler( comments => Random::Word => size => 10 ); DESCRIPTION
This class provides a way to write a randomly chosen value into a HTML field. new NAME, LIST Creates a new value which will correspond to the HTML field "NAME". The "LIST" is the list of arguments passed to Data::Random::rand_words. If the list is empty, "size => 1" is assumed. name [NEWNAME] Gets and sets the name of the HTML field this value corresponds to. value FIELD Returns the value to put into the HTML field. EXPORT None by default. COPYRIGHT AND LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. Copyright (C) 2002,2003 Max Maischein AUTHOR
Max Maischein, <corion@cpan.org> Please contact me if you find bugs or otherwise improve the module. More tests are also very welcome ! SEE ALSO
Data::Random, WWW::Mechanize, WWW::Mechanize::Shell, WWW::Mechanize::FormFiller, WWW::Mechanize::FormFiller::Value::Value, WWW::Mechanize::FormFiller::Value::Default, WWW::Mechanize::FormFiller::Value::Fixed, WWW::Mechanize::FormFiller::Value::Interactive perl v5.10.1 2009-04-24 WWW::Mechanize::FormFiller::Value::Random::Word(3pm)
Man Page