• Thanks for your great plugin, Ross. For further improvement I suggest the following feature:

    I often have events that correspond to a blog post, page or the like. Therefore I copy the URL to the event description as Google Calendar provides no opportunity for a separate event website.
    But the whole URL is quite unpleasant and I’d love to detach the link from the description.

    Wouldn’t it be possible to parse the description searching for a link? There could be the option to search for links and the option to remove them from the description and custom insert within the template.

    I would really very much like such a feature. What do you think?

    https://www.ads-software.com/extend/plugins/google-calendar-events/

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Contributor Ross Hanney

    (@rosshanney)

    Hi there,

    Apologies for the delayed reply!

    The event display builder feature of the plugin allows HTML links entered in the description field to be displayed as ‘proper’ HTML (when using the html="true" parameter). So you could enter something like the following into the description:

    Some stuff <a href="https://long-and-ugly-url">nice text</a> other stuff.

    and it would be displayed as follows:

    Some stuff nice text other stuff.

    Does this sort of accomplish what you’re wanting, or do I have the wrong end of the stick?

    Ross.

    Thread Starter elnipa

    (@elnipa)

    Thanks for your answer.
    I knew the html feature but it’s not the best solution for me because
    – There’s no opportunity to separate the link from the description in the template
    – The Google Calendar is attended by a non-professional without knowledge of html. It would be so much easier to post the link only.

    Nick.

    Plugin Contributor Ross Hanney

    (@rosshanney)

    Nick,

    Ah, I see what you mean.

    An option to remove links altogether would be fairly simple, but to separate them from the description and display them elsewhere would be more complicated.

    For example, what if more than one link was entered? Also, what should the ‘nice text’ be for each link, and where / how would it be defined?

    This is a nice idea though. I appreciate that it’s not reasonable to expect your client / user to have knowledge of HTML. I’ll give it some further thought.

    Ross.

    Thread Starter elnipa

    (@elnipa)

    Hey Ross,

    I saw the problem with multiple links, too. First there should be the option to activate resp. deactivate this feature (and to deactivate/activate the option to remove the links). And if there are multiple links you may save the urls into multiple template tags. E.g. [desc-link] and then [desc-link-2], [desc-link-3] and so on. There could be if-tags to check availability as well.

    The ‘nice text’ could be manually set in the template. [if-desc-link-3]Blog-Post[/if-desc-link-3]

    or something like that..

    Now the Google calendar user just need to consider the order of the links.

    Nick.

    Plugin Contributor Ross Hanney

    (@rosshanney)

    Hello,

    Sorry (again!) for taking a long time to reply.

    The solution you describe certainly could work, but it seems it would add quite a lot of complexity to the plugin. I do like the general idea though. When I get some time I’ll have a play around with various possibilities.

    Ross.

    Thread Starter elnipa

    (@elnipa)

    That would be so fantastic. Thank you very much in advance.

    Today I came across another thing:
    You provide the option to catch events from the past. So far, so good we’re able to show some events in the past in the calendar. But “upcoming events” with the list-view is failing now because past events are shown.
    I’m able to hide the event details with “[if-not-ended]” in the event display builder but the date still is displayed.
    Is there a possibility to completely hide the past events?

    Plugin Contributor Ross Hanney

    (@rosshanney)

    Hi again,

    You can set up another feed in the plugin with the same feed URL. You can then use the original feed to retrieve only upcoming events, and the new feed to retrieve only past events.

    Ross.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Google Calendar Events] Feature – Parse link in event description’ is closed to new replies.