Reputation: 940
When the users add events to the online calendar they also can be added to the outlook calendar (synchronize). Obviously a site built using PHP can not integrate with desktop application directly, so I am looking alternative options.
Options I found:
Questions:
Upvotes: 14
Views: 26498
Reputation: 876
Building off Rahul's idea but using a different approach - Microsoft provides something similar to a "RSS feed" that auto updates each time you GET the URL, except it's an feed of "ICS" event data:
Open up Outlook Web Access (OWA), e.g. if you are using a microsoft.com account the URL might be https://outlook.live.com/calendar/ (if you are using some other Microsoft 365 account the URL may be different)
On the top right, click the Settings icon
Click View all Outlook Settings
Click Calendar > Shared Calendars > and under Publish a calendar, select the calendar, then under Select permissions, choose as appropriate, then click Publish
It will give you HTML and ICS links. Copy the ICS link URL.
Use your favourite programming language/tool/software to periodically do a HTTPS request (using CURL or AJAX or some other HTTP fetch) using GET method to the URL you got in step 5. You will get back a bunch of calendar data in ICS format. Use this however you need. You may be able to find some pre-written code from elsewhere that parses ICS data for you, or you can manually create your own parser code if you have to.
Upvotes: 0
Reputation: 465
To get the calender event follow these step:
Upvotes: 1
Reputation: 703
Office 365 comes with an REST API that can be used to read/write to calendars. Here's some documentation on this. http://msdn.microsoft.com/office/office365/api/calendar-rest-operations
Alternatively, the EWS Managed API might be able to help you: http://msdn.microsoft.com/en-us/library/office/dd633696(v=exchg.80).aspx and http://msdn.microsoft.com/en-us/library/office/dd633702(v=exchg.80).aspx
Upvotes: 3
Reputation: 9
Use EWS exchange webservice to achieve this. If it is a website with a no. of users u will need to create OU in exchange server and add a admin user who has read permissions to all accounts in the DL. EWS exposes endpoints where in u can fetch the calendar mail add read and do all kind of operations.
Upvotes: 0
Reputation: 4775
you could do this by having the outlook subscribe to the online calendar.
with phpicalendar you can have other clients subscribe to your calendars (here)
you may want to tweak the generated .ics file to include X-PUBLISHED-TTL - Recommended update interval for subscription to the calendar
Upvotes: 1