Events Made Easy › Forums › How do I … › Add to Google calendar doesn't work
- This topic has 11 replies, 2 voices, and was last updated 13 years, 1 month ago by Anonymous.
-
AuthorPosts
-
Fri 7 Oct 2011 at 08:33 #43545AnonymousInactive
I use WordPress 3.2.1 with EME 4.0.1. In the settings for a single event (german: Standardformat für eine Einzelveranstaltung) I’ve got this code:
<p>#d.#m.#Y – Beginn #H:#i Uhr</p>
<p>#_LOCATIONNAME – #_ADDRESS – #_TOWN</p><p>#_NOTES</p>
Routenplanung mit Google Maps
(Startstraße und Hausnummer eingeben)
#_DIRECTIONS#_MAP
My problen is, that a click on the ‘Add to Google Calendar ‘ opens a new entry, but without any data inside. So no time, no location and also no eventname. In the URL-field of my browser (I tried chrome & firefox) I can find this:
I’ve no idea, how to solve this problem.
Thanks for suggestions.
Fri 7 Oct 2011 at 08:42 #48821FrankyKeymasterWhat do you use for the “Add to google calendar”? That’s not a functionality I provide …
Fri 7 Oct 2011 at 08:54 #48822AnonymousInactiveI found a hint in the EME FAQ: How to add a “Add to Google Calendar” link to an event
I use it on my site http://dietorjaeger.de/?page_id=21 in each single event under the map to enable myself an others to “copy” the eme data for a soccer match from WordPress into the Google Calendar.
Fri 7 Oct 2011 at 09:12 #48823FrankyKeymasterThe FAQ contained an error:
&eamp;
should just be&
Try that (I corrected the FAQ)
Fri 7 Oct 2011 at 10:28 #48824AnonymousInactiveThe code is now:
<p>#d.#m.#Y – Beginn #H:#i Uhr</p>
<p>#_LOCATIONNAME – #_ADDRESS – #_TOWN</p><p>#_NOTES</p>
Routenplanung mit Google Maps
(Startstraße und Hausnummer eingeben)
#_DIRECTIONS#_MAP
The Problem remains.
Test URL-Text ist: https://www.google.com/calendar/render?action=TEMPLATE&;text=HSV+V+%26%238211;+Eimsb%C3%BCttel+7er&;dates=20111016T103000/20111016T123000&;sprop=http://dietorjaeger.de/?page_id%3D16%26amp;event_id%3D9&;location=Ulzburger+Stra%C3%9Fe+94,22850+Norderstedt&;details=HSV+%26%238211;+Paul-Hauenschild-Anlage&pli=1&sf=true&output=xml
Fri 7 Oct 2011 at 10:29 #48825AnonymousInactiveSorry, confused:
Code:
<p>#d.#m.#Y – Beginn #H:#i Uhr</p>
<p>#_LOCATIONNAME – #_ADDRESS – #_TOWN</p><p>#_NOTES</p>
Routenplanung mit Google Maps
(Startstraße und Hausnummer eingeben)
#_DIRECTIONS#_MAP
URL-Text:
https://www.google.com/calendar/render?action=TEMPLATE&;text=HSV+V+%26%238211;+Eimsb%C3%BCttel+7er&;dates=20111016T103000/20111016T123000&;sprop=http://dietorjaeger.de/?page_id%3D16%26amp;event_id%3D9&;location=Ulzburger+Stra%C3%9Fe+94,22850+Norderstedt&;details=HSV+%26%238211;+Paul-Hauenschild-Anlage&pli=1&sf=true&output=xml
The problem remains.
Fri 7 Oct 2011 at 14:42 #48826FrankyKeymasterYou forgot to remove the “;” after the “&”
Mon 10 Oct 2011 at 14:26 #48827AnonymousInactiveThat’s better. Now it is nearly what I want. But one problem is open. The “-” is convertet to a “–”. So HSV I – VfL Wolfsburg I is in Google Calendar HSV I – VfL Wolfsburg I. Same with other fields containing “-“.
My code: Add to Google Calendar
Mon 10 Oct 2011 at 14:44 #48828FrankyKeymasterErrr … I don’t see a difference in both “-” shown in your post? Can you give a real example for this?
Mon 10 Oct 2011 at 14:50 #48829AnonymousInactiveThe problem on this site is, that works fine and convertes the code correct. So I put a space beween the signs: & # 8 2 1 1 ;
So HSV – Wolfsburg will be HSV & # 8 2 1 1 ; Wolfsburg.
When I use HSV-Wolsburg (without space before an behind the “-” everything is okay.
Mon 10 Oct 2011 at 15:05 #48830FrankyKeymasterThe character you’re describing is a long “-“, not belonging to the standard for url’s. Since the add-to-google happens via a url, this character is not allowed and converted to it’s html representation. Probably it’s your browser or a copy-paste causing the long “-“.
Mon 10 Oct 2011 at 15:20 #48831AnonymousInactiveI’ll try that (using firefox mobile / chrome). Otherwise I’ll work without spaces.
Thank you for your support.
-
AuthorPosts
- The forum ‘How do I …’ is closed to new topics and replies.