OpenCloud Samples


Example 1 - Tag cloud using proportional font size
This example displays a tag cloud analogous to the one on flickr.com, where the font size is proportional to the tag weight.

Example 2 - Tag cloud using discrete levels
This example displays a tag cloud where tags are divided into distinct levels and a different CSS style is assigned to each level.

Example 3 - Tag cloud using proportional font size (formatter class version)
The tag cloud displayed by this example is the same as example 1 but the HTML and CSS code is generated using the HTMLFormatter class.

Example 4 - Tag cloud using discrete levels (formatter class version)
The tag cloud displayed by this example is the same as example 2 but the HTML and CSS code is generated using the HTMLFormatter class.

Example 5 - Tag cloud from an RSS feed
This example reads an RSS feed from the slashdot.org site and generates a tag cloud of the most frequent article categories (needs an internet connection).

Example 6 - Tag cloud from text
This example generates a tag cloud extracting words from a text provided by the user.