PHP-Klasse::PHP Tag Cloud 18.06.2007

PHP-Klasse::PHP Tag Cloud 18.06.2007

Kurzbeschreibung: Display a tag cloud from a list of weighted words

Veröffentlicht am: 18.06.2007

Gruppe(n):

  • Content management
  • html

Beschreibung:

This class can be used to generate a tag cloud from a list of words.

It builds a list of words from an associative array with multiple words that is passed to the class constructor. It may also add individual words later.

Each word is associated to a weight. The weight defines the relative size of the words in the tag cloud.

The class may shuffle the words to make the tag cloud return the words in a random order.

The class may return the tag cloud as an HTML string with the words rendered with CSS styles associated to each size, or as an array of words and associated sizes so the words can be rendered in a customized way by the application.

Link: PHP Tag Cloud








XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>



Blogroll

Lorem ipsum

These 3 boxes are widgets and can be edited through the admin page, just like the sidebar.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Impressum