PHP Classes
Icontem

File: example.php


  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 Er. Rochak Chauhan  >  Tag Cloud Generator  >  example.php  
File: example.php
Role: Example script
Content type: text/plain
Description: example.php
Class: Tag Cloud Generator
Generate tag cloud from lists of links
 

Contents

Class file image Download
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>TagCloud Generator:: DMW Technologies Pvt. Ltd.</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="Tag Cloud Genrator, DMW Technologies" />
    <meta name="description" content="Tag Cloud Generator" />
    <meta name="author" content="DMW Technologies Pvt. Ltd." />
    <meta name="ROBOTS" content="ALL" />    
    <style type="text/css">
        a:hover { background-color:#EE918E;}
    </style>
</head>
<body>
<div>
<?php
$sampleString
="What do you have when a lawyer is buried up to his neck in sand? enough sand.";
$sampleArray=array("Rochak Chauhan,http://www.rochakchauhan.com,4",
                   
"DMW Validator,http://www.dmwvalidator.com,6",
                   
"PHP Classes,http://www.phpclasses.org,9"
                  
);

require_once(
"TagCloudGenerator.inc.php");
$tagCloudGenerator= new TagCloudGenerator();

//echo $tagCloudGenerator->generateTagCloudFromString("Rochak Chauhan","www.rochakchauhan.com",3);
//echo $tagCloudGenerator->generateTagCloudFromArray($sampleArray);
//echo $tagCloudGenerator->generateTagCloudFromCsv('sample.csv');
//$tagArray=$tagCloudGenerator->generateTagsFromText($sampleString);
echo $tagCloudGenerator->generateTagCloudFromText($sampleString);
?>
</div>
</body>
</html>

 
  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