Personal tools
You are here: Home Products TagCloud
Navigation
Log in


Forgot your password?
New user?
 
Document Actions

TagCloud

RSS Feed Category: Code examples — Other products by this author
TagCloud is a proof-of-concept product to add a tag cloud made with the keywords of all items in a Plone site.

Current release

No stable release available yet.

Experimental releases

Upcoming and alpha/beta/candidate releases

  • Alpha releases should only be used for testing and development.
  • Beta releases and Release Candidates are normally released for production testing, but should not be used on mission-critical sites.
  • Always install on a separate test server first, and make sure you have proper backups before installing.
TagCloud 0.3 (Release candidate) Released Jul 5, 2007
RAM Cache Manager associated with portlet to reduce CPU load, code refactoring and test suite.

Project Description

Project resources

TagCloud is a proof-of-concept product to add a tag cloud portlet made with the keywords of all items in a Plone site.

This product is currently being used on the breaking news site of the mexican diary La Jornada.

TagCloud is now part of the Collective, so feel free to contribute to its development.

Installation

This product was tested on Plone 2.5.2.

Place TagCloud in the Products directory of your Zope instance and restart the server. (Linux users should fix permissions of files and folders first.)

Go to the Site Setup page in the Plone interface and click on the Add/Remove Products link.

Choose TagCloud (check its checkbox) and click the Install button.

You may have to empty your browser cache to see the effects of the product installation/uninstallation.

Uninstall

This can be done from the same management screen.

How does it works

TagCloud searchs for all different keywords on friendly types and then creates a cloud based on the number of times every single keyword is found.

To define friendly types go to the Site Setup page in the Plone interface and click on the Search Settings link; all types used on searches will also be used to build the cloud.

The algorithm to scale the tags and some ideas were taken from Anders Pearson's "scaling tag clouds" blog post.

Please note that search engine spiders may stress your site if you have a bunch of tags, so it's a good idea to add the following lines to your robots.txt file:

User-Agent: *
Disallow: /search	# don't do searches

To-do list

  • Create a configlet to define TTL of the cache and allow to purge it
  • Limit the items that build the cloud in two different ways:
    • on a given date like 'today' (currently all items are used)
    • to a list of review states (currently only 'published' items are used)
by hvelarde last modified July 20, 2007 - 20:56
Contributors: Jan Ulrich Hasecke
Copyright (C) 2006-2007 DEMOS, Desarrollo de Medios, S.A. de C.V.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by