我想将Google日历小工具添加到网页中。
此页面显示小工具 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&up_calendarFeeds=&up_calendarColors=&up_showDatepicker=1&up_showEmptyDays=0&up_showExpiredEvents=1&synd=open&w=320&h=447&title=Google_Calendar&lang=en&country=ALL&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>*
</body>
</html>
但结果页面不显示日历,只显示“**”。我将此页面存储在本地文件中(不在服务器上)并在浏览器中打开。
有任何建议,包括获得相同功能的另一种方法吗?