Mercurial > hg > Applications > Calcon
annotate README @ 15:d0692e1c031f
*** empty log message ***
author | kono |
---|---|
date | Sat, 08 Nov 2008 14:24:55 +0900 |
parents | 6ee8b90426e7 |
children |
rev | line source |
---|---|
0 | 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 | 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 経由です |
14 | 47 'N702' => 'Calcon::Vcard_N702iD_write', |
48 Docomo 携帯電話のVcard | |
3
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
49 'File' => 'Calcon::File_write', |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
50 独自のフラットファイルフォーマット (EUC) |
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 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
53 使い方 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
54 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
|
55 ファイル名は最後でないとだめ。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
|
56 で対応するフォーマットの一覧がでます。format は識別できる最初の |
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 |
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 を選択するものを別に書かないとだめだね。自分では Xcalendar 用は持っている |
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 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
63 例題 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
64 Xcalendar から iCal にアップルスクリプト経由でデータを移動 |
10 | 65 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
|
66 Zaurus CFカードから、vcard format を生成 |
10 | 67 perl calcon.pl -f z -t v /Voluemes/NO_NAME/__zaurus/S*.BOX > all.vcs |
68 perl calcon.pl -f z -t v /Voluemes/NO_NAME/__zaurus/A*.BOX > all.vcf | |
69 自分のテキスト形式のアドレス帳からMac OS X の Address Book へ | |
70 perl calcon.pl -t Add > all.vcf | |
71 open all.vcf | |
3
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
72 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
73 tips |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
74 |
10 | 75 Address Book, iCal に移す時には vcard 経由の方が高速です。 |
76 (旧)Address Book に移すときには、読みがなの関係でアップルスクリプトを使うべし。 | |
3
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 iCalは変な漢字コードに敏感で読み落すのではなくて読み落ちるようです。 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
79 とりあえずは読んで欲しいよね。 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
80 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
81 SLA300は生成されたファイルを、 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
82 /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
|
83 /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
|
84 にコピーします。その時に、カレンダーとかアドレスブックが動いていては |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
85 いけません。 |
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 Zaurus のBOX format はversion 依存性が結構あるので読めないのも |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
88 多いかも。書き出しは、やっぱりできません。 |
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 option |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
91 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
92 -d デバッグ情報を出力する |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
93 -F カレンダーで未来の情報のみを出力する (Applescript は遅いので) |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
94 -c カレンダー情報のみを出力する |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
95 -a アドレス情報のみを出力する |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
96 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
97 |
cb79baed256e
remove Exporter to avoid "can't locate object method nw". Why this can
kono
parents:
0
diff
changeset
|
98 |
0 | 99 =================== |
100 | |
101 The README is used to introduce the module and provide instructions on | |
102 how to install the module, any machine dependencies it may have (for | |
103 example C compilers and installed libraries) and any other information | |
104 that should be provided before the module is installed. | |
105 | |
106 A README file is required for CPAN modules since CPAN extracts the | |
107 README file from a module distribution so that people browsing the | |
108 archive can use it get an idea of the modules uses. It is usually a | |
109 good idea to provide version information here so that people can | |
110 decide whether fixes for the module are worth downloading. | |
111 | |
112 INSTALLATION | |
113 | |
114 To install this module type the following: | |
115 | |
116 perl Makefile.PL | |
117 make | |
118 make test | |
119 make install | |
120 | |
121 DEPENDENCIES | |
122 | |
123 This module requires these other modules and libraries: | |
124 | |
125 blah blah blah | |
126 | |
127 COPYRIGHT AND LICENCE | |
128 | |
129 Put the correct copyright and licence information here. | |
130 | |
131 Copyright (C) 2003 Shinji KONO | |
132 | |
133 This library is free software; you can redistribute it and/or modify | |
134 it under the same terms as Perl itself. | |
135 |