Semantic web development and publishing

WordPress Wordle

“WordPress Wordle” is a very simple WordPress plugin which allows you to print out tag cloud text suitable for importation into Wordle. If you ever wanted to make a Wordle but didn’t know how to create the text from your WordPress tags then this plugin is for you. All you need to do is place the shortcode onto a post or page and then copy and paste the output into Wordle.

Installation

  1. Download the WP-Wordle plugin
  2. Unzip the file and upload to your WordPress plugins folder
  3. Enable the plugin
  4. Add the following shortcode to your post or page. You may wish to make it private if you don’t want others seeing the output.
    caching dbpedia drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal hosting mercury performance performance performance performance performance performance performance performance performance performance performance performance performance plugin pressflow semanticweb topicmaps uriverse wikipedia wordle wordpress wordpress
    or add the following PHP to a template:
    <?php if ( function_exists ('wordle_tags') ) {
    wordle_tags();
    } ?>
  5. View the page or post and copy the output.
  6. Go to Wordle and paste the text in.

Variables

It is possible to customise the output by include term ids to be included and excluded, as well as limiting the number of terms returned. To discover the term id of a tag, go the the admin dashboard, view tags and mouseover the tag you are interested in. You will see the ID in the info bar at the bottom of your browser.

This plugin takes the following variables:

$include
Include only these term IDs – comma separated list. Defaults to an empty string.

$exclude
Exclude these term IDs – comma separated list. If $include is specified then $exclude is ignored. Defaults to an empty string.

$number
The number of tags returned. Defaults to an empty string.

Examples

Templates

simple use:
<?php echo wordle_tags(); ?>

include terms 1 and 2:
<?php echo wordle_tags('1,2'); ?>

exclude terms 3 and 4:
<?php echo wordle_tags('', '3,4'); ?>

limit to top 100 tags:
<?php echo wordle_tags('', '', '100'); ?>
<?php echo wordle_tags('1,2', ', '100'); ?>
<?php echo wordle_tags('', '3,4', '100'); ?>

Shortcodes

simple use:
caching dbpedia drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal hosting mercury performance performance performance performance performance performance performance performance performance performance performance performance performance plugin pressflow semanticweb topicmaps uriverse wikipedia wordle wordpress wordpress

include terms 1 and 2:

exclude terms 3 and 4:
caching dbpedia drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal hosting mercury performance performance performance performance performance performance performance performance performance performance performance performance performance plugin pressflow semanticweb topicmaps uriverse wikipedia wordle

limit to top 100 tags:
caching dbpedia drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal hosting mercury performance performance performance performance performance performance performance performance performance performance performance performance performance plugin pressflow semanticweb topicmaps uriverse wikipedia wordle wordpress wordpress

caching dbpedia drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal drupal hosting mercury performance performance performance performance performance performance performance performance performance performance performance performance performance plugin pressflow semanticweb topicmaps uriverse wikipedia wordle wordpress wordpress

Version History

  • 20090630 0.1 – Initial release