Softpedia
 


LINUX CATEGORIES:



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

    Net::Blogger 1.02

    Download button

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

    License / Price:

    Last Updated:

    Category:
    Christopher H. Laco | More programs
    Perl Artistic License / FREE
    September 28th, 2006, 08:05 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::Blogger description

    An OOP-ish interface for accessing a weblog via the Blogger XML-RPC API.

    Net::Blogger is an OOP-ish interface for accessing a weblog via the Blogger XML-RPC API.

    SYNOPSIS

    Top
    use Net::Blogger;
    my $b = Net::Blogger->new(appkey=>APPKEY);

    $b->BlogId(BLOGID);
    $b->Username(USERNAME);
    $b->Password(PASSWORD);

    $b->BlogId($b->GetBlogId(blogname=>'superfoobar'));

    # Get recent posts

    my ($ok,@p) = $b->getRecentPosts(numposts=>20);

    if (! $ok) {
    croak $b->LastError();
    }

    map { print "t $_->{'postid'}n"; } @p;

    # Post from a file

    my ($ok,@p) = $b->PostFromFile(file=>"/usr/blogger-test");

    if (! $ok) {
    croak $b->LastError();
    }

    # Deleting posts

    map {
    $b->deletePost(postid=>"$_") || croak $b->LastError();
    } @p;

    # Getting and setting templates

    my $t = $b->getTemplate(type => 'main');
    $b->setTemplate(type=>'main',template=>$t) || croak $b->LastError();

    # New post

    my $txt = "hello world.";
    my $id = $b->newPost(postbody=>$txt) || croak $b->LastError();

    # Get post

    my $post = $b->getPost($id) || croak $b->LastError();
    print "Text for last post was $post->{'content'}n";

    Blogger.pm provides an OOP-ish interface for accessing a weblog via the Blogger XML-RPC API.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    OOP-ish interface | access weblog | Blogger XML-RPC API | Net::Blogger | OOP-ish | interface

    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

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