LJ::Simple 0.15
Sponsored Links
LJ::Simple 0.15 Ranking & Summary
File size:
0.043 MB
Platform:
Any Platform
License:
BSD License
Price:
Downloads:
1338
Date added:
2006-02-27
Publisher:
Simes
LJ::Simple 0.15 description
LJ::Simple is a Perl module to provide a simple OOP-based API for accessing the LiveJournal system.
Main features:
- Log into LiveJournal
- Post a journal entry
- Edit a journal entry
- Delete a journal entry
Example
The following example posts a simple message into the test LiveJournal using the LJ::Simple::QuickPost method.
use LJ::Simple;
LJ::Simple::QuickPost(
user => "test",
pass => "test",
entry => "Just a simple entry",
) || die "$0: Failed to post entry: $LJ::Simple::errorn";
The next example shows how to post an entry into the test LiveJournal using the complete, object-based, interface:
use LJ::Simple;
my $lj = new LJ::Simple ({
user => "test",
pass => "test",
});
(defined $lj)
|| die "$0: Failed to log into LiveJournal: $LJ::Simple::errorn";
my %Event=();
$lj->NewEntry(%Event) ||
die "$0: Failed to create new entry: $LJ::Simple::errorn";
my $entry=< A simple entry made using LJ::Simple version $LJ::Simple::VERSION
EOF
$lj->SetEntry(%Event,$entry)
|| die "$0: Failed to set entry: $LJ::Simple::errorn";
$lj->SetMood(%Event,"happy")
|| die "$0: Failed to set mood: $LJ::Simple::errorn";
$lj->Setprop_nocomments(%Event,1);
my ($item_id,$anum,$html_id)=$lj->PostEntry(%Event);
(defined $item_id)
|| die "$0: Failed to post journal entry: $LJ::Simple::errorn";
Main features:
- Log into LiveJournal
- Post a journal entry
- Edit a journal entry
- Delete a journal entry
Example
The following example posts a simple message into the test LiveJournal using the LJ::Simple::QuickPost method.
use LJ::Simple;
LJ::Simple::QuickPost(
user => "test",
pass => "test",
entry => "Just a simple entry",
) || die "$0: Failed to post entry: $LJ::Simple::errorn";
The next example shows how to post an entry into the test LiveJournal using the complete, object-based, interface:
use LJ::Simple;
my $lj = new LJ::Simple ({
user => "test",
pass => "test",
});
(defined $lj)
|| die "$0: Failed to log into LiveJournal: $LJ::Simple::errorn";
my %Event=();
$lj->NewEntry(%Event) ||
die "$0: Failed to create new entry: $LJ::Simple::errorn";
my $entry=<
EOF
$lj->SetEntry(%Event,$entry)
|| die "$0: Failed to set entry: $LJ::Simple::errorn";
$lj->SetMood(%Event,"happy")
|| die "$0: Failed to set mood: $LJ::Simple::errorn";
$lj->Setprop_nocomments(%Event,1);
my ($item_id,$anum,$html_id)=$lj->PostEntry(%Event);
(defined $item_id)
|| die "$0: Failed to post journal entry: $LJ::Simple::errorn";
LJ::Simple 0.15 Screenshot
LJ::Simple 0.15 Keywords
LJ
LiveJournal
API
OOP
Simple 0.15
Failed to
to provide
Perl module
test
simple
failed
post
provide
Perl
LJ::Simple
LJSimple
Bookmark LJ::Simple 0.15
LJ::Simple 0.15 Copyright
WareSeeker periodically updates pricing and software information of LJ::Simple 0.15 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of LJ::Simple 0.15 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
failed to access iis metabase
livejournal site
failed toys
livejournal layouts
failed to query tcp ip settings of the connection
livejournal secret
failed to load main-class manifest attribute from
livejournal login
livejournal icons
livejournal tutorial
perl modules
livejournal surveys
livejournal ohnotheydidnt
livejournal petite power
livejournal account learn more
livejournal layout generator
livejournal skins
livejournal hack
Related Software
JOpt Simple is a Java library for parsing command line switches, such as those you might pass to an invocation of javac. Free Download
libmpeg2 is a free MPEG-2 video stream decoder. Free Download
Test::Simple is a Perl module with basic utilities for writing tests. Free Download
Test::XML::Simple is an easy testing for XML. Free Download
simple_scan Perl module can scan a set of Web pages for strings present/absent. Free Download
Test::WWW::Simple is a Perl module to test Web applications using TAP. Free Download
MPEG::MP3Play is a Perl extension for playing back MPEG music. Free Download
S3cmd is a command line tool to upload, retrieve and manage data in Amazon S3. Free Download
Latest Software
Popular Software
Favourite Software