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

    RSS::NewsFeed::BBC 0.07

    Download button

    No screenshots available
    Downloads: 153  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Mohammad S Anwar | More programs
    GPL / FREE
    December 7th, 2011, 16:32 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    RSS::NewsFeed::BBC description

    Interface to BBC News Feed

    RSS::NewsFeed::BBC is a Perl interface to BBC news feed.

    METHODS

    get_title()

    Returns the news feed title of national/international BBC news. This should *ONLY* be called after method get_national() or get_international(), otherwise it will return Undefined.

     use strict; use warnigns;
     use RSS::NewsFeed::BBC;
     
     my $news = RSS::NewsFeed::BBC->new();
     my $national = $news->get_national();
     my $title = $news->get_title();

    get_url()

    Returns the news feed URL of national/international BBC news. This should *ONLY* be called after method get_national() or get_international(), otherwise it will return Undefined.

     use strict; use warnigns;
     use RSS::NewsFeed::BBC;
     
     my $news = RSS::NewsFeed::BBC->new();
     my $national = $news->get_national();
     my $url = $news->get_url();

    get_description()

    Returns the news feed description of national/international BBC news. This should *ONLY* be called after method get_national() or get_international(), otherwise it will return Undefined.

     use strict; use warnigns;
     use RSS::NewsFeed::BBC;
     
     my $news = RSS::NewsFeed::BBC->new();
     my $national = $news->get_national();
     my $description = $news->get_description();

    get_national()

    Returns the BBC National news.

     use strict; use warnigns;
     use RSS::NewsFeed::BBC;
     
     my $news = RSS::NewsFeed::BBC->new();
     my $national = $news->get_national();

    get_international()

    Returns the BBC International news.

     use strict; use warnigns;
     use RSS::NewsFeed::BBC;
     
     my $news = RSS::NewsFeed::BBC->new();
     my $international = $news->get_international();

    as_xml()

    Returns latest news in the XML format.This should *ONLY* be called after method get_national() or get_international().

     use strict; use warnigns;
     use RSS::NewsFeed::BBC;
     
     my $news = RSS::NewsFeed::BBC->new();
     my $national = $news->get_national();

     print $news->as_xml();

    as_string()

    Returns latest news in a human readable format.

     use strict; use warnigns;
     use RSS::NewsFeed::BBC;
     
     my $news = RSS::NewsFeed::BBC->new();
     my $national = $news->get_national();

     print $news->as_string();

     # or even simply
     print $news;

    Requirements:

    · Perl

      


    TAGS:

    BBC news | news feed | Perl interface | BBC | news | feed

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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