无论如何,是否可以提供一个 ics 日历文件,该文件将自动与更新保持同步
我看到使用 C# 中的这个日历库,我可以以编程方式生成 ics 文件与一堆日历事件。
但如果某个人想要订阅日历,那么当添加或删除未来的事件时,该人就会得到更新,我想要一个解决方案。
当您从 Outlook 订阅服务器上的 ics 文件时,看起来 Outlook 只是从 Outlook 帮助文件中获取基于此的快照:=(我假设其行为与通过电子邮件发送日历的行为相同)
通过电子邮件发送日历 您可以通过电子邮件将您拥有的任何日历发送给其他人。这是一种称为日历快照的 Internet 日历。日历显示在电子邮件的正文中。但是,收到日历快照的 Office Outlook 2007 用户可以选择将日历作为 Outlook 日历打开。这样做可以以并排模式或日历覆盖模式显示日历快照和当前日历。
是否有任何编程解决方案允许人们订阅始终会出现的 iCalendar 文件(或其他格式)随着时间的推移随时了解最新的变化?
i see using this calendar library in C# that i can programatically generate an ics file with a bunch of calendar events.
but I want a solution if i a person wants to subscribe to a calendar so when future events get added or deleted that that person gets updated.
When you subscribe to a ics file on a server from outlook, it looks like outlook just gets a snapshot based on this from the outlook help file:= (i assume its the same behavior as it i sent a calendar via email)
Send a Calendar via E-mail You can send any of the calendars you own to another person in an e-mail message. This is a type of Internet Calendar called a Calendar Snapshot. The calendar appears within the body of an e-mail message. However, an Office Outlook 2007 user who receives the Calendar Snapshot can choose to open the calendar as an Outlook calendar. Doing so can display the Calendar Snapshot and the current calendar in side-by-side mode or calendar overlay mode.
is there any programmatic solution to allow a person to subscribe to a iCalendar file (or other format) that would always stay up to date with the latest changes over time?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
Outlook将基于基于服务器的.ics 文件进行更新。将文件存储在 Web 服务器上的某个位置(我已成功使用 Wiki 页面),然后使用 webcal:// 地址而不是 http:// 地址。 Outlook 应该会自动选择它。
这通常会作为“发送/接收”的一部分进行刷新,但也可以通过“帐户设置...Internet 日历”进行配置。
我已经完成了您想要做的事情,同一个图书馆等等。该更新在一个有很多人订阅日历文件的大型组织中发挥了作用。
这也可能有帮助: http://blogs.msdn .com/b/michael_affronti/archive/2006/05/10/594986.aspx
Outlook will update based on a server-based .ics file. Store the file on a web server somewhere (I have used a Wiki page successfully) and then use a webcal:// address instead of the http:// address. Outlook should pick this up automatically.
This will generally refresh as part of the "Send/Receive" but can also be configured through "Account Settings...Internet Calendars".
I have done exactly what you are looking to do, same library and all. The update worked a treat within a large organisation with many people subscribing to the calendar files.
This might help as well: http://blogs.msdn.com/b/michael_affronti/archive/2006/05/10/594986.aspx
我认为这不是一个有效的假设。我公司的防火墙似乎阻止了一些事情,所以我无法完全测试这一点,但 Outlook 中的订阅选项确实谈论了更新。
I don't think this is a valid assumption. My company's firewall seems to be blocking things, so I can't test this completely, but the Subscription Options in Outlook does talk about updates.
您是否正在寻找推送通知或类似的内容?
网络上大多数基于 iCal .ics 的日历都希望以类似于 RSS 或 ATOM 的轮询类型方式使用,其中客户端将定期检查是否进行了任何更改,如果进行了更改,则相应地下载新内容。我的理解是,启用 WebDAV 的服务器可能也能够允许某些客户端直接修改这些 .ics 文件,但是客户端仍然有责任在订阅日历时轮询和更新其本地日历快照。
我对 Outlook 日历对 iCal 的支持没有太多经验,但我非常广泛地使用 Google 日历、内置的 iPhone 日历应用程序,而且我过去也使用过 Sunbird 日历应用程序,它们都运行得很好当我检查更新时可靠地向我显示更新。
Are you looking for push notifications or something along those lines?
Most iCal .ics based calendars on the web expect to be used in a polling type fashion similar to RSS or ATOM in which a client will periodically check to see if any changes have been made and if so download the new content accordingly. My understanding is also that WebDAV enabled servers may have the ability to allow some clients to modify these .ics files directly as well however it is still the responsibility of the clients to poll and update their local snapshot of a calendar when subscribed to one.
I don't have much experience with the Outlook calendar's support for iCal but I use Google Calendar pretty extensively, the built in iPhone Calendar App, and I've also used the Sunbird Calendar application as well in the past and all of them work pretty reliably in showing me updates when I check them.