Tango.info wiki calendar

From tango.info wiki
Jump to navigation Jump to search

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

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

see more examples of page titles: http://wiki.tango.info/events/show3.php

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