[多图]一步一步实现Google Calendar和Gmail Contacts与桌面同步

2007年04月19日 13:18 次阅读 稿源: 条评论
感谢adown的投递
新闻来源:http://www.lifehacker.com
前天我们介绍了Google Calendar&cantacts与Sunbird/Firfox/ThunderBird/Mozilla Calendar的同步.今天我们来跟着lifehacker一步一步实现它,多图,投递者做了简单的翻译,但不完整,但大家已经可以从图中了解到足够多的信息了.
实现Google Calendar与Sunbird/Firfox/ThunderBird/Mozilla Calendar的同步。
 
Permanent Internet connection 1) 安装并运行GCALDaemon ('standalone-start.bat' or 'standalone-start.sh').

2) 复制ICAL

3) 运行Sunbird. 打开'New Calendar...'
 
4) Select 'On the Network' option on 'Create New Calendar' dialog.

5) Select 'iCalendar' format, and put the iCal URL for your calendar's Private Address into 'Location' field. Replace 'www.google.com' hostname to 'localhost:9090'!
6) Input the new calendar's name (e.g. 'Google Calendar'). Click 'Next' then 'Finish'.
 
7) 输入canlendar的用户名和密码
 

 拨号连接 1) Install GCALDaemon (Java 1.5 required).
2) 开始密码编译器('password-encoder.bat' or 'password-encoder.sh'). 输入你的原始密码,然后copy下你的编译过的密码。
3) Copy the iCal URL
 
4) Edit the 'gcal-daemon.cfg' file with your text editor.
A) Set the 'file.enabled' property to 'true'
B) Set the 'file.google.username' property to your Gmail address
C) Set the 'file.google.password' property to your encoded password
D) Set the 'file.private.ical.url' property to iCal URL, without protocol and hostname (see image)
5) 最重要的: Set the 'file.offline.enabled' property to 'true'!

6) Start GCALDaemon ('standalone-start.bat' or 'standalone-start.sh').
 
7) 运行Sunbird. 打开'New Calendar...'
 
8) Select 'On the Network' option on 'Create New Calendar' dialog.
 
9) Select 'iCalendar' format, and put the local iCal file's path into the 'Location' field. Important: use the 'file:///' prefix before the file's path, and don't include backslash characters! Use standard file URL format (replace spaces to '%20', etc).
 
10) Input the new calendar's name (e.g. 'Google Calendar'). Click 'Next' then 'Finish'.

11) Items added (or modified/deleted) to your Sunbird calendar will now automatically appear in your Google Calendar. GCALDaemon will compare your Google Calendar (if available) and local iCalendar file every 10 minutes (see the 'file.polling.google' property). If GCALDaemon detects that the network is not available, it waits 10 minutes (again and again). 12) To set up multiple file listeners, you need to configure, at the very least, a path-username-password-url set for each of the Google Calendars you want to synchronize (see picture below; the first listener definition is unindexed, the others are indexed from '2'). Note: don't include backslash characters in the 'file.ical.path' properties.
 
Fine adjustment 1) For the higher security set the 'http.allowed.hostnames' configuration option's value to 'localhost' (in 'conf/gcal-daemon.cfg'). The authentication and the ATOM-based communication between Google and GCALDaemon is secure (SSL) and cannot be intercepted by a third party.

 

2) Optionally start the 'service-install.bat' to install GCALDaemon as Windows service (on UNIX-compatible systems put GCALDaemon into 'init', 'launchd' or 'rc' script). Before uninstall GCALDaemon, you must stop and uninstall this service (with 'service-stop.bat' and 'service-uninstall.bat'). Please note, this is the last step in the setup/configuration process, do not install the service while GCALDaemon is not running properly.
 
3) 制作同步看得见:Set the 'progress.enabled' property to 'true' (in 'conf/gcal-daemon.cfg') to enable GCALDaemon's progress bar. 这是看得见的进步与谷歌gcaldaemon日历.

Compatibility notes 1) Sunbird/Lightning alarm property synchronized unidirectionally, recurrent events synchronized partly by GCALDaemon (e.g. recurrence exception is not implemented). Category, priority and URL properties are unsupported by the Google Calendar API. iCalendar event property
Google Calendar event property
Synchronization summary
title
bidirectionally location
where
bidirectionally description
content
bidirectionally created date
published date
bidirectionally start date
start date
bidirectionally end date
end date
bidirectionally all day event (true / false)
all day event (true / false)
bidirectionally status (tentative / confirmed / canceled)
status (tentative / confirmed / canceled)
bidirectionally classification (public / private)
visibility (public / private)
bidirectionally transparency (transparent / opaque)
transparency (transparent / opaque)
bidirectionally attendees
participants
bidirectionally recurrence rule
recurrence rule
bidirectionally (partly implemented) alarm
reminder
one-way only (iCalendar to Google)
 
2) Google Calendar - 不像sunbir那要支持To Do (Task) items. 因此 GCALDaemon 会存储到你的本地目录'GCALDaemon/work' folder. 
同样方法用于google 联系人的同步
detailed, screenshot-laden documentation for setting up LDAP is available.
  gcaldaemon-ldap.png
FOOTNOTE:同样的方法在Rainlendarr等desktop canlendar.

对文章打分

[多图]一步一步实现Google Calendar和Gmail Contacts与桌面同步

1 (50%)
已有 条意见

    最新资讯

    加载中...

    编辑精选

    加载中...

    热门评论

      Top 10

      招聘

      created by ceallan