Generate a Google Calendar compatible feed

强颜欢笑 提交于 2019-12-23 05:11:24

问题


I'm trying to build a Google Calendar compatible feed (atom), that users can subscribe to and use to receive updates, but everything I've read so far involves communicating with Google using the GData APIs. I just want to provide a feed url that can be added to Google Calendar if the user chooses to do so.

When I tried adding the <gd:where> and <gd:who> elements to a 'normal' atom feed, it broke in my feed reader.

Am I going about this the wrong way? Is there some other way to do this?


回答1:


I may be being dense, but if you are trying to provide users with calendar info, would it not be a better idea to use the ICS format?




回答2:


not really an answer but the Rome API may be useful

https://rome.dev.java.net/

Karl




回答3:


If you use Firefox and view the source of a Google Calendar feed and then as it to a server it will not work. Why not?

Try it your self.

view-source:http://www.google.com/calendar/feeds/usa__en@holiday.calendar.google.com/public/basic



来源:https://stackoverflow.com/questions/920486/generate-a-google-calendar-compatible-feed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!