生成与Google日历兼容的供稿 [英] Generate a Google Calendar compatible feed
问题描述
我正在尝试构建与Google日历兼容的供稿(原子),用户可以订阅并使用该供稿来接收更新,但是到目前为止,我阅读的所有内容都涉及使用GData API与Google进行交流.我只想提供一个供稿网址,如果用户选择的话,可以将其添加到Google日历中.
当我尝试将<gd:where>
和<gd:who>
元素添加到普通"原子供稿中时,它在供稿阅读器中损坏了.
我会以错误的方式处理吗?还有其他方法吗?
我可能很忙,但是如果您想向用户提供日历信息,使用ICS格式不是更好的主意吗?>
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?
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?
这篇关于生成与Google日历兼容的供稿的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!