dlidstrom / Snittlistan

MIT License
1 stars 1 forks source link

Gör tider och datum kalenderanpassade #181

Closed dlidstrom closed 7 years ago

dlidstrom commented 11 years ago

Man borde kunna skapa en händelse från en matchtid, t.ex.

dlidstrom commented 11 years ago

Alternativt exponera en iCal-fil genom en länk, t.ex. Behöver mer info på området.

dlidstrom commented 11 years ago

Här är exempel på en iCal-fil:

BEGIN:VCALENDAR
PRODID:NingEventWidget-v1
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
UID:2968308:Event:52294
DTSTAMP:20130821T104552Z
SUMMARY:[STHLM] JetBrains on Tour
DESCRIPTION:JetBrains, företaget som bland annat gett oss ReSharper, 
 åker på en mini-turné inför sin tvådagarskonferens i Malmö och v
 i har glädjen att få besök av Dmitri Nesteruk och Matt Ellis.\n \n
 Dmitri Nesteruk - What’s New in ReSharper 8\nIn this talk, I will ta
 ke you on a journey around the various new and improved features that 
 have been introduced in the latest incarnation of ReSharper. We’ll t
 ake a look  at improvements in code completion, navigation, XAML and 
 CSS support as well as architecture tools, the new extension manager a
 nd other tools that help improve your development experience.\n \nDmi
 tri Nesteruk is a developer, speaker, podcaster and a technical evange
 list for JetBrains s.r.o. His interests lie in software development an
 d integration practices in the areas of computation, quantitative fina
 nce and algorithmic trading. He is an instructor of an entry-level cou
 rse in Quantitative Finance. His technological interests include C#, F
 # and C++ programming as well high-performance computing using technol
 ogies such as CUDA. He has been a C# MVP since 2009.\n \nMatt Ellis -
  JetBrains and .NET. Not just ReSharper\nReSharper isn't JetBrains' on
 ly tool for .NET developers. Join me for an introduction to and overvi
 ew of dotCover, dotTrace and dotPeek, and we'll take a look at feature
 s and functionality for code coverage, performance profiling and code 
 decompiling in JetBrains' other tools for .NET.\n \nMatt Ellis is a T
 echnical Evangelist at JetBrains. He has been a professional developer
  for nearly 20 years, shipping software for BBC Worldwide, BNP Paribas
  and Egg, the UK’s first Internet bank. He is an open source creator
  and contributor, owning projects such as the xUnit.net test runner fo
 r ReSharper. He believes in clean code, simplicity and standing on the
  shoulders of giants\n \nVar\ntretton37\nKungsgatan 17\n \nNär\n3:e
  september, 17.30\n \nUngefärlig agenda\n17.30 - Mat och mingel\n18.
 15 - What's new in ReSharper 8\n19.15 - Paus med snacks\n19.30 - JetBr
 ains and .NET. Not just ReSharper\n \nÖvrigt\nHar du några speciell
 a önskemål på maten kan du kontakta mig (Anders Ljusberg).\n\nFör 
 ytterligare information, gå in på http://www.swenug.se/events/sthlm-
 jetbrains-on-tour
DTSTART:20130903T153000Z
DTEND:20130903T180000Z
CATEGORIES:"föreläsning"
LOCATION:tretton37
WEBSITE:http://tretton37.com/
URL:http://tretton37.com/
CONTACT:0733-829688
ORGANIZER;CN="Anders Ljusberg":http://www.swenug.se/profile/CodingInso
 mnia
ATTACH;FMTTYPE="image/jpeg":http://api.ning.com:80/files/pa1EQhLUMC6CT
 yosnKz1ffkZHfDd1FhioCHgZtjNJvBbIfw7L6aVfc2b2Lth7Xc5mMnOjA08khDLrok5cja
 2gUbdNU5SU415/jetbrainslogo.png
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;CN="Daniel L
 idström":http://www.swenug.se/profile/DanielLidstroem
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;CN="Patrik S
 vensson":http://www.swenug.se/profile/PatrikSvensson
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;CN="Tobias N
 ilsson":http://www.swenug.se/profile/TobiasNilsson
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;CN="Bernardo
  Antunes":http://www.swenug.se/profile/BernardoAntunes387
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;CN="Matthias
  Einig":http://www.swenug.se/profile/MatthiasEinig
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;CN="Mattias 
 Josefsson":http://www.swenug.se/profile/MattiasJosefsson
ATTENDEE;ROLE=REQ-PARTICIPANT;PARTSTAT=ACCEPTED;RSVP=TRUE;CN="Anders L
 jusberg":http://www.swenug.se/profile/CodingInsomnia
END:VEVENT
END:VCALENDAR

Ytterliggare exempel:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//Booking.com\, b.v.//NONSGML v1.0//EN
CALSCALE:GREGORIAN
METHOD:PUBLISH
BEGIN:VEVENT
UID:971168515@booking.com
ORGANIZER;CN=Daniel Lidström:mailto:
DTSTAMP:20150715T213213Z
DTSTART:20150717T160000
DTEND:20150718T110000
SUMMARY:Strandflickornas Havshotell
LOCATION:Turistgatan 13\, Lysekil\, 45330\, Sverige
URL:https://secure.booking.com/myreservations.html?bn=971168515;pincode=0406;b_lang=sv
DESCRIPTION:Ankomst: fredag 17 juli 2015, incheckning 16:00 – 22:00\n\nAvresa: lördag 18 juli 2015, utcheckning 07:00 – 11:00\n\nDu kan se, ändra eller avboka din bokning på https://your.booking.com/
END:VEVENT
END:VCALENDAR
dlidstrom commented 11 years ago

http://stackoverflow.com/questions/10658/creating-ical-files-in-c-sharp