PHP Classes
Icontem

File: README.TXT


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cal Evans  >  cal_TagCloud  >  README.TXT  
File: README.TXT
Role: Documentation
Content type: text/plain
Description: Basic instructions
Class: cal_TagCloud
Display a tag cloud from an array of tags
 

Contents

Class file image Download
Cal Evans <cal@calevans.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=

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products