从移动平台上的浏览器中向日历添加事件 [英] Add event to calender from within a browser on mobile platforms

查看:83
本文介绍了从移动平台上的浏览器中向日历添加事件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在一个列出事件的移动网站上.我认为,将一个包含特定事件的所有信息的ICS文件放在一起,并链接到该文件就足以让操作系统处理ICS文件并将该信息添加到日历中.

i'm working on a mobile site that lists events. I thought that putting together an ICS file, which contains all the information for a specific event, and linking to that file would be enough to have the OS handle the ICS file and add that information to the calendar.

这在台式机上有效,浏览器会询问我是否要在当前安装了日历应用程序的情况下打开ICS文件.

This works on Desktop Computers where the Browser asks if i would like to open the ICS file with a calendar application currently installed.

在android和iOS上,这根本不起作用.

On android and iOs this does not work at all.

这是我在android上得到的:

This is what i get on android:

  • Chromebrowser-无法下载文件;说下载失败
  • Firefox-下载ICS文件并使用文本编辑器打开
  • Opera-下载ICS文件并使用文本编辑器打开

iOs:下载文件但不执行任何操作

iOs: downloads the file and does nothing

那么,有没有一种方法可以将该信息提供给用户,以便他/她可以将该事件添加到他/她的日历中?(如JS框架)

So, is there a way to serve that info to the user so he/she can add that event to his/hers calendar? (like a JS Framework)

推荐答案

我认为这全都取决于浏览器和设备的设置以及/或者它们是否具有此功能.没有通用的方法可以强制将ics文件添加/订阅或导入到某人的日历应用中.

I think it all depends on the browser and device setup and/or whether they have the capability. There is no universal way to force an ics file to be added/subscribed to or imported into someone's calendar app.

默认情况下,桌面浏览器设置为将ics链接传递到他们认为您的日历应用程序所在的任何位置.(但我例如总是出于测试目的在记事本中打开ics文件)

Desktop browsers by default are set to pass the ics link to whatever they think your calendar application is. (But I For example always open ics files in notepad for testing purposes )

显然,iphone自动订阅曾经起作用,但是不再起作用: http://blog.fosketts.net/2011/01/13/apple-breaks-ics-calendar-autosubscription-ios-42/人们现在必须非常有意识地订阅"或导入.

Apparently iphone auto subscribe used to work, but no longer does: http://blog.fosketts.net/2011/01/13/apple-breaks-ics-calendar-autosubscription-ios-42/ People now have to 'subscribe' or import very deliberately.

这可能是出于良好的隐私"原因-我可以想象许多人可能会在未意识到将事件加载到日历中的情况下单击链接.

This may be for good 'privacy' reasons - I can imagine many folks may click on a link without realising that it is going to load events into their calendar.. could be bad.

我知道可以直接完成的唯一方法是使用Google日历-我称之为添加到Google"选项.-人们只需要创建一个带有正确参数的链接,并且如果人们登录了gooogle,它将开始创建包含这些详细信息的事件-当然,用户仍然必须保存".

They only way that I know of that can be done more directly is for google calendar - what I call the "add to google" option. - one just needs to create a link with the right parameters and if people are logged in to gooogle, it will start creating an event with those details - the user still has to 'save' of course.

可能更好一些的可能性是有一个链接,向其电子邮件" isc文件.一些电子邮件应用程序希望能够处理ics邀请.

ONe possibility that may work a little better is to have a link that 'emails' them the isc file. Some email applications expect to deal with ics invites.

https://discussions.apple.com/message/10022359#10022359

http://www.fulltimecasual.com/apple/iphone/iphone上的iphone接收提示

我很想知道你如何去做.如果您发现更多信息或想出其他方案,请在此处发回邮件.

I'd be interested to know how you go with this. If you find out any more or come up with an alternative plan, please post back here.

可能会变得凌乱:" http://www.zimbra.com/forums/administrators/17564-invites-ics-files-auto-populate-calendar.html

这篇关于从移动平台上的浏览器中向日历添加事件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆