kundart.socialpublisher

by Alvaro Aguirre last modified Aug 16, 2011 04:28 PM

Publish your content to Twitter and Facebook easily

Project Description

Overview

 

Kundart SocialPublisher allows you to publish your content types to Twitter and/or Facebook just by one click.

The purpose of this product is to help Content Managers or Social Community Managers to rapidly publish their content to Social Networks without having to do it manually to each case.

This is NOT a social sharing product. This product is aimed to publish your content to predefined facebook/twitter accounts.

Dependencies

It requires python-twitter to work properly, which is installed automatically during the buildout process.

Requirements

Plone 4, but should work on Plone 3 (not tested)

Installation

Just add kundart.socialpublisher to the eggs section of your buildout configuration and run buildout

[buildout]
...
eggs =
    kundart.socialpublisher

In order to make visible the viewlet with the Facebook and Twitter buttons,  your content types must implement the ISocialPost interface. By default, News Item objects will implement this interface after installing the SocialPublisher product.

   <class class="Products.ATContentTypes.content.newsitem.ATNewsItem">    
        <implements interface="kundart.socialpublisher.interfaces.ISocialPost" />
    </class>     

Configuration

In order to be able to publish to Facebook and Twitter it's necessary to obtain the required tokens and access keys provided by both social networks.

We are not going to explain here about how you can get these tokens but you can read the Facebook and Twitter documentation in the following links.

http://developers.facebook.com/docs/authentication/

https://dev.twitter.com/

Furthermore, Bitly (http://bitly.com/), a url shortening service, is used to publish your content, so it's necessary to get a Bitly account and obtain the access key also in this case.

A new configuration panel is added to the configuration area of Plone where you will be able to set the tokens and secret keys for Facebook, Twitter and Bitly.

Important: If you are testing this product in a non-public network, it's necessary to add a fake domain to your hosts file. Ex: 127.0.0.1       example.com

This is because the bitly service will try to reach the portal where this product has been installed, and if it doesn't you will get an error, so you must use something like http://example.com:8080/Plone

Permissions

Site Managers and content editors are able to publish the content to Twitter and Facebook.

Self-Certification

[X] Internationalized

[ ] Unit tests

[X] End-user documentation

[ ] Internal documentation (documentation, interfaces, etc.)

[ ] Existed and maintained for at least 6 months

[X] Installs and uninstalls cleanly

[X] Code structure follows best practice

Current Release
kundart.socialpublisher 1.1

Released Aug 16, 2011 — tested with Plone 4

Added MANIFEST file
More about this release…

Download file Get kundart.socialpublisher for all platforms
kundart.socialpublisher-1.1.tar.gz
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Licenses Status
1.1 Aug 16, 2011 Added MANIFEST file More about this release…
Plone 4
GPL final
1.0 Jul 27, 2011 Initial Release More about this release…
Plone 4
GPL final

Comments (0)