Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • Linux Kernel 3.9.2 / 3....
  • LibreOffice 3.6.6 / 4.0.3
  • MPlayer 1.1.1
  • systemd 204
  • Arch Linux 2013.05.01
  • Blender 2.67
  • KDE Software Compilatio...
  • CrunchBang Linux Stable...
  • Elementary OS 0.1 / 0.2...
  • SystemRescueCd 3.6.0
  • Home > Linux > Programming > Perl Modules

    XML::RSS::Headline::PerlMonks 0.2

    Download button

    No screenshots available
    Downloads: 242  View global page NEW!  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Don Shanks | More programs
    Perl Artistic License / FREE
    December 9th, 2009, 20:58 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    XML::RSS::Headline::PerlMonks description

    Subclass of XML::RSS::Headline for reading RSS feed from perlmonks.org

    XML::RSS::Headline::PerlMonks is a Perl module that extends the base XML::RSS::Headline package which is used by XML::RSS::Feed to parse and optionally cache the RSS feed from perlmonks.org. Optionally this module can be used inside the POE::Component::RSSAggregator module as one of many feeds to monitor.

    SYNOPSIS

     use XML::RSS::Feed;
     use XML::RSS::Headline::PerlMonks;
     use LWP::Simple qw(get);
     
     my $feed = XML::RSS::Feed->new(
     'name' => 'newmonknodes',
     'url' => 'http://perlmonks.org/index.pl?node_id=30175;xmlstyle=rss',
     'hlobj' => 'XML::RSS::Headline::PerlMonks',
     'tmpdir' => '/tmp', # for caching
     );

     while (1) {
     $feed->parse( get( $feed->url ) );
     for my $post ( $feed->late_breaking_news ) {
     print "New perlmonks posting from " . $post->authortitle . "
    ";
     print "Category: " . $post->category . "
    ";
     print "Subject: " . $post->headline . "
    ";
     print "Link: " . $post->url . "

    ";
     }
     sleep( $feed->delay );
     }



    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    RSS feed | feed reader | Perl module | Perl | RSS | feed

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM