icalendar

Sync with iCal through Sync Services

心已入冬 提交于 2019-12-11 14:22:39
问题 I'm looking for sample code on how to sync with ical through sync services. Or anything that can point me to the right direction on how to do it. I've already gotten sync services up and running for my own core data schema, but I am not sure on how to do it with iCal. I found the calendar schema on apple docs on the link below, but have no idea on how to start implementing it with sync services. http://developer.apple.com/library/mac/#documentation/AppleApplications/Reference

Java, ICS calendar format not showing time when imported in Outlook or Thunderbird

China☆狼群 提交于 2019-12-11 12:16:23
问题 I am working on a Java project in which I am creating an ICS file and there is something wrong with date and time. Whenever I import the ICS file, I want to show the startTime of event and endTime of Event in the ICS file. I tried using the constructor which contains endTime as well, no luck, still shows 00:00. The below code I am using to generate an ICS file and below that is the content of the ICS file. Code : Calendar icsCalendar = new Calendar(); icsCalendar.getProperties().add(Version

Send ics calendar invite using Swift Mailer and Send Grid

徘徊边缘 提交于 2019-12-11 11:45:30
问题 I'm trying to send a calendar invite to Gmail using sendgrid and swiftmailer. This is my entire code: <html> <head> <title>PHP Test</title> </head> <body> <?php require_once('path/to/lib/swift_required.php'); require('path/to/smtpapi-php.php'); $transport = \Swift_SmtpTransport::newInstance('smtp.sendgrid.net', 587); $transport->setUsername('uname'); $transport->setPassword('pass'); $mailer = \Swift_Mailer::newInstance($transport); $ical="BEGIN:VCALENDAR\r\n PRODID:-//Microsoft Corporation/

Handle .ICS files in Phonegap

拟墨画扇 提交于 2019-12-11 11:13:36
问题 we've got an app that includes a few links to external .ICS (calendar appointments). In safari it's handled fine however in Phonegap they're not. We've tried opening them in the InAppBrowser and we just get a loading error. Ideally, we need people to be able to click these external .ICS files and have them handled in a normal way (iphones open iCal, android opens calendar and adds the event, etc). Any suggestions? We can't get links to open in Safari while having the InAppBrowser installed so

iCalendar ATTENDEE

我的梦境 提交于 2019-12-11 05:54:10
问题 Hi is it possible to specify a 'nickname' as the ATTENDEE in Vcalendar . so that instead of the email address appearing in the email 'required' field it would display a more friendly name ? thanks for any help Mick 回答1: Yes, easily via the CN parameter: ATTENDEE;ROLE=REQ-PARTICIPANT;CN=Test User:MAILTO:test.user@somewhere.com See also: http://www.kanzaki.com/docs/ical/attendee.html 来源: https://stackoverflow.com/questions/2655041/icalendar-attendee

iCalendar RFC 2445 Section 4.1 Content Folding

匆匆过客 提交于 2019-12-11 05:14:40
问题 I am creating a simple iCalendar using C# and found that the Content Folding per Section 4.1 of RFC 2445 to be quite a headache (for me :-). http://www.apps.ietf.org/rfc/rfc2445.html#sec-4.1 For long lines, you are to escape some characters (backslash, semi-colon, comma and newline, I believe) and then fold it so that no line is longer than 75 octets. I found several straight forward way of doing this on the web. The simplest is to replace the characters in question with escaped version and

How to add .vcs file to Android Calendar

走远了吗. 提交于 2019-12-11 02:21:42
问题 I went through this SO forum and it says to add a header to the .vcs file but when I try to open the .vcs file by clicking on it an Android system popup comes to open the .vcs file and Image, Video, Audio... but it does not added to the local Android Calendar . Can any one help with this? 回答1: .vcs is very old for today usage. I recommend you to create newer version .ics file instead of .vcs and try the following; header("Content-Type: text/Calendar"); header("Content-Disposition: attachment;

PHP : send ical using php mailer

£可爱£侵袭症+ 提交于 2019-12-11 02:17:50
问题 I am trying to send the ical using the php mailer here id my function function sendIcalEmail($firstname,$lastname,$email,$meeting_date,$meeting_name,$meeting_duration) { //Convert MYSQL datetime and construct iCal start, end and issue dates $meetingstamp = strtotime($meeting_date . " UTC"); $dtstart= gmdate("Ymd\THis\Z",$meetingstamp); $dtend= gmdate("Ymd\THis\Z",$meetingstamp+$meeting_duration); $todaystamp = gmdate("Ymd\THis\Z"); //Create unique identifier $cal_uid = date('Ymd').'T'.date(

Have ICS file with multiple events save to my Calendar, not Other Calendars

情到浓时终转凉″ 提交于 2019-12-11 02:01:44
问题 When I convert my Excel spreadsheet to a CSV file... then convert my CSV file into an ICS file... I can open the ICS file with a single event inside, and accept the meeting invitation, which is then added to my calendar. (Using this app for the conversion) http://icsconverterwebapp.n8henrie.com/ The problem is, if I put multiple rows in my Excel spreadsheet, the final ICS version opens as an "Other Calendars" Can I make it so that the ICS file items are added to my Calendar, and not "Other

File is empty and I don't understand why. Asp.net mvc FileResult

好久不见. 提交于 2019-12-10 23:00:00
问题 I am trying to use the built in asp.net file result to return a file that I am trying to make through a file stream. I am using Dday.ical to make my calendar for export MemoryStream export = new MemoryStream(); iCalendarSerializer serializer = new iCalendarSerializer(iCal); serializer.Serialize(export,System.Text.Encoding.Default); return export; Here is my actionResult public ActionResult ExportCalendar() { string userName = User.Identity.Name; Guid userId = membershipS.GetUsersId(userName);