Tango.info wiki calendar: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
Line 2: Line 2:
[[category:data]]
[[category:data]]
==Overview==
==Overview==
Each event for 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.
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]]
current implementation, see: [[add event]]

Revision as of 2008-10-13T15:22:08

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

  • max length of title (current: 34+8+100= 142, in form 34+8+64= 106)
    • When: 34 char e.g. 2007-12-28T13:00--2008-01-02T20:00
    • Where: 8 char e.g. DEBER-AZ
    • What: 100 char (restrict to 80?, the form [1] currently restricts 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-28T13:00 (16char)
      • 2007-12-28T13:00--2008-01-02T20:00 (34char)

Where

  • geocode
    • country, ISO 3166-1 code, e.g. AR - Argentina
    • city UN/LOCODE, e.g. ARBUE - Buenos Aires
    • venue t.i_location code, e.g. ARBUE-CS - Club Castel in Buenos Aires
    • geographic coordinates? mixed with less precise code?

What

  • ...
    • keywords (need more definition)
      • festival
      • marathon
      • milonga
      • practica
      • class (?course)
      • 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, cancel
    • outdoor

repeated events

  • add support for repeated events