NAME crossjournal - LiveJournal crossposting plugin for Blosxom SYNOPSIS Posts a Blosxom entry onto LiveJournal or an LJ compatible site. It also provides a couple of template variables for linking to the LiveJournal post. $crossjournal::url Just the plain URL to the LiveJournal post $crossjournal::link Complete and customizable link text to the post CONFIGURATION There are a number of variables used to control crosspoint to LiveJournal, they are all located in the 'Configuration variables' section at the top of the plugin. $username Fairly simple, it's your username on LiveJournal. $password Your password on LiveJournal. It's a security risk to have this in plain text and readable by your web server, but I can't think of a good way around it, so take whatever steps you feel are needed to protect yourself. $server The LiveJournal compatible server to post to. This plugin should work with any server that supports the LJ Flat protocol. $debug Set to non-zero to get some debugging output. The higher the value, the more output you get. Level 1 contains basic messages about posting and updating entries, usually just one line per entry. Level 2 starts chatting about the various steps involved. You might want to try it out on level 2 to start with, then set it to zero when you're sure everything's working. $preurl $posturl These are used with the URL to the LJ post to make the $crossjournal::link text. The following variables can all be overridden using the meta plugin by adding a meta variable with 'lj' appended to it. For example, adding 'meta-ljmood: geeky' to a post would set that mood when it gets crossposted. (Assuming your meta prefix is still 'meta-' anyway.) $nopost If set to non-zero, then no crossposting will take place. This really only makes sense when used with a meta tag on a per-entry basis. $journal Journal to post as. If not defined, just uses the default. $security Set to one of 'public', 'private', or 'friends'. $userpic The userpic to use. This is validated against what userpics are available. $mood Sets the Current Mood for the post. $music Sets the Current Music for the post. $comments Leaves comments enabled if true, disables them if false. VERSION 1.0.1 minor fixes to updating entries AUTHOR Chip Marshall http://kyzoku.2bithacker.net/ BUGS None that I know of, please email any you find to me. LICENSE Copyright (c) 2004 Chip Marshall All rights reserved. Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.