在许多不同的网站上显示日历功能
首先,请原谅我的无知,这是一个探索性的问题,而不是一个需要解决的具体编程程序。
我有许多客户拥有独特的网站,但我没有参与开发这些网站。我希望他们能够显示常见事件的日历,但其中也包含他们独有的事件。
是否可以使用服务器端包含之类的东西来为他们提供几行代码,他们可以将这些代码插入到他们的网站(在任何特定页面上)中,这些代码可能会显示日历类型显示,然后用户可以与之交互?
我想我正在寻找类似于 Google 日历的东西,但我不想使用 Google 日历。关键是他们只需要在其中一个网页上插入几行代码即可;他们不必在服务器上安装任何软件。
有什么建议吗?
谢谢 达米安
first of all, please excuse my ignorance, this is an exploratory question, rather than a specific programming program that needs solving.
I have a number of clients that have unique websites, none of which I was involved in developing. I would like them to be able to display a calendar of common events, but which would also contain events unique to them.
Is it possible using something like Server Side Includes to be able to give them a few lines of code which they could insert into their website (on any particular page) which might display a calendar type display, which their users can then interact with?
I guess I am looking for something similar to a Google calendar but I do not want to use a Google calendar. The key thing would be that they would only need to insert the few lines of code on one of their webpages; they wouldn't have to install any software on their servers.
Any suggestions?
Thanks
Damien
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
有各种各样的网络日历可以让您将它们包含在网页上(通常使用 javascript,而不是 SSI)。有些针对特定平台(即Wordpress),有些则更为通用。
尝试搜索“网络日历小部件”作为示例。
There are are all sorts of web calendars that will allow you to include them on a web page (typically using javascript, not SSI). Some are targeted at specific platforms (ie, Wordpress) and some are more generic.
Try searching "web calendar widget" for examples.
您必须在他们的网站上放置一些内容。如果您能做到这一点,您可以包含一些 javascript,这些 javascript 将从服务器端加载更多 javascript,从而为您完成大部分日历工作。
您无法仅将一些文件放到服务器上并让它们工作,您需要某种方式通过更改至少一个页面上的现有内容来链接到它们。
不过我可能误解了你的问题。
You'd have to put some amount of content on their site. If you can do that, you can include some javascript that will load more javascript from the server side that can do the bulk of the calendaring work for you.
You wouldn't be able to just drop a few files on the server and have them work, you'd need some way to link to them by changing the existing content on at least one of the pages.
I may be misunderstanding your question though.
如果您正在寻找有关网络日历小部件的具体建议,Arshaw 的 fullcalendar 是我迄今为止最喜欢的。
它显示了一个很棒的日历,可以使用 css 或 jquery ui themeroller 轻松设置样式,并且非常可编程。该网站也有很棒的文档和示例。
通过在不同的站点上使用它,它可以轻松支持。
请注意,我根本不属于该日历,只是一个满意的客户。
If you are looking for specific recommendations on web calendar widgets, Arshaw's fullcalendar is my favorite to date.
It displays a great calendar that can be easily styled with css or jquery ui themeroller and is very programmable. The website has great documentation and examples as well.
Per using it on different sites, it supports that easily.
Note, I'm not affiliated with that calendar at all, just a satisfied customer.