Tango.info wiki calendar

From tango.info wiki
Jump to: navigation, search
As of 2011-06-19 the plan is to phase out the wiki based calender system.

Overview

Each event in the wiki calendar gets an article with the article title in the format "When_Where_What". The article creator is the event owner. Defined as the first editor in the article history.

current implementation, see: add event

format

The event should maybe be sendable via SMS, SMS length is 160 char, twitter.com restricts to 140 char.

  • max length of title (current: 32+8+64= 104)
    • When: 32 char e.g. 2007-12-28T1300--2008-01-02T2000
    • Where: 8 char e.g. DEBER-AZ
    • What: currently restricted to 64
  • other values
    • Who: 8 char (username, article creator/ event owner)

When

  • Date in international format, subset of ISO 8601
    • YYYY-MM-DD - single day event, e.g. 2007-12-24 (10char)
    • YYYY-MM-DD--DD - multiple days event, e.g. 2007-08-24--26 (14char)
    • YYYY-MM-DD--MM-DD - multiple days event, accross month, e.g. 2007-08-28--09-01 (17char)
    • YYYY-MM-DD--YYYY-MM-DD - multiple days event, accross year, e.g. 2007-12-28--2008-01-02 (22char)
    • planned
      • 2007-12-28T1300 (15char)
      • 2007-12-28T1300--2008-01-02T2000 (32char)

Where

  • geocode
    • country, ISO 3166-1 code, e.g. AR - Argentina
    • city UN/LOCODE, e.g. ARBUE - Buenos Aires
    • venue tango.info location code, e.g. ARBUE-CS - Club Castel in Buenos Aires
    • geographic coordinates? mixed with less precise code?
      • DD.dddddd[N/S]DDD.dddddd[E/W] (=21 digits)

What

  • ...
    • keywords (need more definition)
      • festival
      • marathon
      • milonga
      • practica
      • lesson
        • class (?course)
        • workshop/s,
        • seminar
        • one-to-one "private" lesson
      • show (=performance)
      • start, end
      • outdoor
    • description (optional)

examples

single day events

addtional time support in the future
  • 2008-12-28T1200--1400_DEBER-RO_class
    • 2008-12-28_1200--1400_DEBER-RO_class
  • 2008-12-28T2000--2330_ARBUE-CS_milonga
  • 2008-12-28T2200--29T0030_ARBUE-AM_milonga
    • 2008-12-28_2200--29_0030_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, cancel
    • outdoor

repeated events

  • add support for repeated events

see also