Changeset 509
- Timestamp:
- 08/29/08 01:22:51 (4 months ago)
- Location:
- cybozu2ical/trunk
- Files:
-
- 1 added
- 1 modified
-
README.txt (added)
-
cybozu2ical (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cybozu2ical/trunk/cybozu2ical
r507 r509 1 1 #!/usr/bin/perl 2 # cybozu2ical: Convert Cybozu Office 6 calendar into iCalformat2 # cybozu2ical: Convert Cybozu Office calendar into iCalendar format 3 3 # 4 4 # $Id$ … … 241 241 =head1 NAME 242 242 243 cybozu2ical - Convert Cybozu Office 6 calendar into iCalformat243 cybozu2ical - Convert Cybozu Office calendar into iCalendar format 244 244 245 245 =head1 SYNOPSIS … … 250 250 =head1 DESCRIPTION 251 251 252 C<cybozu2ical> is a command line application that fetches Cybozu253 Office 6 calendar items and converts them into a iCal file. It allows 254 you to easily integrate the Cybozu Calendar into iCalendar-enabled 255 Calendar applications, such as Microsoft Outlook, Apple iCal, and of 256 course, Google Calendar.252 C<cybozu2ical> is a command line application that fetches calendar 253 items from Cybozu Office 6 or later, and converts them into an 254 iCalendar file. It allows you to easily integrate the Cybozu Calendar 255 into iCalendar-enabled Calendar applications, such as Microsoft 256 Outlook, Apple iCal, and of course, Google Calendar. 257 257 258 258 You can run this via crontab, for example, every 1 hour. … … 267 267 =item WWW::CybozuOffice6::Calendar 268 268 269 =item Text::CSV_XS 269 =item Text::CSV_XS or Text::CSV 270 270 271 271 =item Data::ICal … … 275 275 =item YAML or YAML::Tiny 276 276 277 =item Class::Accessor::Fast 278 277 279 =back 278 280 … … 283 285 =item --output /path/to/output.ics 284 286 285 Specif iesthe output file. By default, this application outputs to287 Specify the output file. By default, this application outputs to 286 288 STDOUT. 287 289 288 290 =item --conf /path/to/config.yaml 289 291 290 Specif iesthe configuration file. By default, C<config.yaml> in the292 Specify the configuration file. By default, C<config.yaml> in the 291 293 current directory will be used. 292 294 293 295 =item --compat-google-calendar 294 296 295 To be compatible with Google Calendar.297 Output an iCalendar file compatible with Google Calendar. 296 298 297 299 =item --debug 298 300 299 Output s Cybozu Office 6 CSV data as a COMMENT field of each events.300 It is just fordebugging.301 Output CSV data in a COMMENT field of each events. It's just for 302 debugging. 301 303 302 304 =item --input-csv /path/to/input.csv 303 305 304 Instead of requesting Cybozu Office 6 server, read sfrom a local CSV306 Instead of requesting Cybozu Office 6 server, read from a local CSV 305 307 file. 306 308 307 309 =item --output-csv /path/to/output.csv 308 310 309 Specif iesthe output CSV file for debugging.311 Specify the output CSV file for debugging. 310 312 311 313 =item --help 312 314 313 Print sout this message.315 Print out this message. 314 316 315 317 =back … … 325 327 =item cybozu_url 326 328 327 Set the URL of your Cybozu Office 6. 329 Set the URL of your Cybozu Office 6 or later. 330 331 =item calname 332 333 Set the calendar name string. iCalendar applications which properly 334 handle X-WR-CALNAME header, is expected to use this string as a 335 calendar name. 328 336 329 337 =item username, userid 330 338 331 Set your username or userid for Cybozu Office 6.339 Set your username or userid for Cybozu Office. 332 340 333 341 =item password 334 342 335 Set your password for Cybozu Office 6.343 Set your password for Cybozu Office. 336 344 337 345 =item time_zone 338 346 339 Set the timezone of your Cybozu Office 6(e.g., Asia/Tokyo).347 Set the timezone of your Cybozu Office (e.g., Asia/Tokyo). 340 348 341 349 =item tzname 342 350 343 Set the short timezone name of your Cybozu Office 6 (e.g., JST). 351 Set the short timezone name of your Cybozu Office (e.g., JST). 352 353 =item input_encoding 354 355 Set the charset of Cybozu Office. By default, C<input_encoding> is 356 "shiftjis". 357 358 =item output_encoding 359 360 Set the charset of the iCalendar file. By default, C<output_encoding> 361 is "utf8". If you need to output multibyte strings as Numeric 362 Character References for some reason, set C<output_encoding> to "ncr". 363 364 =item calendar_driver 365 366 Set the calendar driver that C<cybozu2ical> employs. By default, 367 C<ApiCalendar> is used as C<calendar_driver>. 368 369 Currently, C<ApiCalendar> and C<SyncCalendar> drivers are shipped with 370 C<cybozu2ical>. If you are using Cybozu Office 6, C<SyncCalendar> is 371 strongly recommended. Otherwise, you have to use C<ApiCalendar>. 372 373 =item date_range (experimental) 374 375 Set the date range of calendar, which means C<cybozu2ical> handles 376 calendar items between N days before and after. Default C<date_range> 377 is 30. 344 378 345 379 =back … … 358 392 Any comments, suggestions, or patches are welcome. 359 393 360 =head1 AUTHOR 361 362 Hirotaka Ogawa E<lt>hirotaka.ogawa at gmail.comE<gt> 363 364 This script is free software and licensed under the same terms as Perl 365 (Artistic/GPL). 394 =head1 LICENSE 395 396 Copyright (c) 2008 Hirotaka Ogawa E<lt>hirotaka.ogawa at gmail.comE<gt>. 397 All rights reserved. 398 399 This library is free software; you can redistribute it and/or modify 400 it under the terms of either: 401 402 a) the GNU General Public License as published by the Free Software 403 Foundation; either version 1, or (at your option) any later 404 version, or 405 406 b) the "Artistic License" which comes with Perl. 366 407 367 408 =cut
![(please configure the [header_logo] section in trac.ini)](/public/chrome/common/trac_banner.png)