Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problem with GEO property when importing into Google Calendar #73

Closed
sgehrig opened this issue Jun 1, 2016 · 6 comments
Closed

Problem with GEO property when importing into Google Calendar #73

sgehrig opened this issue Jun 1, 2016 · 6 comments

Comments

@sgehrig
Copy link
Contributor

sgehrig commented Jun 1, 2016

It seems as if the Google Calendar does not support the GEO property that was added with commit 7a3751f (this is also addressed in pull request #66). Importing an event with a GEO property fails in Google Calendar.

There should be an option to disable the GEO property because setting the geo location works perfectly for iOS and Mac using the X-APPLE-STRUCTURED-LOCATION property.

@sgehrig
Copy link
Contributor Author

sgehrig commented Jun 1, 2016

bildschirmfoto 2016-06-01 um 13 00 04

@sgehrig
Copy link
Contributor Author

sgehrig commented Jun 1, 2016

The iCal used looks like:

BEGIN:VCALENDAR
VERSION:2.0
PRODID:xxxxxx
CALSCALE:GREGORIAN
X-MICROSOFT-CALSCALE:GREGORIAN
X-PUBLISHED-TTL:P1W
BEGIN:VEVENT
UID:7fb3594c3ba12f47106f4122c650e7e99ac99e00
DTSTART:20160603T170000Z
SEQUENCE:3085364
TRANSP:TRANSPARENT
DTEND:20160603T190000Z
URL:https://example.com/event
LOCATION:Sporthalle Horkesgath\, Horkesgath 33\, 47803 Krefeld\, Deutschland
 d
X-APPLE-STRUCTURED-LOCATION;VALUE=URI;X-ADDRESS="Sporthalle Horkesgath, Hor
 kesgath 33, 47803 Krefeld, Deutschland";X-APPLE-RADIUS=49;X-TITLE=Sporthal
 le Horkesgath / Krefeld:geo:51.33701\,6.52919
GEO:51.33701\,6.52919
SUMMARY:Summary
CLASS:PUBLIC
CATEGORIES:Cat
DTSTAMP:20160601T072711Z
CREATED:20160601T072711Z
END:VEVENT
END:VCALENDAR

@sgehrig
Copy link
Contributor Author

sgehrig commented Jun 1, 2016

Just dug around a little bit and the problem is that RFC 5545 says that the The value MUST be two SEMICOLON-separated FLOAT values. while the library uses an escaped comma to separate lo latitude and longitude - it just reuses the locationGeo property that's being put into the Apple X-property.

@sgehrig
Copy link
Contributor Author

sgehrig commented Jul 5, 2016

Fixed with pull request #74 - can be closed.

@markuspoerschke
Copy link
Owner

Thanks for your contribution!

@dualitysol
Copy link

Does not work like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants