LJ::Schedule - A quick and dirty schedule-posting tool for LiveJournal.
Version 0.6
This module is designed to scratch a very specific itch - taking a schedule from a given format (for me, vCal) and constructing an LJ schedule post from it. It is designed to be extensible to other input file formats and other posting methods, although currently only vCal as input and LJ::Simple posting are supported.
use LJ::Schedule; # Choose the type of schedule to import my $cal = LJ::Schedule::Vcal->new({filename => $ARGV[0]}); $cal->prep_cal_for_lj(); my $lj = LJ::Schedule::Post->new(); my $post_ok = $lj->post_cal($cal); ...
Reads in the config from the specified config file (.ini style) - defaulting to .lj_cfg.ini if the filename isn't given.
Sample config file:
# Comment line [private] user=kitty pass=XXXXX [entry] subject='Schedule Post' protect=friends [alias] b=bobt
The above config file will post to journal name 'kitty', authenticating with the password XXXXX, with a title of 'Schedule Post', protected to friends-only.
The aliases allow a vCal entry such as "Date with B" to be automatically transformed to an LJ user (in this case, of bobt).
Ben Evans, <ben at bpfh.net>
<ben at bpfh.net>
Please report any bugs or feature requests to bug-lj-schedule at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LJ-Schedule. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.
bug-lj-schedule at rt.cpan.org
You can find documentation for this module with the perldoc command.
perldoc LJ::Schedule
You can also look for information at:
AnnoCPAN: Annotated CPAN documentation
http://annocpan.org/dist/LJ-Schedule
CPAN Ratings
http://cpanratings.perl.org/d/LJ-Schedule
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=LJ-Schedule
Search CPAN
http://search.cpan.org/dist/LJ-Schedule
Copyright 2006 Ben Evans, all rights reserved.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install LJ::Schedule, copy and paste the appropriate command in to your terminal.
cpanm
cpanm LJ::Schedule
CPAN shell
perl -MCPAN -e shell install LJ::Schedule
For more information on module installation, please visit the detailed CPAN module installation guide.