Stressi Spezial - Berliner Terminkalender Stressfaktor im RSS-, iCal-, WAP-, PDF- oder RTF-Format

1. URL-Parameter:

1.1 Datentyp

t: gewünschtes Datenformat, mögliche Werte: RSS1 | RSS2 | ATOM | ICAL | WAP | PDF | RTF

1.2 Zeitraum

a) nach Tag (relativ) und Anzahl Tage

d=X: Tag relativ zu heute; optional, Wertebereich: -999<X<999, default: heute; Beispiele: d=0 für heute, d=1 für morgen, d=-1 für gestern etc.
n=X: Anzahl Tage; optional; default: 1 Tag; Beispiel: d=2&n=5 für 5 Tage ab übermorgen

b) nach Tag (absolut) und Anzahl Tage

d=JJJJMMTT: absolutes Datum im Format JJJJMMTT; Beispiel: d=20100131 für 31.01.2010
n=X: Anzahl Tage; optional; default: 1 Tag; Beispiel: d=20100101&n=7 für 7 Tage ab 01.01.2010

c) nach Woche (relativ)

w=X: Woche, relativ zur aktuellen Woche; Beispiele: w=0 für aktuelle Woche, w=1 für nächste Woche; w=-1 für vorherige Woche etc.

d) nach Monat (relativ)

m=X: Monat, relativ zum aktuellen Monat; Beispiele: m=0 für aktueller Monat, m=1 für nächster Monat; m=-1 für vorheriger Monat etc.

2. Beispiel-Aufrufe:

Heute:
http://stressi.kilu.de/?t=ATOM
http://stressi.kilu.de/?t=RSS2
http://stressi.kilu.de/?t=RSS1
http://stressi.kilu.de/?t=ICAL
http://stressi.kilu.de/?t=WAP
http://stressi.kilu.de/?t=PDF
http://stressi.kilu.de/?t=RTF

Aktuelle Woche:
http://stressi.kilu.de/?t=ATOM&w=0
http://stressi.kilu.de/?t=ICAL&w=0

Nächste Woche:
http://stressi.kilu.de/?t=ATOM&w=1
http://stressi.kilu.de/?t=ICAL&w=1

01.02.2010 - 07.02.2010
http://stressi.kilu.de/?t=RSS2&d=20100201&n=7
http://stressi.kilu.de/?t=ICAL&d=20100201&n=7

Aktueller Monat:
http://stressi.kilu.de/?t=PDF&m=0

Voriger Monat:
http://stressi.kilu.de/?t=RTF&m=-1