WWW::Monitor::Task - A Task class for monitoring single web page against a cached version.
Version 0.1
This class is responsible for tracking a single web page and reporting changes. This class should be considered as a private asset of WWW::Monitor. For details please refer to <WWW::Monitor>
A constructor.
Executes Task. Parameters:
mechanize - Web mechanize object.
WWW::Monitor::Task assumes that the given object implements or inherits WWW::mechnize abstraction. See http://search.cpan.org/~petdance/WWW-Mechanize-1.20/lib/WWW/Mechanize.pm.
carrier- Object which will conduct the notification; see WWW::Monitor for details
cache - optional - A cache class.
(Private method) Tests if a page has changed. If yes, notification call back is being called.
(Private method) Return a textual version of HTML
(Private Method). Extract text from a given set of pages.
(Private method) Return a hash key that stores information about the entire visible part or the URL.
(Private Method) Returns all urls which were last cached. return true if the url was previously hashed.
(Private method) Store current time in the main hash key
Store General information of a web address, including all frames and dates.
(Private method)
return true upon success of the last run execution.
Yaron Kahanovitch, <yaron-helpme at kahanovitch.com>
<yaron-helpme at kahanovitch.com>
Please report any bugs or feature requests to bug-www-monitor at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=WWW-Monitor. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-www-monitor at rt.cpan.org
You can find documentation for this module with the perldoc command. perldoc WWW::Monitor You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/WWW-Monitor
CPAN Ratings
http://cpanratings.perl.org/d/WWW-Monitor
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=WWW-Monitor
Search CPAN
http://search.cpan.org/dist/WWW-Monitor
Copyright 2007 Yaron Kahanovitch, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
1; # End of WWW::Monitor::Task
To install WWW::Monitor, copy and paste the appropriate command in to your terminal.
cpanm
cpanm WWW::Monitor
CPAN shell
perl -MCPAN -e shell install WWW::Monitor
For more information on module installation, please visit the detailed CPAN module installation guide.