Dashboard > blojsom > ... > Available Plugins > Cross Post Plugin
  blojsom Log In   View a printable version of the current page.  
  Cross Post Plugin
Added by Mark Lussier, last edited by David Czarnecki on Sep 04, 2005  (view change)
Labels: 
(None)

Description

This plugin allows you to automatically cross post entries added to any category to another service/blog that supports the Blogger or MetaWeblog APIs.

Availability

This plugin is available as of blojsom 2.23.

Installation and Setup

In your global /WEB-INF/plugin.properties file, add the following line:

crosspost=org.blojsom.plugin.crosspost.CrosspostPlugin

You do not need to add "crosspost" to any of the flavor-based plugin chains. This plugin is event driven and is based on blog entries that are added to the system.

The Crosspost plugin has its own configuration file, crosspost.properties, which must be referenced in /WEB-INF/web.xml.

<init-param>
    <param-name>plugin-crosspost</param-name>
    <param-value>crosspost.properties</param-value>
</init-param>

The crosspost.properties file will be located in the respective /WEB-INF/(blog-id) directories and has a number of configurable parameters:

#
# Crosspost Plugin Configuration
#
destinations=MyOtherBlog

MyOtherBlog.type=metaweblog
MyOtherBlog.title=Mark's Other Blojsom Blog
MyOtherBlog.url=http://my.blojsom.com/xmlrpc/xposter
MyOtherBlog.userid=xposter
MyOtherBlog.password=mypassword
MyOtherBlog.category=/SomeCategory
Parameter Required Default value Description
MyOtherBlog.type true Blogger The API to use for crossposting to this destination. Choices are Blogger and metaWeblog.
MyOtherBlog.title false   Descriptive Title for this destination.
MyOtherBlog.url true   The XML-RPC Endpoint to cross post to.
MyOtherBlog.userid true   The userid to use for crossposting to this destination.
MyOtherBlog.password true   The password to use for crossposting to this destination.
MyOtherBlog.category true / Category (BlogId for you Blogger Users) to use for crossposting to this destination.

To enable automatic crossposting, you need to add a piece of category meta-data to each category you want to cross post. The easiest way to do this is through the Web Administration, though you can also edit the category meta-data by hand.

blojsom.crosspost=MyOtherBlog

The value of the property can be a comma seperated list of crosspost destinations. You can crosspost to an unlimited set of destinations if you are so inclined.

Usage and URL Parameters

There are no URL parameters to control the operation of the Crosspost Plugin

Context Attributes and Types

There are no context attributes set by the Crosspost plugin.

Site running on a free Atlassian Confluence Open Source Project License granted to blojsom. Evaluate Confluence today.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.5.4 Build:#809 Jun 12, 2007) - Bug/feature request - Contact Administrators