HTML::AutoPagerize(3pm) User Contributed Perl Documentation HTML::AutoPagerize(3pm)NAME
HTML::AutoPagerize - Utility to load AutoPagerize SITEINFO stuff
SYNOPSIS
use HTML::AutoPagerize;
my $autopager = HTML::AutoPagerize->new;
$autopager->add_site(
url => 'http://.+.tumblr.com/',
nextLink => '//div[@id="content" or @id="container"]/div[last()]/a[last()]',
pageElement => '//div[@id="content" or @id="container"]/div[@class!="footer" or @class!="navigation"]',
);
my $uri = 'http://otsune.tumblr.com/';
my $html = LWP::Simple::get($uri);
my $res = $autopager->handle($uri, $html);
if ($res) {
my $next_link = $res->{next_link}; # URI object
my $content = $res->{page_element}; # XML::XPathEngine::NodeSet object. may be empty
}
DESCRIPTION
HTML::AutoPagerize is an utility module to load SITEINFO defined in AutoPagerize. AutoPagerize is an userscript to automatically figure out
the "next link" of the current page, then fetch the content and insert the content by extracting the "page element".
AUTHOR
Tatsuhiko Miyagawa <miyagawa@bulknews.net>
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
WWW::Mechanize::AutoPager, <http://swdyh.infogami.com/autopagerize>
perl v5.12.4 2011-09-26 HTML::AutoPagerize(3pm)
Check Out this Related Man Page
HTML::Mason::PSGIHandler(3pm) User Contributed Perl Documentation HTML::Mason::PSGIHandler(3pm)NAME
HTML::Mason::PSGIHandler - PSGI handler for HTML::Mason
SYNOPSIS
# app.psgi
use HTML::Mason::PSGIHandler;
my $h = HTML::Mason::PSGIHandler->new(
comp_root => "/path/to/doc_root", # required
);
my $handler = sub {
my $env = shift;
$h->handle_psgi($env);
};
DESCRIPTION
HTML::Mason::PSGIHandler is a PSGI handler for HTML::Mason. It's based on HTML::Mason::CGIHandler and allows you to process Mason templates
on any web servers that support PSGI.
SUPPORT
o Git Repository
The latest code is available from the git repository at <http://github.com/abh/HTML-Mason-PSGIHandler>.
To send patches, make a fork on github and send a pull request.
o Bugs
Please report bugs at <http://github.com/abh/HTML-Mason-PSGIHandler/issues>.
AUTHORS
Ask Bjorn Hansen <miyagawa@bulknews.net>, Ricardo Signes <rjbs@cpan.org>, Tatsuhiko Miyagawa <miyagawa@bulknews.net>.
LICENSE
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
CGI::PSGI Plack PSGI HTML::Mason::CGIHandler
perl v5.10.1 2010-12-19 HTML::Mason::PSGIHandler(3pm)
Hi All,
I have 2 questions:
1. I was coming up with a HTML page and wanted a footer to always be at the bottom of the page regardless of the size of the page that has been populated. How do I acheive this?
2. I was trying to build an iframe with the following tags
"<iframe id=\"iframe01\"... (5 Replies)
Hi guys,
I'm supposed to write a program to display the "view source" content of a web page...I have no clue were to start...
please help me guys.... (9 Replies)
I was just thinking if there is a way where i can dynamically rename files based on the actual file content.
I have a load of pdf's which have been named wrongly. (We normally put date first, then brief description, then title)
So can a script be written wherin, it pulls out the date and title... (2 Replies)
I'd like to replace content within the markers "(div id=m1)" and "(/div)". Between the markers there are several lines of text but no nested brackets (so no parser is required).
In the beginning I thought this to be an easy task like:
"sed s/(div id=m1).*(/div)/(div... (10 Replies)
Hi
I have file like this:
jack black 104
daniel nick 75
lily harm 2
albert 5
and need to convert it into the html table like this:
NO.......name....family..... id
1...........jack.....black.....104
2..........daniel....nick.......75
3..........albert.................5
i mean... (5 Replies)