在雅虎日历中创建活动
我一直在尝试在我的雅虎日历中创建一个事件,为此我使用 caldev 规范、Http 客户端 3、Apache Jackrabbit 和 ical4J API。
我能够创建事件(获取 201 http 响应)、检索相同的事件(使用 http get 方法)并可以删除相同的事件。
我面临的唯一问题是创建到服务器的事件没有显示在雅虎日历上。
我不知道该怎么办...请引导我正确的方向。
这是我正在创建的事件
BEGIN:VCALENDAR
PRODID:-//Test //iCal4j 1.0//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20111103T011552Z
UID:f0266444-61ae-40ea-bf7d-e03b0f9a1fc3
SUMMARY:Tests Uploading Summary Event
DESCRIPTION:Tests Uploading Description Event
DTSTART;VALUE=DATE:20111103
URL:test.com
END:VEVENT
END:VCALENDAR
I have been trying to create an event in my yahoo calendar for which I am using caldev specification, Http clients 3,Apache Jackrabbit and ical4J API.
I am able to create the event(getting 201 http response), retrieve the same event(using http get method) and can delete the same event.
The only problem I am facing is the event when created to the server it is not shown on the yahoo calendar.
I dont know what to do ... please guide me to correct direction.
Here is he event I am creating
BEGIN:VCALENDAR
PRODID:-//Test //iCal4j 1.0//EN
VERSION:2.0
BEGIN:VEVENT
DTSTAMP:20111103T011552Z
UID:f0266444-61ae-40ea-bf7d-e03b0f9a1fc3
SUMMARY:Tests Uploading Summary Event
DESCRIPTION:Tests Uploading Description Event
DTSTART;VALUE=DATE:20111103
URL:test.com
END:VEVENT
END:VCALENDAR
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您正在使用 CalDAV,您可能需要查看 ical4j-connector,它提供了用于与 CalDAV 服务器通信的 Java API。您可以在 ical4j wiki 中找到更多详细信息:
http://wiki.modularity .net.au/ical4j/index.php?title=连接器
If you are using CalDAV you may want to check out the ical4j-connector, which provides a Java API for communicating with CalDAV servers. You can find more details in the ical4j wiki:
http://wiki.modularity.net.au/ical4j/index.php?title=Connector