Tue, 29 Apr 2008 15:00:00 GMT
If you want to be notified when and how a Web site has changed, you can turn to either netstiff or urlwatch to keep and eye on things for you. Both of these tools monitor Web sites for changes and allow you to see a diff-like output of exactly what has changed. You can also use netstiff to monitor FTP sites for changes.
Where do you go to participate in technical discussions besides UNIX.COM and why?
Personally, I do not really participate in other forums and discussion boards, but I do ask questions from time to time on Stack sites. The problem I have with Stack is that my questions are never answered on any... (30 Replies)
Hi, I can't view web portal in my intranet from linux RHE, and neither to web application.
My network configuration /etc/sysconfig/network-scripts/fcfg-eth0 is ok, what is happen?, can you help me please. (2 Replies)
Hi dears,
The script should watch for a file in particular directory. If the file not come into the directory even after 30 seconds from execution of the script, then script should exit saying “file not arrived”
Any help ?? (4 Replies)
:confused: I've read how on some websites but I still don't get it.
I need specific details. I want to make a website for my photography. Please help!:D (3 Replies)
Web::Scraper::Filter(3pm) User Contributed Perl Documentation Web::Scraper::Filter(3pm)NAME
Web::Scraper::Filter - Base class for Web::Scraper filters
SYNOPSIS
package Web::Scraper::Filter::YAML;
use base qw( Web::Scraper::Filter );
use YAML ();
sub filter {
my($self, $value) = @_;
YAML::Load($value);
}
1;
use Web::Scraper;
my $scraper = scraper {
process ".yaml-code", data => [ 'TEXT', 'YAML' ];
};
DESCRIPTION
Web::Scraper::Filter is a base class for text filters in Web::Scraper. You can create your own text filter by subclassing this module.
There are two ways to create and use your custom filter. If you name your filter Web::Scraper::Filter::Something, you just call:
process $exp, $key => [ 'TEXT', 'Something' ];
If you declare your filter under your own namespace, like 'MyApp::Filter::Foo',
process $exp, $key => [ 'TEXT', '+MyApp::Filter::Foo' ];
You can also inline your filter function without creating a filter class:
process $exp, $key => [ 'TEXT', sub { s/foo/bar/ } ];
Note that this function munges $_ and returns the count of replacement. Filter code special cases if the return value of the callback is
number and $_ value is updated.
You can, of course, stack filters like:
process $exp, $key => [ '@href', 'Foo', '+MyApp::Filter::Bar', &baz ];
AUTHOR
Tatsuhiko Miyagawa
perl v5.14.2 2009-03-24 Web::Scraper::Filter(3pm)