Easy Timeline Plugin

Generate graphical timeline diagrams from markup text

As the saying goes: a picture is worth a thousand words. This is certainly true for graphical timelines. A detailed listing of events and dates in tabular form may offer the reader a lot of specifics, but may fail to provide an overview, a grand perspective.

This plugin allows one to use %TIMELINE% tags to generate a timeline on the fly. This plugin is equal in function to the EasyTimeline Plugin for MediaWiki by Erik Zachte, on which this is based.

For first time users EasyTimelinePlugin may not seem that easy at all. As with all script languages it takes some getting used to. Also the syntax description may be a bit bewildering due to its sheer size. Fortunately many elements of the script language are optional.

The 'Easy' in EasyTimelinePlugin conveys the message that once a timeline exists it is not that hard to understand, enhance or correct.

Full syntax and markup description is available at http://infodisiac.com/Wikipedia/EasyTimeline/Syntax.htm.

Syntax

%TIMELINE%
Timeline markup
%ENDTIMELINE%

Examples

Icelandic Heritage Example

Pretty standard timeline, easy to extend.

Pre-rendered sample:

IcelandicHeritageExample.png

Plugin (if installed):

Verbatim:
%TIMELINE%
ImageSize = width:270 height:300
PlotArea  = left:45 right:0 bottom:20 top:20
AlignBars = early

DateFormat = yyyy
Period     = from:1944 till:2005
TimeAxis   = orientation:vertical
ScaleMajor = unit:year increment:4 start:1944

Colors=
  id:1   value:rgb(1,0.4,0.2)
  id:2   value:rgb(0.8,0.6,0)
  id:3   value:rgb(1,0.8,0)
  id:4   value:rgb(1,0.6,0.2)
  id:5   value:rgb(0.6,0.2,0.2)

PlotData=
  bar:Leaders width:25 mark:(line,black) align:left fontsize:S shift:(25,-5) anchor:middle

  from:start till:1952 color:1  text:"1944-1952_[[Sveinn Bj�rnsson|Sveinn Bj�rnsson]]"
  from:1952  till:1968 color:2  text:"1952-1968_[[�sgeir �sgeirsson|�sgeir �sgeirsson]]"
  from:1968  till:1980 color:3  text:"1968-1980_[[Kristj�n Eldj�rn|Kristj�n Eldj�rn]]"
  from:1980  till:1996 color:4  text:"1980-1996_[[Vigd�s Finnbogad�ttir|Vigd�s Finnbogad�ttir]]"
  from:1996  till:end  color:5  text:"1996-_[[�lafur Ragnar Gr�msson|�lafur Ragnar Gr�msson]]"
%ENDTIMELINE%

Windows Versions Example

An example of multiple parallel timelines. View Raw Text of this topic to see source.

WindowsVersionsExample.png

Binary Logic Example

This plugin might be of help in descriping binary logic execution patterns, as for instance a figure like the one below is not too hard to produce. View Raw Text of this topic to see source.

BinaryLogicExample.png

UNIX Versions Example

Information dense graphic, heavy use of mouseover areas. View Raw Text of this topic to see source.

UNIXVersionsExample.png

Kurdistan Workers Party Example

Very condensed timeline. Not taking up much space, but very informative in it's layered telling. View Raw Text of this topic to see source.

KurdistanWorkersPartyExample.png

New Kingdom Example

Typical chronological "Microsoft Project" look. View Raw Text of this topic to see source.

Btw: There's no hinderance to having the bars overlap if wanted. (I guess that's not how the Kingdom preferred it to be, though) smile View Raw Text of this topic to see source.

NewKingdomExample.png

Freeciv Timeline Example

Very spartanic look, only a few colours used. View Raw Text of this topic to see source.

FreecivTimelineExample.png

Vocal and Instrumental Pitch Ranges

An example on displaying something that is not chronological at all. View Raw Text of this topic to see source.

Vocal_and_Instrumental_Pitch_Ranges_Example.png

Timeline of Conquests of the Ottoman Empire Example

A somewhat dense and graphic timeline; could probably be lightened with good effect :-). View Raw Text of this topic to see source.

Timeline_of_Conquests_of_the_Ottoman_Empire_Example.png

Coming from TWiki?

If you are coming from the TWiki version of this plugin you will need to be aware that the syntax of this plugin has changed. The TWiki version used the following syntax:

<easytimeline>
...
<easytimeline>

However, this syntax can cause problems when using a WYSIWYG editor and is different than the standard %MACRO% syntax. Therefore the syntax has been changed in this version to:

%TIMELINE%
...
%ENDTIMELINE%

There is a script included that converts topics using the old syntax to the new. Always test on a copy of your data first!

Installation Instructions

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.

Once you have installed the plugin you should visit configure and check that the paths for Ploticus and the EasyTimeline.pl script are correct.

Plugin Info

Plugin Author(s): Foswiki:Main.AndrewJones
Previous Author(s): TWiki:Main.SteffenPoulsen, TWiki:Main.MikeMarion
Copyright: © 2009, Andrew Jones, © 2006, Mike Marion
License: GPL (Gnu General Public License)
Plugin Release: 1.0
Plugin Version: 3066 (2009-03-13)
Change History:  
13 Mar 2009 Foswiki:Tasks.ItemItem1252 - New 1.0 release for Foswiki; New standard syntax and script to convert; Updated EasyTimeline?.pl script; Changes to code to use more of the official extension API; Configuration items now set in configure - Foswiki:Main.AndrewJones
20 Jul 2006: v2.1 - Support for hierarchical webs. (TWiki:Main.SteffenPoulsen)
22 Apr 2006: v2.0 - Rewrote plugin from scratch. Multiple timelines per topic and sandbox security mechanism. Generated files attached to timeline topic. EasyTimeline.pl script now shipped in plugin. Multiple demonstration samples added. Doc updated. (TWiki:Main.SteffenPoulsen)
11 Feb 2006: v1.0 - Initial version
Dependencies:
NameVersionDescription
Digest::MD5>0Required
File::Path>0Required
Ploticus>0Required. Available from http://ploticus.sourceforge.net/doc/welcome.html
Plugin Home: http://foswiki.org/Extensions/EasyTimelinePlugin
Support: http://foswiki.org/Support/EasyTimelinePlugin

Related Topics: Plugins, DeveloperDocumentationCategory, AdminDocumentationCategory, DefaultPreferences, SitePreferences

Topic attachments
I Attachment Action Size Date Who Comment
pngpng BinaryLogicExample.png manage 0.5 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng FreecivTimelineExample.png manage 1.7 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng IcelandicHeritageExample.png manage 2.0 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng KurdistanWorkersPartyExample.png manage 1.4 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng NewKingdomExample.png manage 4.8 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng Timeline_of_Conquests_of_the_Ottoman_Empire_Example.png manage 3.5 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng UNIXVersionsExample.png manage 7.1 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng Vocal_and_Instrumental_Pitch_Ranges_Example.png manage 11.0 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng WindowsVersionsExample.png manage 2.6 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
elsemap graph30f924ff6702cb34da62144e6802ad0a.map manage 3.7 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graph30f924ff6702cb34da62144e6802ad0a.png manage 4.8 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
elsemap graph4fff4b45dd4894a8885a05656a9393ee.map manage 0.6 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graph4fff4b45dd4894a8885a05656a9393ee.png manage 2.0 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graph62dbce72a4a0c373ac73bcfbf19f693b.png manage 1.7 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
elsemap graph77641703773eb4466e9c588be994f42f.map manage 2.6 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graph77641703773eb4466e9c588be994f42f.png manage 3.5 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graph89979b95cd9c63320889ff4962c7a77c.png manage 0.5 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
elsemap graph9204ddd2b912f61ef79c3c3d167af2b2.map manage 6.6 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graph9204ddd2b912f61ef79c3c3d167af2b2.png manage 11.0 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graph9435c92ee771da78ddcc6dfaaa41fa27.png manage 2.6 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng grapha66d5f7ae614a68a562c359220c21b25.png manage 1.7 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
elsemap graphd3c8004cd75da5024c5368a586d29f66.map manage 8.8 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graphd3c8004cd75da5024c5368a586d29f66.png manage 7.1 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
elsemap graphf96ed457014005a66dbeb7a48c172de6.map manage 8.8 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graphf96ed457014005a66dbeb7a48c172de6.png manage 7.1 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
pngpng graphfb65a852fafdc88875202fcd22fb55c3.png manage 1.4 K 13 Mar 2009 - 16:40 AdminGroup Saved by install script
You are here: System Web>EasyTimelinePlugin
Topic revision: r3 - 12 Nov 2009 - 20:35:01 - MartyBrandon
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this site is the property of the contributing authors.
Ideas, requests, problems regarding MITOWEB? Send feedback