.ics calendar export for use in mobile app

Home Forums Calendar Products Events Calendar PRO .ics calendar export for use in mobile app

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #950471
    rtwdave
    Participant

    I’m working with my partner on adding a calendar to our iPhone app by using the .ics export from Event Calendar Pro on my blog. My partner commented:

    “Downloading only the current month for now. To get multiple months, either we need a link to an .ics file which contains all future events (is there such a link?), or must loop and download 3-4 months separately and then merge them together (stripping the .ics header/footer as necessary so as to form one .ics file)”

    Can someone answer whether it’s possible to obtain an .ics export for multiple months at a time, or is it only available as individual months?

    #950551
    Barry
    Member

    Hi rtwdave,

    That should certainly be possible – but might require a little customization work.

    The basic approach I might take in this sort of scenario is to set an action to “listen” for ical requests (and you might also want to listen for some other flag, such as an “unlimited” URL parameter, so as not to interfere with ordinary month view ical exports), then modify the query parameters to extend the date range – so, some knowledge of working with WP_Query objects would definitely be required as a minimum.

    Of course, if your site has a truly huge number of events you may still wish to set an absolute limit on the number of results to be returned in order to avoid memory issues.

    I hope that gives you some ideas to investigate 🙂

    #953921
    Barry
    Member

    Hi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘.ics calendar export for use in mobile app’ is closed to new replies.