NAME

googlenews2rss


SUMMARY

 54 0-23 1-31 1-12 * /path/to/googlenews2rss


DESCRIPTION

This program will generate one or more RSS files for the recent entries of one or more newgroups hosted on google.com

There is no magic here, just some good old fashioned scraping using HTML::Parser. When the nice Google people decide to change things, this program might break.


THINGS FOR YOU TO DEFINE

These are Perl constants that you will need to define in the program file itself.


RSS_VERSION

String. The version of RSS you'd like to generate. Valid options are : 0.9, 0.91 and 1.0


RSS_CHANNEL_DATA

Hash reference. Whatever you want to pass to the XML::RSS->channel() method. See docs for details.


GROUPS

Array of hash references. Each hash reference should contain the following keys :

group

The name of the newsgroup you want to get posting information for.

lang

The valid language option that Google understands.

rss

The new of the file you want the RSS data to be written to.

You can specify the same filename for multiple newsgroup listings. New RSS data will simply be appended to the file. The next time the program is run, the file is deleted and then rewritten with the new RSS data.

max

The maximum number of entries to record for this newgroup. (optional)


VERSION

1.0


DATE

February 13, 2002


AUTHOR

Aaron Straup Cope


LICENSE

Copyright (c) 2002 Aaron Straup Cope. All rights reserved.

This is free software, you may use it and distribute it under the same terms as Perl itself.