NAME
LJ::Schedule - A quick and dirty schedule-posting tool for LiveJournal.
VERSION
Version 0.6
SYNOPSIS
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);
...
FUNCTIONS
get_config
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).
AUTHOR
Ben Evans, <ben at bpfh.net>
BUGS
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.
SUPPORT
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
CPAN Ratings
RT: CPAN's request tracker
Search CPAN
ACKNOWLEDGEMENTS
COPYRIGHT & LICENSE
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.