PHP:使用 Zend 获取特定的 Google 日历提要?
免责声明:我确实尝试先搜索,甚至发现此评论< /a>,但它与我的要求不符。
我正在学习使用 Zend 框架将 Google 日历集成到我正在构建的一些软件中。目前,我可以检索我的日历列表,以及打印与我的默认日历相关的事件 (这个 和 这帮助了我)。
问题是:我使用了大约 8 个不同的日历。 我希望能够在我的一个非默认日历上创建、更新和删除事件。我假设它位于 Google 的 Zend 文档中,特别是向 getCalendarEventFeed() 方法传递一个参数,但我找不到任何有关它的文档。
总之:我希望能够使用 Zend 框架在我的一个非默认 Google 日历上创建/更新/删除事件。
Disclaimer: I did try searching first, and even found this comment, but it didn't match what I'm asking.
I'm just learning to use the Zend framework to integrate Google Calendars into some software I'm building. Currently I am able to retrieve a list of my calendars, as well as to print events related to my default calendar (this and this helped me).
The problem is: I use about 8 different calendars. I want to be able to create, update and delete events on one of my non-default calendars. I assumed it was in the Zend of Google documentation, specifically passing a parameter to the getCalendarEventFeed() method, but I cannot find any documentation on it.
In summary: I'd like to be able to use the Zend framework to create/update/delete events on one of my non-default Google Calendars.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您必须更改 Feed ID,因为您当前正在访问默认日历。
对于查询,它看起来像这样: $query->setUser($id_calendar_feed);
在网址上,它看起来像这样:“http://www.google.com/calendar/feeds/”。 $id_calendar_feed 。 “/私人的/”
You have to change the feed id as you are currently accessing the default calendar.
For a query it looks something like this: $query->setUser($id_calendar_feed);
On a url it looks something like this: "http://www.google.com/calendar/feeds/" . $id_calendar_feed . "/private/"