icalendar

Creating a CalDAV service with .Net

两盒软妹~` 提交于 2019-12-04 10:49:32
问题 I want to create a calendar in my application that external users can view. The CalDAV (basically WebDAV+iCalendar) format seems to be relatively widely supported, although if rather unusually by some clients (Outlook, for instance). Completely new to me though. I want to externally publish events, I don't need users to be able to update them. The text format of events in .ics files appears relatively simple: BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN BEGIN:VEVENT DTSTART:20091130T000000Z

Exporting Single Google Calendar Events to ICS?

血红的双手。 提交于 2019-12-04 10:36:42
I am currently looking into the possibility of displaying lists of events from multiple Google Calendars on a Web page. At the moment, I'm using the Google Calendar Events plugin for WordPress to display the events on the site (development site behind a firewall, so I can't share a link); but I'd like to see if there's any simple method to dynamically generate ICS files for each individual event. We would like to allow the website visitors to add individual events to their calendars, but the Google Calendar Data API only seems to provide the option to download an entire calendar in ICS format.

create .ics file on the fly using javascript or jquery?

浪尽此生 提交于 2019-12-04 07:42:45
问题 Can someone tell me if there is any jquery plugin to dynamically create .ics file with values coming from the page div values like there would be <div class="start-time">9:30am</div> <div class="end-time">10:30am</div> <div class="Location">California</div> or javascript way to dynamically create an .ics file? I basically need to create .ics file and pull these values using javascript or jquery? and link that created ics file to "ADD TO CALENDAR" link so it gets added to outlook? 回答1: you

ics file not recognized by outlook

走远了吗. 提交于 2019-12-04 05:21:30
问题 I have some problems. I'm trying to send an ics file, so an outlook user can add the event in his calendar. In some versions, like 2010, it works well (home edition) but on some, (like business) it doesn't recognize it directly. You must double-click the content so you can preview it. In that other version, it shows the calendar option immediately as I've clicked the mail. What am I doing wrong? Here is the code for the calendar. $str="BEGIN:VCALENDAR\r\n PRODID:-//Microsoft Corporation/

How to get started writing iCal plugins?

南楼画角 提交于 2019-12-04 01:54:33
问题 I'd like to write an iCal plugin to help me cope with the need to put most events I create onto two calendars. Google is uncharacteristically less than helpful in providing programming resources for this purpose. Can someone here provide pointer(s)? 回答1: You might consider using the Apple Events scripting interface built into iCal (and many other OS X apps), accessible via AppleScript or scripting bridges such as appscript. Use the Open Dictionary menu item in AppleScript Editor.app (as it is

UIDocumentInteractionController Calendar Access

本秂侑毒 提交于 2019-12-03 21:33:55
I have an ics (Calendar) file that I'm opening with a UIDocumentInteractionController , using presentOptionsMenuFromRect: . When this runs, the "Open In" menu looks like this . As you can see, no "Add to Calendar" option. Here's what gets me: I'm using the same exact code for a .vcf (contact card) file, and it works as expected with the "Open In Contacts" option available. Am I missing some sort of permission in my Info.plist for calendar access? Why can't UIDocumentInteractionController handle the .ics file type correctly, but .vcf works just fine? Those two file types are very similar. From

Applescript and iCal interaction

匆匆过客 提交于 2019-12-03 20:23:50
I'm trying to write an AppleScript to query iCal and find all the events I've got for a given date, in any calendar. I started by writing a simple script that does something simple with every event in a given calendar: tell application "iCal" tell calendar "Reuniones" set the_events to every event repeat with an_event in the_events -- do something with every event set value to summary of an_event end repeat end tell end tell However, this simple script is taken a lot of time to execute (a few seconds), even if I'm not doing anything complex inside the loop. I'm afraid that the real script will

How do I create a link to add an entry to a calendar?

送分小仙女□ 提交于 2019-12-03 18:20:56
问题 I'm working for this nightclub and are currently making a website for them, they've got lots events and their site is built a lot around events, today they make an facebook event of every event but it would be killer to have a "Add to my Calendar" button which added it to your iCal or Google Calendar (or maybe even Outlook). I've managed to figure out how to make an calendar feed but then it will be added as a new calendar, only good thing is that people can "subscribe to events" but it's

Python solution to parse Google calendar's recurrencies

♀尐吖头ヾ 提交于 2019-12-03 17:35:18
I'm trying to parse GCal's recurrence field. Usually, it looks like this: DTSTART;TZID=Europe/Kiev:20101111T140000 DTEND;TZID=Europe/Kiev:20101111T150000 RRULE:FREQ=DAILY;UNTIL=20101112T120000Z BEGIN:VTIMEZONE TZID:Europe/Kiev X-LIC-LOCATION:Europe/Kiev BEGIN:DAYLIGHT TZOFFSETFROM:+0200 TZOFFSETTO:+0300 TZNAME:EEST DTSTART:19700329T030000 RRULE:FREQ=YEARLY;BYMONTH=3;BYDAY=-1SU END:DAYLIGHT BEGIN:STANDARD TZOFFSETFROM:+0300 TZOFFSETTO:+0200 TZNAME:EET DTSTART:19701025T040000 RRULE:FREQ=YEARLY;BYMONTH=10;BYDAY=-1SU END:STANDARD END:VTIMEZONE I need to extract valuable for me part: event's

Parse .ics data in iPhone project

余生颓废 提交于 2019-12-03 17:33:48
I am making an iPhone application and i want to use libical to parse .ics dat from an .ics file OR from the URL location of the .ics file.. Firstly i want to know how i would go about using libical in my project? How to add it into my iphone project etc.. ive seen some guides but they seem to be specific to OSX projects and not iphone projects.. Secondly i want to parse event names and their descriptions, so i that i can store the event names/ descriptions as variables.. I was wondering if this was possible using libical.. if so could someone please show me roughly how i may go about