TIP TagsPlugin is not installed on Foswiki.org.


Full strength Tagging system


TagsPlugin allows users to tag resources of differing types - and so the TML used to access the tags specifies this information too.

TagsPluginViews defines the common Tag widgets that can be re-used via Sectional includes.

Tag Filters

step 1: add ?tagfilter=Tag,More+Tags will thus use that filter instead of the web as a context??

There are session settable 'Filters' that will reduce the set of topics in a similar way to 'Webs' - they are session based - at least until I can work out howto save a filter to a Name, that can be used as a Pseudo-Web.


Lists the tags for the requested resource


allows users to add, remove and manipulate tags for a resource




To search for topics that are tagged with (or not tagged with), use a QuerySearch with the taggedwith(tagname) operator


list of all user's tags on the current topic


edit (the current user's) the tags on the current topic


tag cloud of all user's tags on the current topic


Installation Instructions

  1. set {DbiContrib}{DBI_dsn}, {DbiContrib}{DBI_username} and {DbiContrib}{DBI_password}
    • currently only tested using MySQL - dbi:mysql:example_com_tags:localhost
  2. create the database in MySQL server and add the user with permission to create tables
  3. initialise the tag database and to tag each topic with the webname it is in, goto

to automatically add a tag entry to each topic, add tagsplugin to your skin path

eg Set SKIN=tagsplugin,pattern

If you want to preload the tags database with Country Names, you need to install CPAN:Geo::GeoNames and click http://trunk.foswiki.org/bin/rest/TagsPlugin/updateGeoTags

You do not need to install anything in the browser to use this extension. The following instructions are for the administrator who installs the extension on the server.

Open configure, and open the "Extensions" section. Use "Find More Extensions" to get a list of available extensions. Select "Install".

If you have any problems, or if the extension isn't available in configure, then you can still install manually from the command-line. See http://foswiki.org/Support/ManuallyInstallingExtensions for more help.

Plugin Info

This Plugin uses DbiContrib to store the tagmap in a database for fast querying.

Schema & design inspired from MySQL Forge, but treating Tags as Items, so that you can tag a tag (creating a heirarchy of tags)

Plugin Author(s): Foswiki:Main.SvenDowideit
Copyright: © SvenDowideit@fosiki.com
License: GPL (Gnu General Public License 3)
Plugin Version: $Rev$
Change History:
Plugin Home: http://foswiki.org/Extensions/TagsPlugin

Related Topics: InstalledPlugins, DeveloperDocumentationCategory, AdminDocumentationCategory, SitePreferences

PackageForm edit

ExtensionClassification Information structuring and Search, Interface and Visualisation, User interactivity
ExtensionType PluginPackage
Compatibility foswiki
DemoUrl http://
SupportUrl TagsPlugin
ModificationPolicy CoordinateWithAuthor
I Attachment Action Size Date Who Comment
TagsPlugin.md5md5 TagsPlugin.md5 manage 153 bytes 09 Aug 2009 - 05:44 SvenDowideit  
TagsPlugin.sha1sha1 TagsPlugin.sha1 manage 177 bytes 09 Aug 2009 - 05:44 SvenDowideit  
TagsPlugin.tgztgz TagsPlugin.tgz manage 18 K 09 Aug 2009 - 05:44 SvenDowideit  
TagsPlugin.zipzip TagsPlugin.zip manage 25 K 09 Aug 2009 - 05:44 SvenDowideit  
TagsPlugin_installerEXT TagsPlugin_installer manage 4 K 09 Aug 2009 - 05:44 SvenDowideit  
tagging_folksonomy.pdfpdf tagging_folksonomy.pdf manage 884 K 17 May 2008 - 11:32 AdminUser mysql slide presentation
Topic revision: r5 - 09 Dec 2009, CrawfordCurrie
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy