我知道我必須死腦筋,我有一個月前的解決方案,但意外刪除它(哎呀)!味精谷歌日曆添加飼料
從this page您可以創建一個小部件日曆。隨着日期選擇器和議程(是兩者都需要)
它生產的一些代碼,就像這樣:
<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/calendar3.xml&up_calendarFeeds=&up_calendarColors=&up_firstDay=0&up_dateFormat=0&up_timeFormat=1%3A00pm&up_showDatepicker=1&up_hideAgenda=0&up_showEmptyDays=0&up_showExpiredEvents=1&synd=open&w=320&h=165&title=__MSG_Google_Calendar__&lang=en&country=ALL&border=%23ffffff%7C3px%2C1px+solid+%23999999&output=js"></script>
但是它沒有指定日曆,始終加載本地日曆。我看到裏面有變量up_calendarFeeds
,這讓我想我應該嘗試添加一個Feed。我搜索並在Feed上找到了google's page。該說的Feed網址的格式爲:
https://www.google.com/calendar/feeds/userID/private-magicCookie/full
full
超過basic
是機器可讀的,由本人承擔小工具使用。但是,當我使用我的數據設置up_calenderFeeds
變量時,它不加載任何內容。我錯過了什麼?這是我的最終代碼:
<script src="http://www.gmodules.com/ig/ifr?url=http://www.google.com/ig/modules/calendar3.xml&up_calendarFeeds=https://www.google.com/calendar/feeds/[email protected]/private-0b7544f4b5f2198fc76c96e59f285dad/full&up_calendarColors=&up_firstDay=0&up_dateFormat=0&up_timeFormat=1%3A00pm&up_showDatepicker=1&up_hideAgenda=0&up_showEmptyDays=0&up_showExpiredEvents=1&synd=open&w=195&h=500&title=Portland+IPA+Calendar&lang=en&country=ALL&border=%23ffffff%7C3px%2C0px+solid+%23999999&output=js"></script>
我不知道如果我應該使用私有密鑰或沒有? – ohmusama 2011-04-27 04:28:38