问题
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