• Ambyomoron

    (@josiah-s-carberry)


    In the plugin FAQ ( https://www.e-dynamics.be/wordpress/faq/ ) there is a section on adding a link to add an event to a Google Calendar ( “How to add a “Add to Google Calendar” link to an event” ). The URL suggested there is:

    http://www.google.com/calendar/event?action=TEMPLATE
    &text=#URL_NAME
    &dates=#_{Ymd}T#H#_{i}00/#@_{Ymd}T#@H#@_{i}00
    &sprop=#URL_EVENTPAGEURL
    &location=#URL_ADDRESS,#URL_TOWN
    &details=#URL_LOCATION

    This did not work for me, but changing event?action to render?action does work for me. I also made some changes in the data, as follows:

    http://www.google.com/calendar/render?action=TEMPLATE
    &text=#URL_NAME
    &dates=#_{Ymd}T#H#_{i}00/#@_{Ymd}T#@H#@_{i}00
    &sprop=#URL_EVENTPAGEURL
    &location=#URL_LOCATION,%20#URL_ADDRESS,%20#URL_TOWN
    &details=#URL_EVENTPAGEURL

    Of course, each one needs to tune it according to his or her own needs.

    I would have wanted to add the timezone to this. Perhaps one day it will be possible to get the IANA code (as used by Google) out of a placeholder in the plugin.

    • This topic was modified 8 years, 3 months ago by Ambyomoron.

The topic ‘Adding event to Google Calendar’ is closed to new replies.