Blosxom::Entry::Twitter - Twitter entry for Blosxom blog
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 );
Creates the Twitter entry to be published in the Blosxom blog
Constructor. Accepts no parameters.
Sets the entry title
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
Retrieves the lines added to the entry
Retrieves the formatted entry to be published in your Blosxom blog
To install Twitter::Daily, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Twitter::Daily
CPAN shell
perl -MCPAN -e shell install Twitter::Daily
For more information on module installation, please visit the detailed CPAN module installation guide.