Tweet Cloud for Wordpress
Hi, thanks for taking an interest in my Tweet Cloud plugin for Wordpress.
The Author
Stephen McIntyre of http://stephenmcintyre.net, sole developer of the Tweet Cloud plugin.
Hit me up on Twitter: @_bigSteve
Download
Tweet Cloud plugin Version 1.4
Feedback
All feedback is highly encouraged so please don't hesitate to raise issues.
Click here and use email address on the following page.
Donate
Donations are entirely impartial. By donating you help to continue the development of this plugin and future products from my blog.
Thank you :)
Screenshots
Installation
- Upload "sm-tweet-cloud.php" into the "wp-content/plugins/" directory.
- Activate "Tweet Cloud" from the "Plugins" menu in the "Admin Control Panel".
- Copy and paste one of the code examples below into any PHP page on your site.
- Enjoy :)
Code Examples
Tweet Cloud
<?php sm_tweet_cloud("USERNAME", WORDLIMIT, WORDLINKS, REMOVE_TYPES, EXCLUDES) ?>
Profile Link
<?php sm_tweet_link("USERNAME") ?>
Sidebar Widget
Copy and paste this into "sidebar.php" after a </li> tag or the first <ul> tag
<?php sm_tweet_widget("USERNAME", WORDLIMIT, WORDLINKS, REMOVE_TYPES) ?>
Parameters
USERNAME (remember to enclose in quotations "")
The user name assigned to your account
WORDLIMIT (can only be a number, don't enclose in quotations)
The amount of words displayed in the Cloud
default = 20
MINCHAR (can only be a number, don't enclose in quotations) [deprecated - use EXCLUDES]
Filters words to this set minimum amount of characters so they won't be counted and listed
default = 3
WORDLINKS (can only be true or false, don't enclose in quotations)
Sets whether words display as links in the cloud (on = true, off = false)
default = true
REMOVE_TYPES (can include any or all of '@', '#', and 'RT')
Doesn't count tweets beginning with @, #, or RT respectively
default = array()
EXCLUDES
Array of common words to exclude from cloud
default = array('a','an','and','are','as','at','be','but','by','can','can\'t','do','does','don\'t','for','from','get','have','he','her','his','i','i\'m','in','is','it','me','my','not','of','on','one','or','say','she','that','the','their','they','this','to','we','will','won\'t','with','you')
Release Notes
1.4
- Type modifying paramater to remove different tweet types
- List of exclusions added to filter out common words (deprecates $minchar)
- Saves data to local file to prevent unnecessary Twitter search calls
1.3
- Uses JSON formatted Twitter Search API to speed up data retrieval process
- Doesn't require user ID parameter
- Results parameter added to alter number of tweets processed at a time
1.2
- Links each word to a Twitter Search result of your status updates that they originated from
- Wordlinks parameter added to set links on/off
- XHTML compliance with W3C standards
1.1
- Displays words in most common case format (i.e. WordPress instead of wordpress)
- cURL used for feed access instead of relying on allow_url_fopen being on
- Improved error handling including newly added user name check