WebFetch::CNETnews - download and save c|net news.com headlines or news search


NAME

WebFetch::CNETnews - download and save c|net news.com headlines or news search


SYNOPSIS

In perl scripts:

use WebFetch::CNETnews;

From the command line:

perl -w -MWebFetch::CNETnews -e "&fetch_main" -- --dir directory [--alt_url url] [--alt_file file] [--search search_string]


DESCRIPTION

This module gets the current headlines from news.com.

The optional --alt_url parameter allows you to select a different URL to get the headlines from.

After this runs, by default the file cnet.html will be created or replaced. If there already was an cnet.html file, it will be moved to Ocnet.html. These filenames can be overridden by the --alt_file parameter.

If the optional --search parameter is used, WebFetch::CNETnews will search the c|net News.Com site for the search string instead of getting the front-page headlines.


AUTHOR

WebFetch was written by Ian Kluft for the Silicon Valley Linux User Group (SVLUG). The WebFetch::CNETnews module was contributed by Jamie Heilman. Send patches, bug reports, suggestions and questions to maint@webfetch.org.


SEE ALSO

WebFetch

 WebFetch::CNETnews - download and save c|net news.com headlines or news search