The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME HTML::TagCloud::Simple - Generate an HTML Tag cloud (simple interface)

SYNOPSIS

    HTML::TagCloud::Simple is a very simple module that allows you to easily build tag clouds, similar to what delicious.com, flickr.com and many other websites provide (ex L<http://www.delicious.com/tag/>)

    To use:

    #!/usr/bin/perl -w

    use HTML::TagCloud::Simple;

my %h = ( foo => { count => 5, link_rel => '?count=<count>&value=<value>' }, bar => { count => 5, link_abs => 'http://bar.com' } );

my $html = HTML::TagCloud::Simple::build_cloud(\%h, 'http://baz.com/foo.php', 100, 100);

...

    For more examples, see t/*.t

DESCRIPTION

    Initial implementation has only one function:

     build_cloud(\%hash, $base_url, $height, $width, [$sort_method], [$min_count]) -- returns an HTML string

     $height/$width - because this function returns a <div> with the tag inside, it needs to know how big to make the <div>
    $base_url- will be concatenated to to $hash{link_rel} to create an FQDN
     $sort_method   - can be 'ascii', 'value', 'reverse-ascii' or 'reverse-value'
    $min_count     - if $hash{count} < this, the link will not be included in the tag

AUTHOR

    Conor Horan-Kates, "<conor@cpan.org>".

COPYRIGHT

    This module is free software; you can redistribute it or modify it under the same terms as Perl itself.