How to Add a Twitter Feed on Your Plone Site
How you can grab a Twitter RSS feed and place it in a Plone RSS portlet.
- First you have to grab an RSS feed off the Twitter site. Twitter no longer posts a link to RSS feeds, but you can do this trick: Go to the following URL, but replace xxxxx with the TwitterFeed username:
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=xxxxx
For example:
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=weblion
- When you do this, you should see the content of the Twitter RSS feed. Copy this URL; you will need it in a minute.
- Click Manage Portlets the Folder or Page where you want the Twitter feed to display.
- In the Add Portlet menu, select RSS Feed.
- You will see the following screen:
In the Number of items to display field, Indicate how many Twitter posts you want to display in the portlet. You can edit the portlet and change this number any time.
In the URL of RSS feed field, place the URL you created in Step 1. For example,
http://api.twitter.com/1/statuses/user_timeline.rss?screen_name=weblion
The Feed reload timeout field indicates the number of minutes that will pass between times when the portlet will refresh data on your site. The default is 100 minutes. That means that every 100 minutes, the portlet will refresh itself and show any new Tweets posted during that time. If needed, you can shorten the Feed reload timeout so that it posts new Tweets more often. - Save your changes.
- Follow the Return link to go back to your Page or Folder.
- That's it! Your RSS feed should now be displaying.
Why is my RSS portlet title so weird? Can I change it?
If you're asking this question, you're probably still using Plone 3. In Plone 3, it is not possible to change the Title of RSS portlets -- the portlet grabs the title from part of the feed. In Plone 4, you will be able to specify a Title of your choice for RSS feeds.


