Help Desk

What is the difference between ICS File that lives at a URL and ICalendar?

  • Posts: 30 Topics: 17
    | Permalink

    Hi,

    I created a .ics file with one event, one venue and one organizer.
    I uploaded the ICS file to the WP Media Library.
    I tested importing it using the ICS File option in Event Aggregator.
    The test was successful, creating one Event, one Venue, and one Organizer.

    Since uploading a .ics file to the Media Library creates a url, I decided to tested using that as the feed for an ICalendar import (since I’d like to automate this process and have it run on its own).

    To test, I first deleted the Event, the Venue and the Organizer previously created. Then I set up the ICalendar import to run a One-Time Import.

    The test succeeded in creating the Event, but it did not create the Venue or the Organizer. Mind you, this is the exact same file that had just created all 3.

    Am I missing something?
    Is there some magic to an ICalendar feed that’s more than just an .ics file at a URL?
    Or is this a limitation? or a bug? Any ideas?

    I was going to include system information but ran into a problem with an empty Help screen (logged separate forum post).

    Posts: 10044
    | Permalink

    Hi, Rodrigo. Thanks for your detailed report.

    Yes, it’s all just regular iCal; nothing proprietary… unless you’re importing from one site that runs The Events Calendar to another site running The Events Calendar… then it’s using the REST API.

    One thing that may be at play here is that an imported event doesn’t delete; it actually hides.

    This is to avoid re-importing duplicate events. Imagine an iCal URL / .ics file that has 10 events in it and you want 9 of the 10 imported. If you deleted that one event, it’d re-import the next time. Therefore, Event Aggregator’s “delete” button is actually “Hide & Ignore” (screenshot).

    Please let me know if any of this was helpful for your specific situation and how I might be able to help further here.

    Posts: 30 Topics: 17
    | Permalink

    Hi Cliff,

    Yes, not only did I “Hide & Ignore” I also went to that section and deleted permanently.

    I don’t understand why Venue and Organizer were not created. Is this a bug?

    Thanks!

    Posts: 10044
    | Permalink

    Could you please provide the .ics file (or iCal URL) so I could take a closer look and possibly try to replicate the behavior?

    Posts: 30 Topics: 17
    | Permalink
    This reply has been marked as private.
    Posts: 10044
    | Permalink

    I did see that your .ics file did not validate via http://severinghaus.org/projects/icv/

    The iCal export for this single event imported the event, organizer, and venue:

    • event: http://wpshindig.com/event/codeforcuritiba-hack-night/2017-08-30/
    • iCal: http://wpshindig.com/event/codeforcuritiba-hack-night/2017-08-30/?ical=1&tribe_display=

    I’d suggest comparing your .ics with the .ics from this event and also make sure that your .ics does validate.

    Please let me know how this goes for you.

    Posts: 30 Topics: 17
    | Permalink

    How did you do the import, with Import Origin: “ICS File” or Import Origin: “iCalendar”?

    FYI there’s no ORGANIZER in the file only LOCATION, so I’m not sure how you got the organizer to import at all.

    BEGIN:VCALENDAR
    VERSION:2.0
    PRODID:-//WP Shindig! – ECPv4.5.10//NONSGML v1.0//EN
    CALSCALE:GREGORIAN
    METHOD:PUBLISH
    X-WR-CALNAME:WP Shindig!
    X-ORIGINAL-URL:http://wpshindig.com
    X-WR-CALDESC:Events for WP Shindig!
    BEGIN:VEVENT
    DTSTART;TZID=America/Los_Angeles:20170830T190000
    DTEND;TZID=America/Los_Angeles:20170830T220000
    DTSTAMP:20170823T203539
    CREATED:20150730T224541Z
    LAST-MODIFIED:20150730T224541Z
    UID:38089-1504119600-1504130400@wpshindig.com
    SUMMARY:CodeforCuritiba Hack Night
    DESCRIPTION:Come join developers\, designers\, nerds\, data geeks\, leaders\, and idea-makers who volunteer to help government and civic organizations adopt open web technologies for Brazil. We are technology and civic activists fostering community-authored projects. \nWe are OpenBrazil.org\, we are Code For Brazil! \nCome for games\, networking\, and hacking projects! \n
    URL:http://wpshindig.com/event/codeforcuritiba-hack-night/2017-08-30/
    LOCATION:Rua Iapó\, 1391\, Curitiba\, 80215-223\, Brazil
    GEO:-25.4532188;-49.2537611
    X-APPLE-STRUCTURED-LOCATION;VALUE=URI;X-ADDRESS=Rua Iapó 1391 Curitiba 80215-223 Brazil;X-APPLE-RADIUS=500;X-TITLE=Rua Iapó\, 1391:geo:-49.2537611,-25.4532188
    CATEGORIES:Tech Meetups
    ATTACH;FMTTYPE=image/jpeg:http://wpshindig.com/content/uploads/2015/07/8600041647_bfdacecac7_o-e1438296324351.jpg
    END:VEVENT
    END:VCALENDAR

    Posts: 30 Topics: 17
    | Permalink
    This reply has been marked as private.
    Posts: 10044
    | Permalink

    I’m not sure how that happened; sorry about that. Let’s try this one instead:

    I ran it as an iCal Import and it didn’t import the Venue or the Organizer. I found this to be a known issue when importing via URL but not via manual .ics upload.

    I’ll mark this ticket as Pending Fix, which means this thread should receive a reply once the applicable fix has been released. I cannot guarantee when it will be fixed as it’s in the development team’s hands now. They need to assign it, code it, test it, and schedule it for release.

    I apologize for this issue and appreciate your understanding and patience.

    Posts: 30 Topics: 17
    | Permalink

    Hi Cliff, What can I do differently in the future to get to this point faster? Thanks! Rodrigo

    Posts: 10044
    | Permalink

    Rodrigo, not your fault at all. Sorry for the extra effort on both our parts to get to this point. Please await the eventual fix. 🙂

    Posts: 4401 Topics: 8
    | Permalink

    Hola Rodrigo!

    Just wanted to share with you that a new maintenance release (for the Week of 3 December 2017) is out, including a fix for this issue.

    Find out more about this release → https://theeventscalendar.com/maintenance-release-week-3-december-2017/

    Please update the plugins and let us know if the fix works for your site.

    Best,
    Victor

    Posts: 4
    | Permalink

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

    | Permalink

The topic ‘What is the difference between ICS File that lives at a URL and ICalendar?’ is closed to new replies.