Changeset 509

Show
Ignore:
Timestamp:
08/29/08 01:22:51 (4 months ago)
Author:
ogawa
Message:

Modify POD w.r.t. version 0.30.
Add README.txt.

Location:
cybozu2ical/trunk
Files:
1 added
1 modified

Legend:

Unmodified
Added
Removed
  • cybozu2ical/trunk/cybozu2ical

    r507 r509  
    11#!/usr/bin/perl 
    2 # cybozu2ical: Convert Cybozu Office 6 calendar into iCal format 
     2# cybozu2ical: Convert Cybozu Office calendar into iCalendar format 
    33# 
    44# $Id$ 
     
    241241=head1 NAME 
    242242 
    243 cybozu2ical - Convert Cybozu Office 6 calendar into iCal format 
     243cybozu2ical - Convert Cybozu Office calendar into iCalendar format 
    244244 
    245245=head1 SYNOPSIS 
     
    250250=head1 DESCRIPTION 
    251251 
    252 C<cybozu2ical> is a command line application that fetches Cybozu 
    253 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. 
     252C<cybozu2ical> is a command line application that fetches calendar 
     253items from Cybozu Office 6 or later, and converts them into an 
     254iCalendar file.  It allows you to easily integrate the Cybozu Calendar 
     255into iCalendar-enabled Calendar applications, such as Microsoft 
     256Outlook, Apple iCal, and of course, Google Calendar. 
    257257 
    258258You can run this via crontab, for example, every 1 hour. 
     
    267267=item WWW::CybozuOffice6::Calendar 
    268268 
    269 =item Text::CSV_XS 
     269=item Text::CSV_XS or Text::CSV 
    270270 
    271271=item Data::ICal 
     
    275275=item YAML or YAML::Tiny 
    276276 
     277=item Class::Accessor::Fast 
     278 
    277279=back 
    278280 
     
    283285=item --output /path/to/output.ics 
    284286 
    285 Specifies the output file.  By default, this application outputs to 
     287Specify the output file.  By default, this application outputs to 
    286288STDOUT. 
    287289 
    288290=item --conf /path/to/config.yaml 
    289291 
    290 Specifies the configuration file.  By default, C<config.yaml> in the 
     292Specify the configuration file.  By default, C<config.yaml> in the 
    291293current directory will be used. 
    292294 
    293295=item --compat-google-calendar 
    294296 
    295 To be compatible with Google Calendar. 
     297Output an iCalendar file compatible with Google Calendar. 
    296298 
    297299=item --debug 
    298300 
    299 Outputs Cybozu Office 6 CSV data as a COMMENT field of each events. 
    300 It is just for debugging. 
     301Output CSV data in a COMMENT field of each events.  It's just for 
     302debugging. 
    301303 
    302304=item --input-csv /path/to/input.csv 
    303305 
    304 Instead of requesting Cybozu Office 6 server, reads from a local CSV 
     306Instead of requesting Cybozu Office 6 server, read from a local CSV 
    305307file. 
    306308 
    307309=item --output-csv /path/to/output.csv 
    308310 
    309 Specifies the output CSV file for debugging. 
     311Specify the output CSV file for debugging. 
    310312 
    311313=item --help 
    312314 
    313 Prints out this message. 
     315Print out this message. 
    314316 
    315317=back 
     
    325327=item cybozu_url 
    326328 
    327 Set the URL of your Cybozu Office 6. 
     329Set the URL of your Cybozu Office 6 or later. 
     330 
     331=item calname 
     332 
     333Set the calendar name string. iCalendar applications which properly 
     334handle X-WR-CALNAME header, is expected to use this string as a 
     335calendar name. 
    328336 
    329337=item username, userid 
    330338 
    331 Set your username or userid for Cybozu Office 6. 
     339Set your username or userid for Cybozu Office. 
    332340 
    333341=item password 
    334342 
    335 Set your password for Cybozu Office 6. 
     343Set your password for Cybozu Office. 
    336344 
    337345=item time_zone 
    338346 
    339 Set the timezone of your Cybozu Office 6 (e.g., Asia/Tokyo). 
     347Set the timezone of your Cybozu Office (e.g., Asia/Tokyo). 
    340348 
    341349=item tzname 
    342350 
    343 Set the short timezone name of your Cybozu Office 6 (e.g., JST). 
     351Set the short timezone name of your Cybozu Office (e.g., JST). 
     352 
     353=item input_encoding 
     354 
     355Set the charset of Cybozu Office. By default, C<input_encoding> is 
     356"shiftjis". 
     357 
     358=item output_encoding 
     359 
     360Set the charset of the iCalendar file.  By default, C<output_encoding> 
     361is "utf8".  If you need to output multibyte strings as Numeric 
     362Character References for some reason, set C<output_encoding> to "ncr". 
     363 
     364=item calendar_driver 
     365 
     366Set the calendar driver that C<cybozu2ical> employs.  By default, 
     367C<ApiCalendar> is used as C<calendar_driver>. 
     368 
     369Currently, C<ApiCalendar> and C<SyncCalendar> drivers are shipped with 
     370C<cybozu2ical>.  If you are using Cybozu Office 6, C<SyncCalendar> is 
     371strongly recommended.  Otherwise, you have to use C<ApiCalendar>. 
     372 
     373=item date_range (experimental) 
     374 
     375Set the date range of calendar, which means C<cybozu2ical> handles 
     376calendar items between N days before and after.  Default C<date_range> 
     377is 30. 
    344378 
    345379=back 
     
    358392Any comments, suggestions, or patches are welcome. 
    359393 
    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 
     396Copyright (c) 2008 Hirotaka Ogawa E<lt>hirotaka.ogawa at gmail.comE<gt>. 
     397All rights reserved. 
     398 
     399This library is free software; you can redistribute it and/or modify 
     400it 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. 
    366407 
    367408=cut