问题标签 [vcal]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - 使用 PHP 回显值时,vcalendar 文件中没有换行符
我有一个 vcalendar 文件。如果我在这样的 php 标签之间键入它,它就完美了
但是,一旦我把它放在 echo 语句中,就像这样:
然后它不起作用。我试过添加\n,
一切。
如果我做类似的事情也不起作用:
其他人可以在这里看到解决方案吗?
php - 如何正确显示 vCard 或 vCal
通过移动应用程序,我的用户可以将参考对象及其数据发送到我们的服务器。这要么是日历事件,要么是联系人。使用的格式是 vCal 或 vCard。
在我的网站上,我想将参考对象与数据一起显示。理想情况下,悬停或单击时会显示 vCard / vCal 的图标,并可以保存它。这不必与 ajax 一起使用。我的网站使用 jquery 并且必须能够在 IE7 及更高版本中工作。
我在一系列技术(微格式等)中找到了很多示例(主要是简历或画廊类型的东西)。我正在寻找一个更简单的例子。
什么是一个好的插件或解决方案?
非常感谢。
php - PHP:使用 php mailer 发送 ical
我正在尝试使用 php 邮件程序发送 ical
这里是我的功能
我正在使用 php 邮件程序,但不幸的是邮件不是以 ical 格式发送的。
请告诉我我做错了什么。
我也没有办法通过这封邮件发送标题。
php - 如何在 Outlook 中确定日历时区
我有这个日历时间:
时间和日期存储在 DTSTAMP、DTSTART 和 DTEND 中,但 Outlook 似乎并未将时区信息附加到这些日期。有没有办法做到这一点?我相信最后的 Z 指的是“祖鲁”时区,或 UTC。我在这个假设上错了吗?
如果用户在 CST,我如何让 Outlook 识别给定时间在 EST 中,并更改它?有没有办法轻松做到这一点?(我正在自动生成 iCal/vCal 文件,因此我可以直接控制此文件中的所有内容)。我正在使用 PHP 生成这个文件(技术上它是由 Drupal 模块生成的)
outlook - VCal 事件未在 Outlook 中显示
我正在尝试发送 iCal 邀请,但当我通过 Exchange 服务器发送邀请时,无法使其在 Outlook 中显示为事件。如果我使用外部 IMAP 服务器一切正常,这似乎是 Exchange 的问题(可能是某些配置)
这是事件,没什么特别的(我省略了信息)
也许我应该放置一些额外的标题来强制 Outlook 将其视为一个事件。
我通过 SMTP 内部服务器使用此 Java 代码发送它。
和这个库(ical4j)
根据这个错误,outlook 应该有 method=PUBLISH 才能正确呈现事件
android - How to create a calendar event (ics or vcs) on a website that'll be handled by Android?
I try to develop an 'add this event to your agenda' feature on a mobile website. I found some entries about that but none of them works for me.
How to add .vcs file to Android Calendar
Add Calendar event to Android from web .vcs download
I can't asking for my users to download an app if they want to open this file.
I've made several tests, on Nexus 4 (4.4.2) and Nexus 5 (4.4.4) neither ical or vcal files work. Files are downloaded, but I can't open them. The behavior is different on Samsung devices. On S2(4.0.3) only vcal format works. It starts an 'Agenda' activity. On S4 mini (4.2.2), iCal and vCal files are handled by 'S Planner'.
Any Ideas ?
c# - 删除 Ical 事件不起作用
我正在我的 Web 应用程序中动态创建一个 ical 事件,当有人取消应用程序上的约会时,我们会在他们的电子邮件中生成一个删除 ical 事件 *.ics 文件以删除他们日历中的事件。
创建工作正常,但是当我们尝试删除我们创建的约会时,它并没有从日历中删除它
创建 Ical 事件代码:
创建事件在 iphone/android/outlook 上完美运行
删除事件部分:
当我单击生成的此文件以删除已创建的事件时,它不会删除该事件,有时它会复制该事件。
创建和删除的 ical UID 是相同的。
outlook - My VCALENDAR boundary won't work
I'm having an issue around adding a VCalendar to my email using boundaries. I'm not getting an error in gmail, it just doesn't show that the message contains an event. This is the email source:
Content-class: urn:content-classes:calendarmessage
Content-Transfer-Encoding: 8bit
MIME-Version: 1.0
Content-Type: multipart/mixed;
boundary="b1_83e86bab65095a2eb1fc16096e160ba2"--b1_83e86bab65095a2eb1fc16096e160ba2
Content-Type: multipart/alternative;
boundary="b2_83e86bab65095a2eb1fc16096e160ba2"--b2_83e86bab65095a2eb1fc16096e160ba2
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 8bitThis is to advise that your booking on the following course has been cancelled:
--b2_83e86bab65095a2eb1fc16096e160ba2
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: 8bitThis is to advise that your booking on the following course has been cancelled:
--b2_83e86bab65095a2eb1fc16096e160ba2--
Content-Type: text/calendar;name="meeting.ics";method=REQUEST;
Content-Transfer-Encoding: 8bitBEGIN:VCALENDAR
PRODID:-//Microsoft Corporation//Outlook 10.0 MIMEDIR//EN
VERSION:2.0
METHOD:REQUEST
BEGIN:VTIMEZONE
TZID:Eastern Time
BEGIN:STANDARD
DTSTART:20091101T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=1SU;BYMONTH=11
TZOFFSETFROM:-0400
TZOFFSETTO:-0500
TZNAME:EST
END:STANDARD
BEGIN:DAYLIGHT
DTSTART:20090301T020000
RRULE:FREQ=YEARLY;INTERVAL=1;BYDAY=2SU;BYMONTH=3
TZOFFSETFROM:-0500
TZOFFSETTO:-0400
TZNAME:EDST
END:DAYLIGHT
END:VTIMEZONE
BEGIN:VEVENT
ORGANIZER;CN="webmaster":MAILTO:webmaster@example.com
ATTENDEE;CN="Joseph";ROLE=REQ-PARTICIPANT;RSVP=TRUE:MAILTO:test@email.com
LAST-MODIFIED:20150323T95540
UID:20151112T1800002068512894@exchangecore.com
DTSTAMP:20150323T95540
DTSTART;TZID="Eastern Time":20151112T180000
DTEND;TZID="Eastern Time":20151112T190000
TRANSP:OPAQUE
SEQUENCE:1
SUMMARY:My Test Subject
LOCATION:Joe's House
CLASS:PUBLIC
PRIORITY:5
BEGIN:VALARM
TRIGGER:-PT15M
ACTION:DISPLAY
DESCRIPTION:Reminder
END:VALARM
END:VEVENT
END:VCALENDAR--b1_83e86bab65095a2eb1fc16096e160ba2--
I seems like I'm getting the boundaries wrong.
Thanks in advance.
php - VCalendar 和 PHP 发送会议请求,但电子邮件未请求回复
我正在使用 PHP 和 VCal 向用户发送会议请求。问题是,当用户收到请求时,并没有给他们“接受/拒绝”会议的选项。这发生在 OUTLOOK 中。接受和拒绝按钮选项显示为灰色,打开电子邮件时显示“不需要回复”,我想这样做,以便用户可以选择拒绝或接受,并且确实需要回复。如果我尝试在我的 iPhone 上接受测试邀请,则会弹出一条消息,显示“无法发送您对邀请的回复”。不确定我需要在我的 VCAL 代码中进行什么调整。任何想法?
编辑发布:我想出了如何通过更改“方法:发布”而不是请求来使日历事件允许接受和拒绝日历邀请。
已编辑问题:现在我遇到的问题是收到 Vcalendar 邀请的用户能够编辑事件的主题、地点和日期。如何禁用使用 VCal 编辑日历邀请详细信息的功能?
谢谢你。