Home » HTML » HTML_TagCloud
Generate a "Tag Cloud" in HTML and visualize tags by their frequency. Additionally visualizes each tag's age.
This package is unmaintained.
Download latest release 1.0.0 (archived versions might be outdated)
License: PHP License
Description
This package can be used to generate tag clouds. The output is HTML and CSS.
A Tag Cloud is a visual representation of so-called "tags" or keywords, that do
have a different font size depending on how often they occur on the page/blog. A
less used synonym for a Tag Cloud that came up before Web 2.0 is the term
"weightet list". Popular examples of Tag Clouds and their use can be found in
action at pages like Flickr, Del.icio.us and Technorati. A nice overview on what
a Tag Cloud can actually do can be found at WikiPedia:
http://wikipedia.org/wiki/Tag_cloud
This package does not only visualize frequency, but also timeline information.
The newer the tag is, the deeper its color will be; older tags will have a
lighter color.
The main goal of "HTML_TagCloud" is to provide an easy to implement and
configureable Tag Cloud solution that is suitable for any PHP-based webapp.
Features:
- set up each tag's name, URL, frequency, age
- customizable colors
- customizable font-sizes
Documentation
Maintainers
- Bastian Onken (bastianonken) — lead, active
- Shoma Suzuki (shomas) — lead, inactive
Dependencies
Required
- PHP (>= 5.2.0)
- PEAR Installer (>= 1.4.0b1)
- date (extension)
Optional
- Image_Color (>= 1.0.2)
Releases
- 1.0.0 (stable, 2011-03-02)
Release notes
License: PHP License
No change since 0.2.4 beta; promoted to stable version.
- 0.2.4 (beta, 2010-02-19)
Release notes
License: PHP License
New Features:
* req #17052: Added possibility to set up individual tag separators - 0.2.3 (beta, 2008-11-09)
Release notes
License: PHP License
Bug fixes:
* bug #14965: generateEpocLevel can't actually be used - 0.2.2 (beta, 2008-04-07)
Release notes
License: PHP License
Feature requests:
* implemented req #13598: Add public getElementCount() method to return the
number of elements in a cloud - 0.2.1 (beta, 2008-03-10)
Release notes
License: PHP License
Fixed issues:
* fixed bug #13348: PHP warning message when not using timestamps
* fixed issue with PHP notice message when not using counts
* fixed issue with PHP notice message when not using urls
* added missing code documentation to _buildHTMLTags and simplified function calls
* addElement: name is now mandatoryFeature requests:
* implemented #12417: Adding weighted limitation of elements - 0.2.0 (beta, 2008-03-05)
Release notes
License: PHP License
New features
- Added ability to set up timeline colors for tags dynamically by setting up a
latestColor and a earliestColor and the number of thresholds.
(requires PEAR package "Image_Color")
- Added ability to set up multiple tag cloud per page by attaching a unique id
to each tag cloud's individual css class identifiers
Fixed issues
- Fixed issue with setting up basefonsize and fontsizerange on extending class
(doesn't got recognized when instance isn't constructed with these values;
so they were useless in most of the cases) - 0.1.3 (beta, 2008-01-23)
Release notes
License: PHP License
Quality review release
- Heavily applied PEAR Coding Standards
- extended unit testsFixed issues
- Fixed hard-wired css class name: If cloud consists of one tag and epocLevel
was set up by extending the class member, the default value for the css class
may be incorrect if it was not "latest". This behaviour has been changed. The
value for the css class is now based on the last value of a _epocLevel key
string.
- Returned value of _buidHTMLTags was of wrong type if no tags were set up.
This behaviour has been changed. An empty tag cloud will now be displayed
with text "not enough data" instead of returning an empty string. - 0.1.2 (beta, 2007-11-25)
Release notes
License: PHP License
Bug fix release
Fixed bug #10569 "Notice on line 401 running example2.php"
Fixed bug #12419 "Extended class defines wrong array parameters" - 0.1.1 (beta, 2006-10-03)
Release notes
License: PHP License
removed docs/CVS
- 0.1.0 (beta, 2006-10-02)
Release notes
License: PHP License
First Release as PEAR Package
Bugs
| ID | Status | Type | Version | Date | Summary |
|---|---|---|---|---|---|
| #10569 | Closed | Bug | 0.1.1 | 2007-03-30 | Notice on line 401 running example2.php |
| #12417 | Closed | Req | 0.1.1 | 2007-11-10 | Adding weighted limitation of elements |
| #12419 | Closed | Bug | 0.1.1 | 2007-11-10 | Extended class defines wrong array parameters |
| #13348 | Closed | Bug | 0.2.0 | 2008-03-08 | PHP warning message when not using timestamps |
| #13598 | Closed | Req | CVS | 2008-04-05 | Add public getElementCount() method to return the number of elements in a cloud |
| #13899 | Closed | Doc | 2008-05-14 | User note that is a documentation problem | |
| #14965 | Closed | Bug | 0.2.2 | 2008-11-06 | generateEpocLevel can't actually be used |
| #17052 | Closed | Req | 0.2.3 | 2010-02-02 | Use with XHTML |
| #19109 | Closed | Bug | SVN | 2011-12-07 | upgrade PHPUnit require statements (for PEAR QA Team) |