This is a plugin I wrote for the Widgets plugin by Automattic made for Wordpress 2.x. It will display a tag cloud of links from your flickr account. It is my first attempt at a Wordpress widget so please let me know if you have any issues using it.
Release Notes
Version 1.5:
- Updated for use with Wordpress 2.5
- Removed redundant screen name attribute
Version 1.4:
- Added target attribute setting for anchor tags
- Added rel=”nofollow” to anchor tags
- Fixed bug using curl for file_get_contents
- General code cleanup
Version 1.3:
- Updated code to use curl instead of file_get_contents().
- Fixed HTML output bug so now HTML output validates.
- Fixed bug so now diable cache setting works properly.
Version 1.2:
- Special Thanks to Unai Goikoetxeta for doing the majority of the work on this update.
- Cache support for not having to make requests to flickr each time.
- Real font sizes according to the Importance of tags instead of generating random font sizes.
- Improved tag limiting algorithm according to popularity, which shows the most important X tags instead of the first X ones as it happens with your last version.
Version 1.1:
- Added Max Count setting to allow the ability to limit the number of tag links displayed
Version 1.0:
- Initial release tested only on version 2.1 of Wordpress
Like this plugin?
Download
Flickr Tag Cloud Widget 1.5
Requirements
- Wordpress 2.x or higher - http://wordpress.com/
- Sidebar Widgets Plugin - http://automattic.com/code/widgets/
- A Flickr API Key - http://www.flickr.com/services/api/keys/
- A Sidebar enabled Theme
Installation
Extract the flickr-tagcloud-widget.php file into your wp-content/plugins/widgets/ directory. Go to your wordpress admin pages and click on ‘Plugins’ activate the plugin called “Flickr Tag Cloud Widget”.
Configuration
1. Go to your wordpress admin and click on ‘Presentation’ then ‘Sidebar Widgets’.
2. Drag the widget called “Flickr Tag Cloud” to your sidebar.
3. Click the square icon next to the widget to open the config screen.
The following are the settings available on the widget:
- Title: The title that will appear in the sidebar (optional).
- API Key: Go to http://www.flickr.com/services/api/keys/ to get an API key. This is needed to access your tags.
Flickr ID: Use http://idgettr.com/ to find your ID. Please note, this is not your username or screen name. - Cache Time: The cache time value in seconds. ( -1 = disable, 604800 = a week )
- Min Font Size: The minimum size in pixels to be used for the tag links.
- Max Font Size: The maximum size in pixels to be used for the tag links.
- Max Count: The maximum number of tag links to be displayed. ( -1 = unlimited )
- Link Target The target attribute for the anchor tags. Allows you to set where the links open.
Copyright & Disclaimer:
Copyright (c) 2007-2008 by Josh Gerdes
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Need Support?
Please DO NOT post issues, bugs, feature requests, or ask for installation help in the comments section on this page. I will not approve those types of comments on this page. Instead, please visit my support forum which I created specifically to help with those types of problems.
For help visit the Support Forum (http://forums.joshgerdes.com).
June 10th, 2008 at 10:27 am
very nice work…i used a lot of your plug in at my website
coolnailsart.com
Thank you…great work
June 9th, 2008 at 11:06 am
good plugin!!!
http://www.mp3-duplicate-finder.com
March 13th, 2008 at 3:08 am
It seems very good plugin…
http://www.ashisoft.com
February 9th, 2008 at 8:18 am
And now I’ve figured out the rest of the story to get this working 100%….
I had to configure the widget panel by replacing the min and max default font size settings with actual font sizes in pixels: 9 and 18 (just randomly selected min/max font sizes) and now my Flickr tags appear on my web site’s sidebar: . Awesome!
February 6th, 2008 at 5:51 pm
Great one, can I incorporate it into my gallery plugin?
January 14th, 2008 at 6:15 am
Hi Josh,
thanks for the update! Any vague schedule when we can expect the new version?
January 13th, 2008 at 11:27 am
Hello Chris, Thanks for your comments. This plugin is still under development but since I do not profit from its development it does not make it to the top of my priority list. I still plan on incorporating your ideas along with a few other enhancements in the future. However, I do not have a timeline for when that will be done. Thanks for you patience.
January 12th, 2008 at 4:54 am
Oh yeah and another request would be that all created links have ‘rel=”nofollow”‘ added to them. Maybe even as an option box to check?
Hallo?
Will the Widget be still developed further? By getting no response for my former answer, I assume the worst.