Víctor A. Rodríguez > Twitter-Daily > Blosxom::Entry::Twitter

Download:
Twitter-Daily-0.1.3.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

NAME ^

Blosxom::Entry::Twitter - Twitter entry for Blosxom blog

SYNOPSIS ^

        my $entry =  Blosxom::Entry::Twitter->new()
             || die("Not all options were passed");
                                                                
        $entry->addLine("Line 1",'Thu Jan 13 14:26:49 +0000 2011');
    $entry->addLine("Line 2",'Thu Jan 13 13:49:27 +0000 2011');
    $entry->addLine("Line 3",'Thu Jan 13 18:09:00 +0000 2011');

    $entry->setTitle("My First Entry");

    my @entry = $entry->getLines();
    
    ## Now @entry contains the full entry to be published in your Blosxom blog

    My::Module::publishEntry( @entry );

DESCRIPTION ^

Creates the Twitter entry to be published in the Blosxom blog

new

Constructor. Accepts no parameters.

setTitle

Sets the entry title

addLine

Adds a new line to the entry accepting these parameters :

getLines

Retrieves the lines added to the entry

getEntry

Retrieves the formatted entry to be published in your Blosxom blog

syntax highlighting: