• Resolved Harris O.

    (@hfort)


    Hi Anmari, thanks for this plugin. I have a situation where the external ical feed only comes with URI instead of URL. The result is a list without a link to the event. Is there any function or method I can use so the plugin uses the URI from the Ical feed and wrap the title with a link?
    I appreciate any help you can provide.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author anmari

    (@anmari)

    It is not clear to me exactly what you are asking.

    Are you referring to the ical feed url itself? I’m guessing not…

    so maybe to a component of an event such as the
    URL https://datatracker.ietf.org/doc/html/rfc5545#section-3.8.4.6
    or the
    UID? https://datatracker.ietf.org/doc/html/rfc5545#section-3.8.4.7
    or
    some text within the Event description component? https://datatracker.ietf.org/doc/html/rfc5545#section-3.8.1.5

    Thread Starter Harris O.

    (@hfort)

    Thanks for your reply.

    Yes, I was referring to the third-party ical feed url itself. The .ics (VCALENDAR) file provided to me uses URI for the event link. The events list fine but without a link back to the third party calendar.

    I’m going to contact the third-party calendar company and ask them if they could switch URI with URL on their feed. I don’t know why some feeds use URI and others use URL.

    Thank you.

    Plugin Author anmari

    (@anmari)

    Still not clear what you mean by URI for the ics feed url? URL’s are a subset of URI’s? as in a URL is a URI, but a URI is not a URL. I suspect that that is not the ‘problem’. If you are able to use what they have given in this plugin then surely it is a URL that you are using.

    Event links expect to link to the event URL (not the calendar url). The lack of link per event may be because each event may have a different url? EG here https://test.icalevents.com/other-testing/ics-tes/, some events link to https://www.ncopera.org/2021-22-season/magic-flute/ and some to https://www.sdopera.org/season/2021-2022-season/cosi-fan-tutte.

    If you are want the events to link somewhere AND the events do not have their own URL, you could try using the default url in the settings. https://icalevents.com/1365-ical-events-and-default-urls-for-the-widget/

    Thread Starter Harris O.

    (@hfort)

    Thanks for your time, and sorry for keeping you confused. It’s how the ICS file was written. It make sense now after you said “URI is not a URL”. They used URI for the event link, and that’s why there is no link.

    I opened the ics file and found this:

    DTSTART;TZID=America/New_York:20220224T190000
    SUMMARY: Here Comes the Bride
    URI:https://xxxxxx/EventsExtended.cfm?SiteID=5471&EventID=445753&PK=
    END:VEVENT

    So the event shows like this with your plugin:
    <div class="summary">Here Comes the Bride</div> As you can see the link is missing.

    However, the feeds that I have working are written this way:

    SUMMARY: Event title
    URL:https://eventurl
    END:VEVENT 

    results:
    <div class="summary"><a href="eventurl">Event Title</a></div>
    The link shows because the ics used the “url” parameter”.

    I’m going to request them to fix their feed and change the URI parameter with URL.

    Thanks for your help.

    Plugin Author anmari

    (@anmari)

    Clarification above: URI is not NECESSARILY a URL. It could be.

    Yes this plugin won’t use the URI property, only the URL event property.
    Event URI definition https://datatracker.ietf.org/doc/html/rfc5545#section-3.3.13

    Sounds like they just need to add a URL property?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘External Ical file with URI only’ is closed to new replies.