Tango.info wiki calendar: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
 
(19 intermediate revisions by the same user not shown)
Line 1: Line 1:
[[category:tango.info]]
[[category:Tango.info]]
[[category:data]]
As of 2011-06-19 the plan is to phase out the wiki based calender system.
==Overview==
==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.
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.
Line 7: Line 7:


==format==
==format==
The event should maybe be sendable via SMS, SMS length is 160 char
The event should maybe be sendable via SMS, SMS length is 160 char, [[twitter.com]] restricts to 140 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
*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
**Where: 8 char e.g. DEBER-AZ
**What: 100 char (restrict to 80?, the form [http://wiki.tango.info/calendar/?action=addevent] currently restricts to 64)
**What: currently restricted to 64
*other values
*other values
**Who: 8 char (username, article creator/ event owner)
**Who: 8 char (username, article creator/ event owner)
Line 22: Line 23:
** YYYY-MM-DD--YYYY-MM-DD - multiple days event, accross year, e.g. 2007-12-28--2008-01-02 (22char)
** YYYY-MM-DD--YYYY-MM-DD - multiple days event, accross year, e.g. 2007-12-28--2008-01-02 (22char)
** planned
** planned
*** 2007-12-28T13:00 (16char)
*** 2007-12-28T1300 (15char)
*** 2007-12-28T13:00--2008-01-02T20:00 (34char)
*** 2007-12-28T1300--2008-01-02T2000 (32char)
===Where===
===Where===
*geocode
*geocode
** 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
** venue [[t.i_location code]], e.g. ARBUE-CS - Club Castel in Buenos Aires
** venue [[tango.info location code]], e.g. ARBUE-CS - Club Castel in Buenos Aires
** geographic coordinates? mixed with less precise code?
** geographic coordinates? mixed with less precise code?
*** DD.dddddd[N/S]DDD.dddddd[E/W] (=21 digits)
===What===
===What===
* ...
* ...
Line 37: Line 40:
*** milonga
*** milonga
*** practica
*** practica
*** class (?course)
*** lesson
**** class (?course)
**** workshop/s,
**** seminar
**** one-to-one "private" lesson
*** show (=performance)
*** show (=performance)
*** workshop/s,
*** start, end
*** start, end
*** outdoor  
*** outdoor  
Line 45: Line 51:


==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 deberbp001 show Sebastian Chantal]]
*[[2007-08-17 DEBOM Astillero]]
*[[2007-08-17 DEBOM Astillero]]
*[[2007-06-30 DEKAE Otros Aires]]
*[[2007-06-30 DEKAE Otros Aires]]
Line 53: Line 59:


;addtional time support in the future
;addtional time support in the future
*2008-12-28T12:00--14:00_DEBER-RO_class
*2008-12-28T1200--1400_DEBER-RO_class
**2008-12-28_12:00--14:00_DEBER-RO_class
**2008-12-28_1200--1400_DEBER-RO_class
*2008-12-28T20:00--23:30_ARBUE-CS_milonga
*2008-12-28T2000--2330_ARBUE-CS_milonga
*2008-12-28T22:00--29T00:30_ARBUE-AM_milonga
*2008-12-28T2200--29T0030_ARBUE-AM_milonga
**2008-12-28_22:00--29_00:30_ARBUE-AM_milonga
**2008-12-28_2200--29_0030_ARBUE-AM_milonga


===multiple day events===
===multiple day events===
Line 96: Line 102:
=== repeated events ===
=== repeated events ===
* add support for repeated events
* add support for repeated events
==see also==
* [[ical]]

Latest revision as of 2017-03-23T17:52:08

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