Main > Programming > Libraries >

WWW::Mixi::OO::Page 0.03

WWW::Mixi::OO::Page 0.03

Sponsored Links

WWW::Mixi::OO::Page 0.03 Ranking & Summary

RankingClick at the star to rank
Ranking Level
User Review: 0 (0 times)
File size: 0.024 MB
Platform: Any Platform
License: Perl Artistic License
Price:
Downloads: 797
Date added: 2007-08-18
Publisher: Topia

WWW::Mixi::OO::Page 0.03 description

WWW::Mixi::OO::Page is a WWW::Mixi::OOs Pages base class.

SYNOPSIS

package WWW::Mixi::OO::Foo;
use base qw(WWW::Mixi::OO::Page);
sub uri {
shift->absolute_uri(foo.pl);
}
# some implementations...

METHODS

new
# subclass
sub new {
my $this = shift->SUPER::new(@_);
# some initializations...
}

# call
my $page = $pkg->new($session);

constructor of page. please override if you need some initializations.

uri
# subclass
sub uri {
my ($this, %options) = @_;
$this->SUPER::uri(_path => foo,
_params => {
a => b,
},
%options);
}

# call
my $uri = $page->uri([opt => val], ...);
return URI of page.

parse_uri
# subclass
sub parse_uri {
my ($this, $data, %options) = @_;
$this->copy_hash_val($data->{params}, %options, page);
if ($data->{path} eq "show_friend") {
# blah...
}
if ($data->{uri}->...) {
# maybe you wont use this
}
$this->SUPER::uri($data, %options);
}

# call
my %options = $page->analyze_uri($uri);
return page information of URI.

parse
# subclass
sub parse {
my ($this, %options) = @_;
# parse...
my $part = $this->parse_extract_parts(qw/.../);
return () unless defined $part;
# return
return ({ a => b, c => d }, { a => e, c => f }, ...);
}

# call
my @datas = $page->parse;
page parser. please return hashref array.

parse_banner
my $data = $page->parse_banner;
parse banner. structure:
link: link to ad page.
subject: subject of ad(banners alt text).
image: image of banner
height: height of image
width: width of image
parse_mainmenu
my @data = $page->parse_mainmenu;
parse mainmenu. structure:
link: link to page
subject: subject of page
parse_tool_bar
my @data = $page->parse_tool_bar;
parse toolbar. structure:
link: link to page
subject: subject of page
image: image of toolbar.
height: height of image
width: width of image
get
$page->get([opt => val], ...);
handy method. call ->set_content and ->parse.
set_content
$page->set_content($uri);
or
$page->set_content(%options);
set content to specified by uri or options.

WWW::Mixi::OO::Page 0.03 Screenshot

Advertisements

WWW::Mixi::OO::Page 0.03 Keywords

Bookmark WWW::Mixi::OO::Page 0.03

Hyperlink code:
Link for forum:

WWW::Mixi::OO::Page 0.03 Copyright

WareSeeker periodically updates pricing and software information of WWW::Mixi::OO::Page 0.03 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of WWW::Mixi::OO::Page 0.03 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed

Allok Video Splitter 2.2.0 Review:

Name (Required)
Email(Required)
Captcha
Featured Software

Want to place your software product here?
Please contact us for consideration.

Contact WareSeeker.com
Related Software
WWW::Mixi::OO::ListPage is a WWW::Mixi::OOs List Pages base class. Free Download
WWW::Cache::Google is Perl module URI class for Google cache. Free Download
WWW::Orkut::Spider is a Perl extension for spidering the orkut community. Free Download
WWW::Google::Calculator is a Perl interface for Google calculator. Free Download
MRTG::Parse is a Perl extension for parsing and utilizing the logfiles generated by the famous MRTG Tool. Free Download
WWW::Google::Images is a Google Images Agent. Free Download
App::Manager is a Perl module for installing, managing and uninstalling software packages. Free Download
WWW::OpenSVN is an automated interface for the OpenSVN online Subversion repositories service. Free Download