LJ::SimpleLJ::Simple is a Perl module to provide a simple OOP-based API for accessing the LiveJournal system. | |
Download |
LJ::Simple Ranking & Summary
Advertisement
- License:
- BSD License
- Price:
- FREE
- Publisher Name:
- Simes
- Publisher web site:
- http://www.bpfh.net/computing/software/LJ::Simple/
LJ::Simple Tags
LJ::Simple Description
LJ::Simple is a Perl module to provide a simple OOP-based API for accessing the LiveJournal system. LJ::Simple is a Perl module to provide a simple OOP-based API for accessing the LiveJournal system.Here are some key features of "LJ Simple":· Log into LiveJournal· Post a journal entry· Edit a journal entry· Delete a journal entryExampleThe 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=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";Requirements:· PerlWhat's New in This Release:· Added tags support to QuickPost()· Added ability to return of results of posting to QuickPost()· Added the GetTags() method to return the list of existing tags available for use
LJ::Simple Related Software