Jump to content

Data.tango.info wikicalendar: Difference between revisions

From tango.info wiki
Line 3: Line 3:


==format==
==format==
*When
*When - Date in international format, subset of [[ISO 8601]]
** Date in international format, subset of [[ISO 8601]]
** YYYY-MM-DD - one day event, 2007-12-24
*Where
** YYYY-MM-DD--DD - multiple days event, same month, 2007-08-24--26
** YYYY-MM-DD--MM-DD - multiple days event, same year, 2007-08-28--09-01
** YYYY-MM-DD--YYYY-MM-DD - multiple days event, same year, 2007-12-28--2008-01-01
*Where - geo code
** country, [[ISO 3166-1]] code, e.g. AR - Argentina
** country, [[ISO 3166-1]] code, e.g. AR - Argentina
** city [[UN/LOCODE]], e.g. ARBUE - Buenos Aires
** city [[UN/LOCODE]], e.g. ARBUE - Buenos Aires

Revision as of 2008-05-16T10:51:15

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 - one day event, 2007-12-24
    • YYYY-MM-DD--DD - multiple days event, same month, 2007-08-24--26
    • YYYY-MM-DD--MM-DD - multiple days event, same year, 2007-08-28--09-01
    • YYYY-MM-DD--YYYY-MM-DD - multiple days event, same year, 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

multiple day events

metatable

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

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

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

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

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