mscerts.net
 
Adaptive Technologies
Adobe AIR Apps
Artistic Software
Communications
Database
Desktop Environment
Documentation
Education
Games
Home Automation
Information Management
Internet
Multimedia
Office
Printing
Programming
Religion
Science
Science and Engineering
Security
System
Terminals
Text Editing&Processing
Utilities
 
 
myGengo 1.2.0
corejet.jira 1.0 Alpha 1
jsoncmd 0.0
correct_pycountry 0.12.2
Monsters 1.0
corejet.core 1.0 Alpha 1
Scope::Container::DBI 0.04
DBIx::DataModel 1.27
Word Golf 0.2.1
Plack::Middleware::LogWarn 0.001002
 
 
 

RSS2Leafnode 36

Post RSS or Atom feeds and web pages to newsgroups

RSS2Leafnode is a Perl module that downloads RSS or Atom feeds and posts items as messages to an NNTP news server. It's designed to make simple text entries available in local newsgroups, not propagating anywhere (though that's not enforced).

Desired feeds are given in a configuration file .rss2leafnode.conf in your home directory. For example to put a feed in group "r2l.perl"

 fetch_rss ('r2l.perl', 'http://log.perl.org/atom.xml');

This is actually Perl code, so comment lines begin with # and you can write conditionals etc. The target newsgroup must exist (see "Leafnode" below). With that done, run rss2leafnode as

 rss2leafnode


You can automate with cron or similar. If you do it under user news it could be just after a normal news fetch. The --config option below lets you run different config files at different times, etc. A sample config file is included in the RSS2Leafnode sources.

Messages are added to the news spool using NNTP "POST" commands. When a feed is re-downloaded any items previously added are not repeated. Multiple feeds can be put into a single newsgroup. Feeds are inserted as they're downloaded, so the first articles appear while the rest are still in progress.

The target newsgroup can also be a news: or nntp: URL of a server on a different host or a different port number if running a personal server on a high port.

 fetch_rss('news://somehost.mydomain.org:8119/r2l.weather',
 'http://feeds.feedburner.com/PTCC');

Requirements:

· Perl

  Other
-   Parse::Indented 0.02
-   SOAP::Simple 0.00_03
-   Term::Size::Any 0.001
-   TAP::Harness::JUnit 0.32
-   SNMP::Class 0.15
-   SHA 2.01
-   Net::Vypress::Chat 0.72.1
-   Math::BigInt::Random::OO 0.03
-   Mail::Sender 0.8.16
-   HTML::Template::HTX 0.07
-   SquidGuard Manager 1.2
-   Funifs 1.1
-   Devel::FastProf 0.08
-   Convert::Moji 0.01
-   Config::GitLike 1.04
-   Class::Data::Reloadable 0.04
-   CatalystX::ListFramework 0.5
-   Capture::Tiny 0.08
-   CGI::Search 0.5
-   Apache::TieBucketBrigade 0.05
 
 
                mscerts.net