annotate README @ 10:1a68139a269f

*** empty log message ***
author kono
date Wed, 22 Mar 2006 22:12:25 +0900
parents cb79baed256e
children 6ee8b90426e7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
111809a2ea45 Initial revision
kono
parents:
diff changeset
1 Calcon version 0.01
3
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
2
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
3 Calendar/Address Book converter
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
4
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
5 河野真治
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
6
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
7 Zaurus なんかのアドレス帳やスケジュールを Mac OS Xのアドレスブックや
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
8 iCalに移動するのに書きました。Entourageもapplescript 経由でできます。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
9 書き出しは、Mac::Applescript module が必要です。CPANにあります。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
10 Applescript は前もってアプリケーションを立ち上げる必要がある時が
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
11 あるみたい。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
12
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
13 入力フォーマット
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
14 'Zaurus' => 'Calcon::Zaurus_read',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
15 ザウルスのデータ CFにコピーするかで取り出した *.BOX ファイル
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
16 SCHEDULE1.BOX, ADDRESS1.BOX などです。MI-C1,MI-110 は試しました。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
17 'Backup Zaurus' => 'Calcon::Zaurus_backup_read',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
18 ザウルスのバックアップデータ *.BCK です。シリアル経由で取った
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
19 ものも読めます。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
20 'Xcalendar' => 'Calcon::Xcalendar_read',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
21 Unix X Window の xcalendar の旧フォーマット
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
22 'Vcard' => 'Calcon::Vcard_read',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
23 VCARD
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
24 'SLA300' => 'Calcon::Sla300_read',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
25 リナックスザウルス
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
26 'iApp' => 'Calcon::iApp_read',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
27 Mac OS X のiCal, Address Book, Applescript 経由です
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
28 'Entourage' => 'Calcon::Entourage_read',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
29 Mac OS X のEntourage X, Applescript 経由です
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
30 アドレスは export したファイルも読めます。こちらの方が高速。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
31 'File' => 'Calcon::File_read',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
32 独自のフラットファイルフォーマット (EUC)
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
33
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
34 出力フォーマット
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
35 'Xcalendar' => 'Calcon::Xcalendar_write',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
36 Unix X Window の xcalendar の旧フォーマット
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
37 'Vcard' => 'Calcon::Vcard_write',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
38 VCARD
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
39 'SLA300' => 'Calcon::Sla300_write',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
40 リナックスザウルス
10
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
41 'Address Book'=> 'Calcon::Vcard_Apple_write',
3
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
42 'AppleScript' => 'Calcon::iApp_write',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
43 'iApp' => 'Calcon::iApp_write',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
44 Mac OS X のiCal, Address Book, Applescript 経由です
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
45 'Entourage' => 'Calcon::Entourage_write',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
46 Mac OS X のEntourage X, Applescript 経由です
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
47 'File' => 'Calcon::File_write',
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
48 独自のフラットファイルフォーマット (EUC)
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
49
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
50
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
51 使い方
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
52 perl calcon.pl -f from-format -t to-format file
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
53 ファイル名は最後でないとだめ。getops.pm の制限かな。perl calcon.pl -h
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
54 で対応するフォーマットの一覧がでます。format は識別できる最初の
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
55 一文字です。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
56
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
57 同期ソフトではないので全部変換されます。同期したいときは、移動するデータ
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
58 を選択するものを別に書かないとだめだね。自分では Xcalendar 用は持っている
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
59 んだけど...
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
60
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
61 例題
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
62 Xcalendar から iCal にアップルスクリプト経由でデータを移動
10
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
63 perl calcon.pl -f x -t i ~/Calendar
3
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
64 Zaurus CFカードから、vcard format を生成
10
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
65 perl calcon.pl -f z -t v /Voluemes/NO_NAME/__zaurus/S*.BOX > all.vcs
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
66 perl calcon.pl -f z -t v /Voluemes/NO_NAME/__zaurus/A*.BOX > all.vcf
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
67 自分のテキスト形式のアドレス帳からMac OS X の Address Book へ
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
68 perl calcon.pl -t Add > all.vcf
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
69 open all.vcf
3
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
70
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
71 tips
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
72
10
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
73 Address Book, iCal に移す時には vcard 経由の方が高速です。
1a68139a269f *** empty log message ***
kono
parents: 3
diff changeset
74 (旧)Address Book に移すときには、読みがなの関係でアップルスクリプトを使うべし。
3
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
75
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
76 iCalは変な漢字コードに敏感で読み落すのではなくて読み落ちるようです。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
77 とりあえずは読んで欲しいよね。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
78
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
79 SLA300は生成されたファイルを、
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
80 /home/root/Applications/addressbook/addressbook.xml
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
81 /home/root/Applications/datebook/datebook.xml
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
82 にコピーします。その時に、カレンダーとかアドレスブックが動いていては
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
83 いけません。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
84
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
85 Zaurus のBOX format はversion 依存性が結構あるので読めないのも
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
86 多いかも。書き出しは、やっぱりできません。
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
87
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
88 option
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
89
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
90 -d デバッグ情報を出力する
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
91 -F カレンダーで未来の情報のみを出力する (Applescript は遅いので)
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
92 -c カレンダー情報のみを出力する
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
93 -a アドレス情報のみを出力する
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
94
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
95
cb79baed256e remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents: 0
diff changeset
96
0
111809a2ea45 Initial revision
kono
parents:
diff changeset
97 ===================
111809a2ea45 Initial revision
kono
parents:
diff changeset
98
111809a2ea45 Initial revision
kono
parents:
diff changeset
99 The README is used to introduce the module and provide instructions on
111809a2ea45 Initial revision
kono
parents:
diff changeset
100 how to install the module, any machine dependencies it may have (for
111809a2ea45 Initial revision
kono
parents:
diff changeset
101 example C compilers and installed libraries) and any other information
111809a2ea45 Initial revision
kono
parents:
diff changeset
102 that should be provided before the module is installed.
111809a2ea45 Initial revision
kono
parents:
diff changeset
103
111809a2ea45 Initial revision
kono
parents:
diff changeset
104 A README file is required for CPAN modules since CPAN extracts the
111809a2ea45 Initial revision
kono
parents:
diff changeset
105 README file from a module distribution so that people browsing the
111809a2ea45 Initial revision
kono
parents:
diff changeset
106 archive can use it get an idea of the modules uses. It is usually a
111809a2ea45 Initial revision
kono
parents:
diff changeset
107 good idea to provide version information here so that people can
111809a2ea45 Initial revision
kono
parents:
diff changeset
108 decide whether fixes for the module are worth downloading.
111809a2ea45 Initial revision
kono
parents:
diff changeset
109
111809a2ea45 Initial revision
kono
parents:
diff changeset
110 INSTALLATION
111809a2ea45 Initial revision
kono
parents:
diff changeset
111
111809a2ea45 Initial revision
kono
parents:
diff changeset
112 To install this module type the following:
111809a2ea45 Initial revision
kono
parents:
diff changeset
113
111809a2ea45 Initial revision
kono
parents:
diff changeset
114 perl Makefile.PL
111809a2ea45 Initial revision
kono
parents:
diff changeset
115 make
111809a2ea45 Initial revision
kono
parents:
diff changeset
116 make test
111809a2ea45 Initial revision
kono
parents:
diff changeset
117 make install
111809a2ea45 Initial revision
kono
parents:
diff changeset
118
111809a2ea45 Initial revision
kono
parents:
diff changeset
119 DEPENDENCIES
111809a2ea45 Initial revision
kono
parents:
diff changeset
120
111809a2ea45 Initial revision
kono
parents:
diff changeset
121 This module requires these other modules and libraries:
111809a2ea45 Initial revision
kono
parents:
diff changeset
122
111809a2ea45 Initial revision
kono
parents:
diff changeset
123 blah blah blah
111809a2ea45 Initial revision
kono
parents:
diff changeset
124
111809a2ea45 Initial revision
kono
parents:
diff changeset
125 COPYRIGHT AND LICENCE
111809a2ea45 Initial revision
kono
parents:
diff changeset
126
111809a2ea45 Initial revision
kono
parents:
diff changeset
127 Put the correct copyright and licence information here.
111809a2ea45 Initial revision
kono
parents:
diff changeset
128
111809a2ea45 Initial revision
kono
parents:
diff changeset
129 Copyright (C) 2003 Shinji KONO
111809a2ea45 Initial revision
kono
parents:
diff changeset
130
111809a2ea45 Initial revision
kono
parents:
diff changeset
131 This library is free software; you can redistribute it and/or modify
111809a2ea45 Initial revision
kono
parents:
diff changeset
132 it under the same terms as Perl itself.
111809a2ea45 Initial revision
kono
parents:
diff changeset
133