This product allows you to add different kinds of portlets to your site to get tweets.
Usage
Twitter profile portlet
- Add a "Twitter profile Portlet" wherever you want.
- Enter a header (if you want one).
- Choose the Twitter account to use from the drop-down (see Prerequisites).
- Enter the user you want to get the feed from. (username can be with @ or not).
- Mark the checkbox for showing the avatars next to the username, or leave it unmarked for not.
- Choose the maximum results you want to show each time.
Twitter search portlet
- Add a "Twitter search Portlet" wherever you want.
- Enter a header (if you want one).
- Choose the Twitter account to use from the drop-down (see Prerequisites).
- Enter the search string you want to use.
- Mark the checkbox for showing the avatars next to the username, or leave it unmarked for not.
- Choose the maximum results you want to show each time.
Extras
From any portlet, you can:
- Click on a "#" starting word (hashtag) to go to Twitter and get further results
- Click on an "@" starting word (usernames) to go to the user profile in Twitter.
Installation
To enable this product in a buildout-based installation:
- Edit your buildout.cfg and add collective.twitter.portlets to the list of eggs to install
[buildout]
...
eggs =
collective.twitter.portlets
- You may need to extend a five.grok known good set (KGS) to make sure that you get the right versions of the packages that make up five.grok
[buildout]
...
extends =
http://good-py.appspot.com/release/five.grok/1.2.0-1
After updating the configuration you need to run ''bin/buildout'', which will take care of updating your system.
Go to the 'Site Setup' page in a Plone site and click on the 'Add-ons' link.
Check the box next to ''collective.twitter.portlets'' and click the 'Activate' button.
Note: You may have to empty your browser cache and save your resource registries in order to see the effects of the product installation.
Product's homepage
Requirements:
· Python
· Plone CMS
· collective.twitter.accounts
What's New in This Release: [ read full changelog ]
· Tested for Plone 4.3 compatibility. [hvelarde]
· Add deprecation warning to package documentation. [hvelarde]
· Fixed add-on layer interface. [hvelarde]