【问题标题】:Add a google gadget to webpage将谷歌小工具添加到网页
【发布时间】:2013-05-08 14:35:05
【问题描述】:

我想在网页中添加一个谷歌日历小工具。

此页面显示小工具 http://www.google.com/ig/directory?synd=open&url=http://www.google.com/ig/modules/calendar3.xml

链接页面包含粘贴到网页中的代码 http://www.gmodules.com/ig/creator?synd=open&url=http%3A%2F%2Fwww.google.com%2Fig%2Fmodules%2Fcalendar3.xml&lang=en

我尝试创建一个简单的页面:

<!DOCTYPE html>
<html>
<head>
    <title>Calendar</title>
</head>
<body>
*<script src="//www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/calendar3.xml&amp;up_calendarFeeds=&amp;up_calendarColors=&amp;up_showDatepicker=1&amp;up_showEmptyDays=0&amp;up_showExpiredEvents=1&amp;synd=open&amp;w=320&amp;h=447&amp;title=Google_Calendar&amp;lang=en&amp;country=ALL&amp;border=%23ffffff%7C3px%2C1px+solid+%23999999&amp;output=js"></script>*
</body>
</html>

但结果页面不显示日历,仅显示“**”。我将此页面存储在本地文件中(而不是服务器上)并在浏览器中打开。

任何建议,包括获得相同功能的另一种方法?

【问题讨论】:

    标签: javascript google-calendar-api google-gadget


    【解决方案1】:

    此页面上的信息导致解决方案:

    https://support.google.com/calendar/answer/41207?hl=en

    【讨论】:

      猜你喜欢
      • 2012-06-14
      • 1970-01-01
      • 1970-01-01
      • 2011-01-01
      • 1970-01-01
      • 2015-09-20
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多