Dashboard > blojsom 3.0 > ... > Plugins > Twitter Notification Plugin
  blojsom 3.0 Log In   View a printable version of the current page.  
  Twitter Notification Plugin
Added by David Czarnecki, last edited by David Czarnecki on Jul 10, 2007  (view change)
Labels: 
(None)

Availability

Available as of blojsom 3.1

Description

Sends an update to your Twitter account when you add or update entries on your blog.

Installation and Setup

In your /WEB-INF/classes/blojsom-plugins.xml file, add the following:

<bean id="twitter" class="org.blojsom.plugin.twitter.TwitterNotificationPlugin" init-method="init" destroy-method="destroy">
        <property name="eventBroadcaster">
            <ref bean="eventBroadcaster"/>
        </property>
        <property name="fetcher">
            <ref bean="fetcher"/>
        </property>
    </bean>

The following properties must be set from Weblog Settings | Properties | Set Property

Property Description Default Value
plugin-twitter-sign-in Twitter username  
plugin-twitter-password Twitter password  
plugin-twitter-update-on-entry-added If an update should be sent to Twitter when an entry is added  
plugin-twitter-update-on-entry-updated If an update should be sent to Twitter when an entry is updated  
plugin-twitter-update-text Text of the update message to Twitter. Use a {0} within the text here to include the title of the entry Currently blogging {0}

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