• Hello!

    Is there a way to maintain (turn on/off) the hyperlink for the google location pin/address as it is shown in google calendar? It would be a handy features and make the location field more usefull.

    Another possibility is to convert the pin to an address but this might be harder.

    justdeedeemusic.com

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

    (@bramwaas)

    Hi,

    That would indeed be a nice enhancement. However I have not seen anything of the google pin to google maps in the ical file. I even can add an address on my mobile phone with that pin, but do’t see it in google calendar in the webbrowser.

    In the webbrowser I can add the address and it comes as text in location. This is seen on the calendar on my mobile phone

    But after a while I did see the location fom my mobile phone as a link in Location., added behind the location that was entered via the webbrowser, seperated by two dots. Now my event has two different locations (Amsterdam Centraal in the browser and Nemo Science museum on my mobile). One in text and one as a link. This was also displayed in my widget the same way. (see below) So it works already, it depends only on what Google calendar sends in the ical file. (To give a reallink as output You have to toggle the field “Allow safe html in description and summary.” in Advanced settings on.)

    • 11:00 Test geen omschrijving. 11:00?– 12:00?Amsterdam Centraal, Stationsplein, 1012 AB Amsterdam, Nederland ..Nemo

    Regards Bram

    • This reply was modified 10 months, 1 week ago by bramwaas.
    Thread Starter black88mx6

    (@black88mx6)

    Thank you for the update, I can see the address mapping solution being… difficult. ??

    I have “Allow Safe HTML” in description and summary enabled. No links are passed through to the website but are available in google calendar/web-browser. Will dig in a bit more to see if it is some other issue on my end to get the hyperlinks working.

    Thread Starter black88mx6

    (@black88mx6)

    Unable to find answer why wp_kses() isn’t allowing passthrough of links with “Allow Safe HTML” on. Links back to Facebook in description (if enabled) also don’t work on my site. Using block only.

    Plugin Author bramwaas

    (@bramwaas)

    Hi,

    On my system wp_kses is not blocking proper links, but but it depends on how you enter the link in the agenda, whether it is actually offered as a link in the ical file and therefore in the block

    First the way that works for me, perhaps not the most obvious way, but reliable:

    In the calendar on the web and greate or change an event. In the description editor Click insert link button in the toolbar. You get a popup where you can fill in two fields. In the first I filled in: “Tex for the link” in the second the (example)url of my facebook page: “https://www.facebook.com/my.facebookpage ” after hitting OK button I saw the forlowing in my agenda description editor:

    Below I create a working facebook link
    
    Tex for the link

    “Tex for the link” is underlined as a link. After saving the event I found the following text in my iCal file related to this event:

    DESCRIPTION:Below I create a working facebook link<br><br><a href="https://
     www.facebook.com/my.facebookpage">Tex for the link</a>

    After clearing the cache I saw it in my block as:

    14:30 Event with facebook link
    Below I create a working facebook link
    
    Tex for the link
    14:30 – 15:30

    “Tex for the link” is underlined and when I click on it “https://www.facebook.com/my.facebookpage ” will be opened.

    Other ways that may be more obvious, such as copying the URL directly into the description, seem to work in both Google Calendar App and Web Browser, but usually just export the URL to the ical file as plain text. The block then only shows the text of the URL, no link. Sometimes the URL is promoted to a link when the event is updated, but this is not reliable.

    As far as I can see wp_kses does not block the link.

    Regards,

    Bram

    • This reply was modified 10 months ago by bramwaas.
    • This reply was modified 10 months ago by bramwaas.
    • This reply was modified 10 months ago by bramwaas.
    Thread Starter black88mx6

    (@black88mx6)

    After doing some more testing I find if I edit the description that has a hyperlink then it will show up. Must be the way FB/google is bringing my events into calendar that is causing the issue.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Google Pin for Location’ is closed to new replies.