The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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 :

  • text to be shown

  • entry creation date used to create the entry oredered by ascengind entry creaton date

getLines

Retrieves the lines added to the entry

getEntry

Retrieves the formatted entry to be published in your Blosxom blog