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:
| 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.
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.