Location: PHPKode > scripts > cal_TagCloud > cal_tagcloud/README.TXT
Cal Evans <hide@address.com>
My Homepage: http://www.calevans.com
Project Homepage: http://www.calevans.com/view.php/page/tagcloud
(c) 2006 Cal Evans, All Rights Reserved
Licensed under the GPL 2.0

---

1: Create a directory cal somewhere in your include_path.
2: Place TagCloud.php in it.
3: In your code use:
require 'cal/TagCloud.php';
$cloudMaker = new cal_TagCloud($yourArrayOfTags); 
// Set options here.
$cloudMaker->buildCloud();
echo $cloudMaker->cloudOutput;

In the above example, $yourArrayOfTags is a single dimensional 
array of tags. The more a tag is in the array, the higher it's 
weight and score. See tagCloydTest.php for a working example.

You can see a working example on the project homage:
http://www.calevans.com/tagCloud/


Email me if you have questions.

=C=
Return current item: cal_TagCloud