LJ::Schedule - A quick and dirty schedule-posting tool for LiveJournal.


LJ-Schedule documentation  | view source Contained in the LJ-Schedule distribution.

Index


NAME

Top

LJ::Schedule - A quick and dirty schedule-posting tool for LiveJournal.

VERSION

Top

Version 0.6

SYNOPSIS

Top

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

Top

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

Top

Ben Evans, <ben at bpfh.net>

BUGS

Top

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

Top

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

ACKNOWLEDGEMENTS

Top

COPYRIGHT & LICENSE

Top


LJ-Schedule documentation  | view source Contained in the LJ-Schedule distribution.