Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

html::autopagerize(3pm) [debian man page]

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

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

NAME
WWW::Mechanize::FormFiller::Value::Fixed - Fill a fixed value into an HTML form field SYNOPSIS
use WWW::Mechanize::FormFiller; use WWW::Mechanize::FormFiller::Value::Fixed; my $f = WWW::Mechanize::FormFiller->new(); # Create a fixed value for the HTML field "login" my $fixed = WWW::Mechanize::FormFiller::Value::Fixed->new( login => "Corion" ); $f->add_value( login => $fixed ); # Alternatively take the following shorthand, which adds the # field to the list as well : my $password = $f->add_filler( password => Fixed => "secret" ); DESCRIPTION
This class provides a way to write a fixed value into a HTML field. new NAME, VALUE Creates a new value which will correspond to the HTML field "NAME". The "VALUE" is the value to be written into the HTML field. 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
WWW::Mechanize, WWW::Mechanize::Shell, WWW::Mechanize::FormFiller, WWW::Mechanize::FormFiller::Value::Value, WWW::Mechanize::FormFiller::Value::Default, WWW::Mechanize::FormFiller::Value::Random, WWW::Mechanize::FormFiller::Value::Interactive perl v5.10.1 2009-04-24 WWW::Mechanize::FormFiller::Value::Fixed(3pm)
Man Page

5 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Footers and iFrames in HTML

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)
Discussion started by: garric
5 Replies

2. Programming

Help with HTML

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)
Discussion started by: rakesh_01
9 Replies

3. Shell Programming and Scripting

Dynamic naming based on file content

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)
Discussion started by: deaddevil
2 Replies

4. Shell Programming and Scripting

Replace Block

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)
Discussion started by: Dieter5
10 Replies

5. Shell Programming and Scripting

Convert content of file to HTML

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)
Discussion started by: indeed_1
5 Replies