SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Guru
    Join Date
    Jan 2001
    Location
    West Columbia, SC
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Generate a .ics Outlook file

    Has anyone ever produced an ics file or a link to add an event to someone's Outlook calendar?

    I want to allow users to add events from our online calendar to thier own.

    Thanks

  2. #2
    SitePoint Enthusiast mrsmiley's Avatar
    Join Date
    Jul 2004
    Location
    Melbourne
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I would imagine that creating a link to a desktop calendar would be a litle difficult unless you have "Outlook Web Access" enabled at the Exchange server. Even then it would have to be a public calendar and not a personal one (I think).

    Never heard of ics files though. I was trying to find a way to do the same thing a while back (sync with outlook/web calendar), so I'd be interested in finding if/how it can be done.

    You might be able to do it through the COM interface if you can get the infrastructure working correctly. Probably have to write a DCOM wrapper for it though so you can push the request out from the server to the workstation (if the path if visible and the server is Windows ).

    Office intergration can be so "fun" sometimes :S

  3. #3
    SitePoint Addict launchcode's Avatar
    Join Date
    Dec 2004
    Location
    Bristol, UK
    Posts
    259
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You'll need a subscription to the site - but this shows how to do it in ASP, so it can be easily duplicated in PHP + COM.

    http://www.asptoday.com/Content.aspx?id=1248
    Richard Davey

    Launchcode
    PHP Security Guide. Think your scripts are secure? Think again.

  4. #4
    SitePoint Enthusiast mrsmiley's Avatar
    Join Date
    Jul 2004
    Location
    Melbourne
    Posts
    96
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quick google returned this page ... http://hublog.hubmed.org/archives/000496.html

    All you have to do is generate ical files which are plain text, so its a piece of cake Its all coming back to me now.

  5. #5
    SitePoint Guru
    Join Date
    Jan 2001
    Location
    West Columbia, SC
    Posts
    622
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That's it!! Thanks

    Now have you seen how to do it in a link? I know I've recieved links before in email, but I don't remember how it was formatted.

  6. #6
    SitePoint Evangelist ldivinag's Avatar
    Join Date
    Jan 2005
    Location
    N37 33* W122 3*
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    IIRC, ics files for ICAL standard are XML files...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •