Tango.info wiki calendar: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
Line 26: Line 26:


==examples==
==examples==
see a list of wiki event articles derived from the meta table http://wiki.tango.info/events/show3.php
===single day events===
===single day events===
*[[2007-08-14 DEBER-BP show Sebastian Chantal]]
*[[2007-08-14 DEBER-BP show Sebastian Chantal]]
Line 47: Line 48:
*[[2007-12-07--2008-01-06 ITROM Festival Roma]]
*[[2007-12-07--2008-01-06 ITROM Festival Roma]]
*[[2008-05-24--25 DEBER-IW workshops mit Irmel Weber]]
*[[2008-05-24--25 DEBER-IW workshops mit Irmel Weber]]
see more examples of page titles: http://wiki.tango.info/events/show3.php


==metatable==
==metatable==

Revision as of 2008-05-16T13:13:41

Each event for the wiki calendar gets an article with the article title in the format "When_Where_What".

format

  • When - Date in international format, subset of ISO 8601
    • YYYY-MM-DD - single day event, e.g. 2007-12-24
    • YYYY-MM-DD--DD - multiple days event, same month, e.g. 2007-08-24--26
    • YYYY-MM-DD--MM-DD - multiple days event, same year, e.g. 2007-08-28--09-01
    • YYYY-MM-DD--YYYY-MM-DD - multiple days event, same year, e.g. 2007-12-28--2008-01-01
  • Where - geo code
  • What
    • keywords (need more definition)
      • festival
      • marathon
      • milonga
      • practica
      • show (=performance)
      • workshop/s,
      • start, end
      • outdoor
    • description (optional)

examples

see a list of wiki event articles derived from the meta table http://wiki.tango.info/events/show3.php

single day events

addtional time support in the future
  • 2008-12-28T12:00--14:00_DEBER-RO_class
    • 2008-12-28_12:00--14:00_DEBER-RO_class
  • 2008-12-28T20:00--23:30_ARBUE-CS_milonga
  • 2008-12-28T22:00--29T00:30_ARBUE-AM_milonga
    • 2008-12-28_22:00--29_00:30_ARBUE-AM_milonga

multiple day events

metatable

Articles with the above mentioned format are stored in a metatable. The metatable currently stores

  • pageid
  • dtstart (When - start)
  • dtend (When - end)
  • geo (Where)
  • the wiki page title

dtstart, dtend currently only handles dates, time can be added later.

fields that might be added in future
  • type (festival, milonga, workshop, workshops, class)
  • text (rest text)
  • user_creator
  • dt_created


todo

keywords

  • figure out which keywords to use: milonga, show/performance,

workshop/s, festival, marathon, start, end, outdoor

repeated events

  • add support for repeated events