twiki: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(see also, move mediawiki specific text to mediawiki page, add section / link to twiki microformats plugin)
(also hCalendar support in the plugin)
Line 11: Line 11:
== MicroformatsPlugin ==
== MicroformatsPlugin ==


The TWiki [http://twiki.org/cgi-bin/view/Plugins/MicroformatsPlugin MicroformatsPlugin] supports [[hCard]] with a little [[xfn]]:
Supports [[hCalendar]], [[hCard]], and [[XFN]].
* usage: =%HCARD{"WikiName"}% - uses the UserForm data on a user's Topic to create a hCard.  
 
The TWiki [http://twiki.org/cgi-bin/view/Plugins/MicroformatsPlugin MicroformatsPlugin] supports hCard with a little xfn, and also hCalendar. usage:  
* =%HCARD{"WikiName"}% - uses the UserForm data on a user's Topic to create a hCard.  
* =%HEVENT{start="" end="" url="" location="" summary="" description=""}% - e.g. %HEVENT{start="2011-11-20" url="http://twiki.org/" location="Cupertino Community Center" summary="TWiki helps the enterprise to be agile" description="TWiki Enterprise Collaboration Platform"}%


For more info see: http://twiki.org/cgi-bin/view/Plugins/MicroformatsPlugin
For more info see: http://twiki.org/cgi-bin/view/Plugins/MicroformatsPlugin

Revision as of 01:51, 24 November 2011

<entry-title>TWiki</entry-title>

TWiki is an enterprise-grade open-source Wiki platform, used internally by companies like BT, Disney and Yahoo.

They have a small amount of developer documentation from 2008 concerning support for microformats in TWiki, see [1].

This page documents ways TWiki can be enhanced using microformats:

MicroformatsPlugin

Supports hCalendar, hCard, and XFN.

The TWiki MicroformatsPlugin supports hCard with a little xfn, and also hCalendar. usage:

  • =%HCARD{"WikiName"}% - uses the UserForm data on a user's Topic to create a hCard.
  • =%HEVENT{start="" end="" url="" location="" summary="" description=""}% - e.g. %HEVENT{start="2011-11-20" url="http://twiki.org/" location="Cupertino Community Center" summary="TWiki helps the enterprise to be agile" description="TWiki Enterprise Collaboration Platform"}%

For more info see: http://twiki.org/cgi-bin/view/Plugins/MicroformatsPlugin

Automatically mark-up recurring data patterns in pages with microformats

You could go further with some common types of data. Mentions of and links to other TWiki users could be fully marked up as hCards.

Mark up TWiki user profile pages with hCard

TWiki profile pages, which already generate a certain amount of structured data for URLs, organizations, locations and so forth, should be marked up with hCard.

These are directions for development that come to mind straight away, I'm happy to help spec more specific implementation details.

see also