iCal-Parser-HTML-1.07/0000755000076500007650000000000011032270427012757 5ustar rickrickiCal-Parser-HTML-1.07/Build.PL0000444000076500007650000000134411032270427014253 0ustar rickrickuse Module::Build 0.26; # $Id: Build.PL 5 2005-03-19 23:27:33Z rick $ # See perldoc Module::Build for details of how this works my $build= Module::Build->new ( module_name => 'iCal::Parser::HTML', version_from => 'iCal::Parser::HTML', requires => { iCal::Parser::SAX => 1.05, XML::LibXML => 1.58, XML::LibXSLT => 1.57, }, build_requires => {Test::More => 0.47}, license => 'perl', create_readme => 1, create_makefile_pl => 'passthrough', ); $build->add_build_element('xsl'); if($build->y_n ('Would you like to install ical2html, a command line frontend?','n')) { $build->{properties}->{script_files}=['scripts/ical2html']; } $build->create_build_script; iCal-Parser-HTML-1.07/examples/0000755000076500007650000000000011032270427014575 5ustar rickrickiCal-Parser-HTML-1.07/examples/calendar.css0000444000076500007650000001236311032270427017063 0ustar rickrickbody { font-family: sans-serif; font-size: 10pt; } h1 { font-size: 1.25em; margin-bottom: 0; text-align: center;} h2 { font-size: 1.0em; margin-top: 1.5em; } div.sidebar h2 { margin-bottom: .1em; } .calendar-1 {color: #3F4BC0;} .calendar-2 {color: #6C006C;} .calendar-3 {color: #333333;} .calendar-4 {color: #FC7B00;} .calendar-5 {color: #538100;} .calendar-6 {color: #CBB200;} .calendar-6 {color: #BA0000;} .calendar-8 {color: #5B8383;} .calendar-9 {color: #5C2E00;} .calendar-10 {color: #919191;} /* daily/weeky calendar */ td.calendar-1 {background-color: #3F4BC0 !important; color: white} td.calendar-2 {background-color: #6C006C !important; color: white} td.calendar-3 {background-color: #333333 !important; color: white} td.calendar-4 {background-color: #FC7B00 !important; color: white} td.calendar-5 {background-color: #538100 !important; color: white} td.calendar-6 {background-color: #CBB200 !important; color: white} td.calendar-6 {background-color: #BA0000 !important; color: white} td.calendar-8 {background-color: #5B8383 !important; color: white} td.calendar-9 {background-color: #5C2E00 !important; color: white} td.calendar-10 {background-color: #919191 !important; color: white} /* the day/week rows are id'ed by "'H'hhmm" value you can hide them as follows by specifying their display attr note that you should only hide from the bottom (2330) up or the layout will break as any event starting in that row will not be rendered. e.g.: #H2300, #H2330, #H2200,#H2230, #H2130, #H2100 { display: none; } will hide everything after 9pm */ .all-day { font-style: italic; } .COMPLETED {text-decoration: line-through;} td { overflow: hidden; font-size: .9em; } table.month-calendar td { vertical-align: top; height:100px; background-color: #eee; font-size: .9em; } table.year-calendar td { text-align: center; height: 25px; background-color: #eee; } table.year td { vertical-align: top; } table.year td.year { border: 1px solid #ddd; padding: .25em; margin: .5em; } table.year h2 { margin-left: 1.5em; margin-bottom: .25em; margin-top: .25em;} td.ignore {background-color: #ddd; border: solid thin white;} table.month-calendar p { margin: 0em; padding: 0em; } col.week-legend { width: 1.25em; } td.week { font-size: .9em; background-color: white !important; vertical-align: middle !important; } td.today { border: solid thin red; } p.daynum { font-size: .9em; border: 1px white; text-align: right; color: #999; font-weight: bold; vertical-align: top; margin: 0em;} div.sidebar-calendar p.daynum { color: inherit; font-weight: inherit; } td.ignore p.daynum { color: #ddd; } a {color: inherit; text-decoration: none;} .organizer { text-decoration: underline; } .organizer, .attendee { font-size: .9em; } p.location { font-size: .92em; } div.nav a { text-decoration: none; color: inherit; } a:hover { color: #e80 !important; } div.nav { text-align: right; } div.calendar { width: 80%; } div.sidebar { position: absolute; margin-left: 79%; margin-right: 3px;} div.calendar table { width: 100%; } div.month-calendar h2 { font-size: 1.25em; } div.sidebar-calendar-group { padding-left: 1em;} div.sidebar-calendar-group h2,tr.day-names { font-size:.9em; } table.day,table.month-calendar,table.week { table-layout: fixed; background-color: #eee; border-bottom: solid thin #ddd; border-collapse: collapse; } table.month-calendar, table.year-calendar { border-collapse: separate; border-bottom: none; background-color: white; white-space: nowrap; } td.summary {} col.due { white-space: nowrap; width: 5em;} div.sidebar div { margin-bottom: 1em;} div.legend { } div.sidebar-calendar { font-size: .9em;} table.sidebar-calendar { table-layout: fixed; border-collapse: collapse; } table.sidebar-calendar td { text-align: right; } table.sidebar-calendar td.ignore {background-color: inherit; } tr.this-week { background-color: #eee; } td.this-day { background-color: #ccc; } th.day-legend { background-color: white; padding: .25em; white-space: nowrap; border-right: solid thin #ddd; } th.hour-legend { vertical-align: middle; border-right: solid thin white; border-top: solid thin white; text-align: right; padding-right: .5em; } td.half-hour00, td.half-hour30 { vertical-align: top; border-right: solid thin white; } td.half-hour00 { border-top: solid thin white; } td.half-hour30 { border-top: dashed thin white; } col.hour-legend {width: 4em; } th.hour-legend, td.half-hour { font-size: 1em;} th.night { color: white; background-color: #666;} tr.all-day { vertical-align: middle; background-color: #eee;} td.all-day { border: solid thin white; } tr.all-day-sep { height: 3px; background-color: white; } table.day p { margin: .1em 0; } p.description { font-size: .75em; } p.summary { margin-top: 2px;} div.event-time { color: white; border-bottom: dotted thin grey; padding-top:1px; } p.legend { margin: 0em; padding-left: 1em; } table.todo { table-layout: fixed; border-collapse: collapse; font-size: .9em; } td.priority { text-align: right; } iCal-Parser-HTML-1.07/examples/ical.cgi0000555000076500007650000000452711032270427016202 0ustar rickrick#!/usr/local/bin/perl -w #$Id: ical.cgi 5 2005-03-19 23:27:33Z rick $ use strict; use iCal::Parser::HTML qw($xsl $xml); use DateTime; use CGI; our $VERSION=sprintf("%d.%02d", q$Revision: 1.6 $ =~ /(\d+)\.(\d+)/); our $caldir=$ENV{ICALDIR}||'.'; my $q=CGI->new; my $html=iCal::Parser::HTML->new; print $q->header(-type=>'text/html',-charset=>'utf-8'); my @files=$q->param('file'); unless(@files) { print_index(); exit 0; } my $date=$q->param('date')||DateTime->now(); my $type=$q->param('type')||'month'; $q->delete(qw|date type file submit|); my $base_url=$q->url(-query=>1); #add files to url $base_url .= '?' . join(';',map {"file=$_"} @files); print $html->parse(type=>$type,start=>$date, url=>$base_url, dir=>$caldir, files=>[map {"$caldir/$_.ics"} @files]); exit 0; sub print_index { my @files=glob("$caldir/*.ics"); my $builder=XML::LibXML::SAX::Builder->new; my %nh=(Name=>'file'); my %rh=(Name=>'files'); $builder->start_document; $builder->start_element(\%rh); foreach my $f (@files) { $builder->start_element(\%nh); $builder->characters({Data=>$f=~m|$caldir/(.+)\.ics$|}); $builder->end_element(\%nh); } $builder->end_element(\%rh); my $doc=$builder->end_document; my $sheet=$xsl->parse_stylesheet ($xml->parse_file($html->get_sheet_dir() . 'index.xsl')); print $sheet->output_string($sheet->transform($doc)); } =head1 NAME ical.cgi - Convert iCalendar files to HTML =head1 SYNOPSIS =head1 DESCRIPTION This program uses L to convert iCalendar files to HTML. Mutlple input files are merged into a single HTML calendar. =head1 USAGE The script should be named C, and placed in the same directory as the calendar files (named C<*.ics>) to be displayed. If called with no arguments, the script will display a simple form, allowining one or more of the calendars in the current directory to be displayed. Alternately, if the environment variable C is set to it will be used as the input directory in which to find the calendars to process. =head1 AUTHOR Rick Frankel, cpan@rickster.com =head1 COPYRIGHT This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. =head1 SEE ALSO L iCal-Parser-HTML-1.07/lib/0000755000076500007650000000000011032270427013525 5ustar rickrickiCal-Parser-HTML-1.07/lib/iCal/0000755000076500007650000000000011032270427014375 5ustar rickrickiCal-Parser-HTML-1.07/lib/iCal/Parser/0000755000076500007650000000000011032270427015631 5ustar rickrickiCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/0000755000076500007650000000000011032270427016375 5ustar rickrickiCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/0000755000076500007650000000000011032270427020566 5ustar rickrickiCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/cal-util.xsl0000444000076500007650000002721111032270427023031 0ustar rickrick <xsl:call-template name="caltype"/> Calendar

P1D P7D P0Y1M P1Y AM PM 0 12 0 0 , , ;
iCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/day-util.xsl0000444000076500007650000001537011032270427023052 0ustar rickrick night   1  
-

 

()

[]

iCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/day.xsl0000444000076500007650000000520211032270427022070 0ustar rickrick Daily

0 All Day
iCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/index.xsl0000444000076500007650000000233711032270427022430 0ustar rickrick Calendar Index

Select Calendars


iCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/month-util.xsl0000444000076500007650000001204611032270427023417 0ustar rickrick -P0D -P6D -PD
1 2
MTW TFSS
this-week today this-day ignore

iCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/month.xsl0000444000076500007650000000327711032270427022452 0ustar rickrick Monthly  MonTueWed ThuFriSatSun
all-day

iCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/week.xsl0000444000076500007650000001056211032270427022253 0ustar rickrick Weekly

-

 
All Day     0
iCal-Parser-HTML-1.07/lib/iCal/Parser/HTML/stylesheet/year.xsl0000444000076500007650000000423711032270427022262 0ustar rickrick Yearly

 MonTueWed ThuFriSatSun
iCal-Parser-HTML-1.07/lib/iCal/Parser/HTML.pm0000444000076500007650000001100511032270427016726 0ustar rickrick# $Id: HTML.pm 517 2008-06-30 23:48:04Z rick $ package iCal::Parser::HTML; use strict; use warnings; # Get version from subversion url of tag or branch. our $VERSION= do {(q$URL: svn+ssh://xpc/var/lib/svn/rick/perl/ical/iCal-Parser-HTML/tags/1.07/lib/iCal/Parser/HTML.pm $=~ m$.*/(?:tags|branches)/([^/ \t]+)$)[0]||'0.1'}; our @ISA = qw(Exporter); our @EXPORT_OK=qw($xml $xsl); use iCal::Parser::SAX; use XML::LibXML; use XML::LibXML::SAX::Builder; use XML::LibXSLT; our $xsl=XML::LibXSLT->new; our $xml=XML::LibXML->new; our %sheet_cache=(); sub new { my $class=shift; return bless {@_},$class; } sub parse { my($self,%args)=@_; my $type=delete $args{type}; my $files=delete $args{files}; my $url=delete $args{url}||''; #adjust dates to appropriate period my $start=$args{start}; unless(ref $start) { $start=$args{start}=$self->parse_partial_datetime($start); } $start->subtract(days=>$start->dow-1) if $type eq 'week'; $start->set(day=>1) if $type eq 'month'; $start->set(day=>1,month=>1) if $type eq 'year'; $args{end}=$start->clone->add("${type}s"=>1); my $sink=XML::LibXML::SAX::Builder->new; my $parser=iCal::Parser::SAX->new(Handler=>$sink,%args); my $result=$parser->parse_uris(@$files); my $sheet=$sheet_cache{$type}||=$xsl ->parse_stylesheet($xml->parse_file(get_sheet_dir() . $type . '.xsl')); return $sheet->output_string ($sheet->transform($result,$self->sheet_args($args{start},$url))); } sub parse_partial_datetime { my($self,$string)=@_; my($y,$m,$d)=($string=~ m/(\d{4})-?(\d{2})?-?(\d{2})?/); my $date=$y ? DateTime->new(year=>$y, ($m ? (month=>$m) :()), ($d ? (day=>$d):()) ) : DateTime->now; } sub sheet_args { my($self,$date,$url)=@_; my %args; foreach my $t qw(week month year) { $args{$t}=$date->$t(); } $args{date}='"'.$date->ymd .'"'; $args{'base-url'}='"'.$url.'"'; return %args; } sub get_sheet_dir { my $key=__PACKAGE__ . '.pm'; $key=~s|::|/|go; my $path=$INC{$key}; $path=~s|\.pm$|/stylesheet/|go; return $path; } 1; __END__ =head1 NAME iCal::Parser::HTML - Generate HTML calendars from iCalendars =head1 SYNOPSIS use iCal::Parser::HTML; my $parser=iCal::Parser::HTML->new; print $parser->parse(type=>$type,start=>$date,files=>[@icals]); =head1 DESCRIPTION This module uses L and L with included stylesheets to generates html calendars from icalendars. The html document generated includes (when appropriate) a sidebar containing a legend, a list of todos and a three month calendar for the previous, current and next months. The stylesheets are stored in the HTML/stylesheet directory under the installed package directory. Also included in this package are an optionally installed command line program L and, in the example directory, a cgi handler (L) and a stylesheet (L) for formatting the html output. Note that the html output will look quite broken without the stylesheet. =head1 ARGUMENTS The following arguments are processed by this module. Any addtional arguments are passed to L. =over 4 =item type The type of calendar to generate. One of: C, C, C or C. The daily, weekly and monthly calendars include the sidebar. The calendar generated will be for the specified period (day, week, etc.) which includes the specified date. =item start The date to generated the calendar for. The date only needs to be specified to the precision necessary for the type of calendar. That is, C for a yearly calendar, C for a monthly, and C for daily and weekly. In addition, the date can be in one of the following forms: =over 4 =item YYYY[MM[DD]] =item YYYY[-MM[-DD]] =item A L object initialized to the necessary precision =back =item files An array reference to the list of icalendars to include in the results. =item url If this params is specified, then the html output will contain links back to this url for getting other calendar periods. The params C and C will be appended to this url when generating the links. =back =head1 AUTHOR Rick Frankel, cpan@rickster.com =head1 COPYRIGHT This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. =head1 SEE ALSO L, L, L, L iCal-Parser-HTML-1.07/LICENSE0000444000076500007650000005010111032270427013757 0ustar rickrickTerms of Perl itself a) the GNU General Public License as published by the Free Software Foundation; either version 1, or (at your option) any later version, or b) the "Artistic License" --------------------------------------------------------------------------- The General Public License (GPL) Version 2, June 1991 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 675 Mass Ave, Cambridge, MA 02139, USA. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things. To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it. For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software. Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations. Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all. The precise terms and conditions for copying, distribution and modification follow. GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you". Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does. 1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program. You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions: a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License. c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.) These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it. Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program. In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License. 3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following: a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or, c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.) The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable. If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code. 4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance. 5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it. 6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License. 7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program. If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances. It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice. This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License. 8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License. 9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation. 10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally. NO WARRANTY 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. END OF TERMS AND CONDITIONS --------------------------------------------------------------------------- The Artistic License Preamble The intent of this document is to state the conditions under which a Package may be copied, such that the Copyright Holder maintains some semblance of artistic control over the development of the package, while giving the users of the package the right to use and distribute the Package in a more-or-less customary fashion, plus the right to make reasonable modifications. Definitions: - "Package" refers to the collection of files distributed by the Copyright Holder, and derivatives of that collection of files created through textual modification. - "Standard Version" refers to such a Package if it has not been modified, or has been modified in accordance with the wishes of the Copyright Holder. - "Copyright Holder" is whoever is named in the copyright or copyrights for the package. - "You" is you, if you're thinking about copying or distributing this Package. - "Reasonable copying fee" is whatever you can justify on the basis of media cost, duplication charges, time of people involved, and so on. (You will not be required to justify it to the Copyright Holder, but only to the computing community at large as a market that must bear the fee.) - "Freely Available" means that no fee is charged for the item itself, though there may be fees involved in handling the item. It also means that recipients of the item may redistribute it under the same conditions they received it. 1. You may make and give away verbatim copies of the source form of the Standard Version of this Package without restriction, provided that you duplicate all of the original copyright notices and associated disclaimers. 2. You may apply bug fixes, portability fixes and other modifications derived from the Public Domain or from the Copyright Holder. A Package modified in such a way shall still be considered the Standard Version. 3. You may otherwise modify your copy of this Package in any way, provided that you insert a prominent notice in each changed file stating how and when you changed that file, and provided that you do at least ONE of the following: a) place your modifications in the Public Domain or otherwise make them Freely Available, such as by posting said modifications to Usenet or an equivalent medium, or placing the modifications on a major archive site such as ftp.uu.net, or by allowing the Copyright Holder to include your modifications in the Standard Version of the Package. b) use the modified Package only within your corporation or organization. c) rename any non-standard executables so the names do not conflict with standard executables, which must also be provided, and provide a separate manual page for each non-standard executable that clearly documents how it differs from the Standard Version. d) make other distribution arrangements with the Copyright Holder. 4. You may distribute the programs of this Package in object code or executable form, provided that you do at least ONE of the following: a) distribute a Standard Version of the executables and library files, together with instructions (in the manual page or equivalent) on where to get the Standard Version. b) accompany the distribution with the machine-readable source of the Package with your modifications. c) accompany any non-standard executables with their corresponding Standard Version executables, giving the non-standard executables non-standard names, and clearly documenting the differences in manual pages (or equivalent), together with instructions on where to get the Standard Version. d) make other distribution arrangements with the Copyright Holder. 5. You may charge a reasonable copying fee for any distribution of this Package. You may charge any fee you choose for support of this Package. You may not charge a fee for this Package itself. However, you may distribute this Package in aggregate with other (possibly commercial) programs as part of a larger (possibly commercial) software distribution provided that you do not advertise this Package as a product of your own. 6. The scripts and library files supplied as input to or produced as output from the programs of this Package do not automatically fall under the copyright of this Package, but belong to whomever generated them, and may be sold commercially, and may be aggregated with this Package. 7. C or perl subroutines supplied by you and linked into this Package shall not be considered part of this Package. 8. Aggregation of this Package with a commercial distribution is always permitted provided that the use of this Package is embedded; that is, when no overt attempt is made to make this Package's interfaces visible to the end user of the commercial distribution. Such use shall not be construed as a distribution of this Package. 9. The name of the Copyright Holder may not be used to endorse or promote products derived from this software without specific prior written permission. 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. The End iCal-Parser-HTML-1.07/Makefile.PL0000444000076500007650000000211511032270427014726 0ustar rickrick# Note: this file was auto-generated by Module::Build::Compat version 0.03 unless (eval "use Module::Build::Compat 0.02; 1" ) { print "This module requires Module::Build to install itself.\n"; require ExtUtils::MakeMaker; my $yn = ExtUtils::MakeMaker::prompt (' Install Module::Build now from CPAN?', 'y'); unless ($yn =~ /^y/i) { die " *** Cannot install without Module::Build. Exiting ...\n"; } require Cwd; require File::Spec; require CPAN; # Save this 'cause CPAN will chdir all over the place. my $cwd = Cwd::cwd(); CPAN::Shell->install('Module::Build::Compat'); CPAN::Shell->expand("Module", "Module::Build::Compat")->uptodate or die "Couldn't install Module::Build, giving up.\n"; chdir $cwd or die "Cannot chdir() back to $cwd: $!"; } eval "use Module::Build::Compat 0.02; 1" or die $@; Module::Build::Compat->run_build_pl(args => \@ARGV); require Module::Build; Module::Build::Compat->write_makefile(build_class => 'Module::Build'); iCal-Parser-HTML-1.07/MANIFEST0000444000076500007650000000243211032270427014107 0ustar rickrickBuild.PL examples/calendar.css examples/ical.cgi lib/iCal/Parser/HTML.pm lib/iCal/Parser/HTML/stylesheet/cal-util.xsl lib/iCal/Parser/HTML/stylesheet/day-util.xsl lib/iCal/Parser/HTML/stylesheet/day.xsl lib/iCal/Parser/HTML/stylesheet/month-util.xsl lib/iCal/Parser/HTML/stylesheet/month.xsl lib/iCal/Parser/HTML/stylesheet/week.xsl lib/iCal/Parser/HTML/stylesheet/year.xsl lib/iCal/Parser/HTML/stylesheet/index.xsl LICENSE MANIFEST This list of files Makefile.PL README scripts/ical2html t/00load.t t/01parse.t t/calendars/all-day-event.ics t/calendars/all-day-event.ics.day.html t/calendars/all-day-event.ics.month.html t/calendars/all-day-event.ics.week.html t/calendars/all-day-event.ics.year.html t/calendars/complex.ics t/calendars/complex.ics.day.html t/calendars/complex.ics.month.html t/calendars/complex.ics.week.html t/calendars/complex.ics.year.html t/calendars/event-duration.ics t/calendars/event-duration.ics.day.html t/calendars/event-duration.ics.month.html t/calendars/event-duration.ics.week.html t/calendars/event-duration.ics.year.html t/calendars/multical.day.html t/calendars/multical.month.html t/calendars/multical.nolink.day.html t/calendars/multical.nolink.month.html t/calendars/multical.nolink.week.html t/calendars/multical.week.html t/calendars/multical.year.html META.yml iCal-Parser-HTML-1.07/META.yml0000444000076500007650000000102311032270427014222 0ustar rickrick--- name: iCal-Parser-HTML version: 1.07 author: - 'Rick Frankel, cpan@rickster.com' abstract: Generate HTML calendars from iCalendars license: perl resources: license: http://dev.perl.org/licenses/ requires: XML::LibXML: 1.58 XML::LibXSLT: 1.57 iCal::Parser::SAX: 1.05 build_requires: Test::More: 0.47 provides: iCal::Parser::HTML: file: lib/iCal/Parser/HTML.pm version: 1.07 generated_by: Module::Build version 0.2808 meta-spec: url: http://module-build.sourceforge.net/META-spec-v1.2.html version: 1.2 iCal-Parser-HTML-1.07/README0000444000076500007650000000472111032270427013641 0ustar rickrickNAME iCal::Parser::HTML - Generate HTML calendars from iCalendars SYNOPSIS use iCal::Parser::HTML; my $parser=iCal::Parser::HTML->new; print $parser->parse(type=>$type,start=>$date,files=>[@icals]); DESCRIPTION This module uses iCal::Parser::SAX and XML::LibXSLT with included stylesheets to generates html calendars from icalendars. The html document generated includes (when appropriate) a sidebar containing a legend, a list of todos and a three month calendar for the previous, current and next months. The stylesheets are stored in the HTML/stylesheet directory under the installed package directory. Also included in this package are an optionally installed command line program scripts and, in the example directory, a cgi handler (examples) and a stylesheet (examples) for formatting the html output. Note that the html output will look quite broken without the stylesheet. ARGUMENTS The following arguments are processed by this module. Any addtional arguments are passed to iCal::Parser::SAX. type The type of calendar to generate. One of: `day', `week', `month' or `year'. The daily, weekly and monthly calendars include the sidebar. The calendar generated will be for the specified period (day, week, etc.) which includes the specified date. start The date to generated the calendar for. The date only needs to be specified to the precision necessary for the type of calendar. That is, `YYYY' for a yearly calendar, `YYYYMM' for a monthly, and `YYYYMMDD' for daily and weekly. In addition, the date can be in one of the following forms: YYYY[MM[DD]] YYYY[-MM[-DD]] A DateTime object initialized to the necessary precision files An array reference to the list of icalendars to include in the results. url If this params is specified, then the html output will contain links back to this url for getting other calendar periods. The params `type' and `date' will be appended to this url when generating the links. AUTHOR Rick Frankel, cpan@rickster.com COPYRIGHT This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. SEE ALSO iCal::Parser::SAX, XML::LibXML::SAX::Builder, XML::LibXSLT, DateTime iCal-Parser-HTML-1.07/scripts/0000755000076500007650000000000011032270427014446 5ustar rickrickiCal-Parser-HTML-1.07/scripts/ical2html0000555000076500007650000000441311032270427016253 0ustar rickrick#!/usr/local/bin/perl -w use strict; use iCal::Parser::HTML; use DateTime; use Getopt::Std; our $VERSION=sprintf("%d.%02d", q$Revision: 1.3 $ =~ /(\d+)\.(\d+)/); our %opts=(z=>'local'); our $opts='d:l:z:wymh'; our $usage=q{usage: $0 {$opts} file ... -d YYYYMMDD date to generate calendar (default today) -z tz timezone to use (e.g., "America/New_York" -l base_url generate links in output html -w weekly calendar -m monthly calendar -y yearly calendar The default is to generate a 1 day calendar for today in the local timezone. If w,m or y option is specfied, the calendar will be for the week, month or year containing the date and the date only needs to be specfied to the relevant level of precision. If the -l option is specified, links of the form href="$base_url;type=type;date=yymmdd" will be generated as appropriate in the html output. }; getopts($opts,\%opts) || die $usage; print $usage and exit 0 if $opts{h}; die $usage unless @ARGV; unless($opts{d}) { my @t=localtime; $t[5]+=1900; $t[4]++; $opts{d}=sprintf('%4d%02d%02d',@t[5,4,3]); } my $type = $opts{w} ? 'week' : $opts{m} ? 'month' : $opts{y} ? 'year' : 'day'; print iCal::Parser::HTML->new->parse(type=>$type,start=>$opts{d},tz=>$opts{z}, base_url=>$opts{l},files=>[@ARGV]); exit 0; =head1 NAME ical2html - Convert iCalendar files to HTML =head1 SYNOPSIS ical2html [options] file.ics .. =head1 DESCRIPTION This program uses L to convert iCalendar files to HTML. Mutlple input files are merged into a single HTML calendar. =head1 OPTIONS =over 4 =item -d yyyy[mm[dd]] The date to output events for. If no date specified, uses today. =item -w Output one week calendar for the week containing the date specified above. =item -m Output one month calendar for the month containing the date specified above. =item -y Output one year calendar for the year containing the date specified above. =item -h the ususal =back =head1 AUTHOR Rick Frankel, cpan@rickster.com =head1 COPYRIGHT This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. The full text of the license can be found in the LICENSE file included with this module. =head1 SEE ALSO L iCal-Parser-HTML-1.07/t/0000755000076500007650000000000011032270427013222 5ustar rickrickiCal-Parser-HTML-1.07/t/00load.t0000444000076500007650000000032111032270427014460 0ustar rickrick# -*- cperl -*- # t/001_load.t - check module loading and create testing directory use Test::More tests => 2; BEGIN { use_ok('iCal::Parser::HTML') }; isa_ok(iCal::Parser::HTML->new, 'iCal::Parser::HTML'); iCal-Parser-HTML-1.07/t/01parse.t0000444000076500007650000000347511032270427014671 0ustar rickrick# -*- cperl -*- use Test::More; use iCal::Parser::HTML; my $parser=iCal::Parser::HTML->new; #map of calendars to start dates my %testmap=( 'event-duration.ics'=>'20041112', 'all-day-event.ics'=>'20041115', 'complex.ics'=>'20041112', ); plan tests => (scalar keys %testmap) * 4 + 7; my $caldir='t/calendars'; while(my($f,$d)=each %testmap) { foreach my $type qw(day week month year) { my $got=$parser->parse(type=>$type,start=>$d,url=>"$f?", files=>["$caldir/$f"]); $got=~s/today//g; $got=~s/ class=""//g; dump_html("$caldir/$f.$type.html",$got) if $ENV{_DUMP_TEST_HTML_}; my $expect=slurp("$caldir/$f.$type.html"); is($got,$expect,"$f -> $type"); } } #multiple calendar input foreach my $type qw(day week month year) { my $got=$parser ->parse(type=>$type,start=>'2004-11-12',url=>'multical?', files=>[map {"t/calendars/$_"} keys %testmap]); $got=~s/today//g; $got=~s/ class=""//g; dump_html("$caldir/multical.$type.html",$got) if $ENV{_DUMP_TEST_HTML_}; my $expect=slurp("t/calendars/multical.$type.html"); is($got,$expect,"multical -> $type"); } #no link output foreach my $type qw(day week month) { my $got=$parser ->parse(type=>$type,start=>'2004-11-12', files=>[map {"t/calendars/$_"} keys %testmap]); $got=~s/today//g; $got=~s/ class=""//g; dump_html("$caldir/multical.nolink.$type.html",$got) if $ENV{_DUMP_TEST_HTML_}; my $expect=slurp("t/calendars/multical.nolink.$type.html"); is($got,$expect,"multical -> $type (no links)"); } sub dump_html { my($expect,$got)=@_; diag("dumping $expect"); open OUT, ">$expect" or die "Can't open $expect, $!"; print OUT $got; close OUT; } sub slurp { my $f=shift; local $/=undef; open IN, $f or die "Can't open $f, $!"; my $s=; close IN; return $s; } iCal-Parser-HTML-1.07/t/calendars/0000755000076500007650000000000011032270427015156 5ustar rickrickiCal-Parser-HTML-1.07/t/calendars/all-day-event.ics0000444000076500007650000000037511032270427020323 0ustar rickrickBEGIN:VCALENDAR VERSION:2.0 PRODID:-//Testing//Test//EN BEGIN:VEVENT DTSTART;VALUE=DATE:20041115 DTEND;VALUE=DATE:20041116 SUMMARY:all day UID:Z4E57872-3516-11D9-8A43-000D93C45D90 SEQUENCE:2 DTSTAMP:20041113T015226Z END:VEVENT END:VCALENDAR iCal-Parser-HTML-1.07/t/calendars/all-day-event.ics.day.html0000444000076500007650000004422711032270427022046 0ustar rickrick Daily Calendar

Monday, November 15, 2004

All Day all day
0:00  
 
1:00  
 
2:00  
 
3:00  
 
4:00  
 
5:00  
 
6:00  
 
7:00  
 
8:00  
 
9:00  
 
10:00  
 
11:00  
 
12:00  
 
13:00  
 
14:00  
 
15:00  
 
16:00  
 
17:00  
 
18:00  
 
19:00  
 
20:00  
 
21:00  
 
22:00  
 
23:00  
 
iCal-Parser-HTML-1.07/t/calendars/all-day-event.ics.month.html0000444000076500007650000004403711032270427022415 0ustar rickrick Monthly Calendar

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

45

8

9

10

11

12

13

14

46

15

all day

16

17

18

19

20

21

47

22

23

24

25

26

27

28

48

29

30

1

2

3

4

5

iCal-Parser-HTML-1.07/t/calendars/all-day-event.ics.week.html0000444000076500007650000007627711032270427022236 0ustar rickrick Weekly Calendar

November 15, 2004 - November 21, 2004

  Mon 15 Tue 16 Wed 17 Thu 18 Fri 19 Sat 20 Sun 21
All Day all day            
0:00              
             
1:00              
             
2:00              
             
3:00              
             
4:00              
             
5:00              
             
6:00              
             
7:00              
             
8:00              
             
9:00              
             
10:00              
             
11:00              
             
12:00              
             
13:00              
             
14:00              
             
15:00              
             
16:00              
             
17:00              
             
18:00              
             
19:00              
             
20:00              
             
21:00              
             
22:00              
             
23:00              
             
iCal-Parser-HTML-1.07/t/calendars/all-day-event.ics.year.html0000444000076500007650000016314311032270427022230 0ustar rickrick Yearly Calendar

2004

January 2004

  Mon Tue Wed Thu Fri Sat Sun
52

29

30

31

1

2

3

4

1

5

6

7

8

9

10

11

2

12

13

14

15

16

17

18

3

19

20

21

22

23

24

25

4

26

27

28

29

30

31

1

February 2004

  Mon Tue Wed Thu Fri Sat Sun
4

26

27

28

29

30

31

1

5

2

3

4

5

6

7

8

6

9

10

11

12

13

14

15

7

16

17

18

19

20

21

22

8

23

24

25

26

27

28

29

March 2004

  Mon Tue Wed Thu Fri Sat Sun
9

1

2

3

4

5

6

7

10

8

9

10

11

12

13

14

11

15

16

17

18

19

20

21

12

22

23

24

25

26

27

28

13

29

30

31

1

2

3

4

April 2004

  Mon Tue Wed Thu Fri Sat Sun
13

29

30

31

1

2

3

4

14

5

6

7

8

9

10

11

15

12

13

14

15

16

17

18

16

19

20

21

22

23

24

25

17

26

27

28

29

30

1

2

May 2004

  Mon Tue Wed Thu Fri Sat Sun
17

26

27

28

29

30

1

2

18

3

4

5

6

7

8

9

19

10

11

12

13

14

15

16

20

17

18

19

20

21

22

23

21

24

25

26

27

28

29

30

22

31

1

2

3

4

5

6

June 2004

  Mon Tue Wed Thu Fri Sat Sun
22

31

1

2

3

4

5

6

23

7

8

9

10

11

12

13

24

14

15

16

17

18

19

20

25

21

22

23

24

25

26

27

26

28

29

30

1

2

3

4

July 2004

  Mon Tue Wed Thu Fri Sat Sun
26

28

29

30

1

2

3

4

27

5

6

7

8

9

10

11

28

12

13

14

15

16

17

18

29

19

20

21

22

23

24

25

30

26

27

28

29

30

31

1

August 2004

  Mon Tue Wed Thu Fri Sat Sun
30

26

27

28

29

30

31

1

31

2

3

4

5

6

7

8

32

9

10

11

12

13

14

15

33

16

17

18

19

20

21

22

34

23

24

25

26

27

28

29

35

30

31

1

2

3

4

5

September 2004

  Mon Tue Wed Thu Fri Sat Sun
35

30

31

1

2

3

4

5

36

6

7

8

9

10

11

12

37

13

14

15

16

17

18

19

38

20

21

22

23

24

25

26

39

27

28

29

30

1

2

3

October 2004

  Mon Tue Wed Thu Fri Sat Sun
39

27

28

29

30

1

2

3

40

4

5

6

7

8

9

10

41

11

12

13

14

15

16

17

42

18

19

20

21

22

23

24

43

25

26

27

28

29

30

31

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

45

8

9

10

11

12

13

14

46

15

1

16

17

18

19

20

21

47

22

23

24

25

26

27

28

48

29

30

1

2

3

4

5

December 2004

  Mon Tue Wed Thu Fri Sat Sun
48

29

30

1

2

3

4

5

49

6

7

8

9

10

11

12

50

13

14

15

16

17

18

19

51

20

21

22

23

24

25

26

52

27

28

29

30

31

1

2

iCal-Parser-HTML-1.07/t/calendars/complex.ics0000444000076500007650000001675111032270427017335 0ustar rickrickBEGIN:VCALENDAR VERSION:2.0 X-WR-CALNAME:Test PRODID:-//Apple Computer\, Inc//iCal 1.5//EN X-WR-RELCALID:7CCE8555-3516-11D9-8A43-000D93C45D90 X-WR-TIMEZONE:America/New_York CALSCALE:GREGORIAN X-WR-CALDESC:My Test Calendar BEGIN:VEVENT DURATION:PT1H ATTENDEE;CN="Lindsey Biel":mailto:lindsey ATTENDEE;CN="Jay Frankel":mailto:jayfrankel ATTENDEE;CN="someone else":invalid:nomail DTSTAMP:20041113T220634Z UID:823732B9-3516-11D9-8A43-000D93C45D90 SEQUENCE:3 URL;VALUE=URI:http://foo STATUS:TENTATIVE DTSTART;TZID=America/New_York:20041112T210000 SUMMARY:1 hr event DESCRIPTION:this is a note\nline 2\nand a longer line for line three. ma ke it wrap X-WR-ITIPSTATUSML:UNCLEAN ORGANIZER;CN="Rick Frankel":mailto:rick BEGIN:VALARM TRIGGER:-PT15M DESCRIPTION:Event reminder ACTION:DISPLAY END:VALARM END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20041115 DTEND;VALUE=DATE:20041116 SUMMARY:all day UID:A4E57872-3516-11D9-8A43-000D93C45D90 SEQUENCE:2 DTSTAMP:20041113T015226Z END:VEVENT BEGIN:VEVENT DURATION:PT1H ATTENDEE;CN="Biel Lindsey":mailto:lindsey ATTENDEE;CN="Frankel Jay":mailto:jayfrankel DTSTAMP:20041130T224644Z ORGANIZER;CN="Frankel Rick":mailto:rick UID:B347D452-3516-11D9-8A43-000D93C45D90 SEQUENCE:7 DTSTART;TZID=America/New_York:20041116T210000 SUMMARY:weekly X-WR-ITIPSTATUSML:UNCLEAN RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20041202T045959Z END:VEVENT BEGIN:VEVENT DURATION:PT1H ATTENDEE;CN="Lindsey Biel":mailto:lindsey DTSTAMP:20041117T024941Z ORGANIZER;CN="Rick Frankel":mailto:rick UID:D5EEE785-3516-11D9-8A43-000D93C45D90 SEQUENCE:5 DTSTART;TZID=America/New_York:20041117T210000 SUMMARY:daily X-WR-ITIPSTATUSML:UNCLEAN RRULE:FREQ=DAILY;INTERVAL=1;UNTIL=20041121T045959Z END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20041124 DTEND;VALUE=DATE:20041125 SUMMARY:all day repeat UID:E7E912A0-3516-11D9-8A43-000D93C45D90 SEQUENCE:5 DTSTAMP:20041113T162820Z RRULE:FREQ=DAILY;INTERVAL=1;COUNT=3 END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041117T210000 STATUS:CONFIRMED UID:D5EEE785-3516-11D9-8A43-000D93C45D90 DTSTAMP:20041126T220730Z RECURRENCE-ID;TZID=America/New_York:20041117T210000 DURATION:PT1H BEGIN:VALARM ACTION:EMAIL SUMMARY:Alarm notification TRIGGER:-P1D ATTENDEE:mailto:rick DESCRIPTION:This is an event reminder END:VALARM END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041118T210000 STATUS:CANCELLED DTEND;TZID=America/New_York:20041118T230000 UID:D5EEE785-3516-11D9-8A43-000D93C45D90 SEQUENCE:5 RECURRENCE-ID;TZID=America/New_York:20041118T210000 DTSTAMP:20041113T203354Z END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041201T180000 SUMMARY:mon/wed UID:1C98FD62-35C6-11D9-8110-000D93C45D90 SEQUENCE:4 DTSTAMP:20041114T024527Z RRULE:FREQ=WEEKLY;INTERVAL=1;COUNT=6;BYDAY=MO,WE;WKST=SU DURATION:PT1H END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041127T190000 EXDATE;TZID=America/New_York:20041204T190000 EXDATE;TZID=America/New_York:20041218T190000 DTEND;TZID=America/New_York:20041127T200000 SUMMARY:another weekly UID:EE9B2B93-35CC-11D9-8110-000D93C45D90 SEQUENCE:8 DTSTAMP:20041114T002037Z RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20041228T045959Z END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041108T190000 LOCATION:here DTEND;TZID=America/New_York:20041110T200000 SUMMARY:long1 UID:783BF902-35CD-11D9-8110-000D93C45D90 SEQUENCE:4 DTSTAMP:20041114T202430Z END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20041107 DTEND;VALUE=DATE:20041111 SUMMARY:span UID:AA403AC0-35CD-11D9-8110-000D93C45D90 SEQUENCE:5 DTSTAMP:20041209T004711Z END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041202T000000 DTEND;TZID=America/New_York:20041202T010000 SUMMARY:weird UID:5A4E636A-35E7-11D9-9E64-000D93C45D90 SEQUENCE:108 DTSTAMP:20041117T023708Z RRULE:FREQ=WEEKLY;INTERVAL=1;UNTIL=20050105T045959Z;BYDAY=TH,FR;WKST=SU BEGIN:VALARM ACTION:DISPLAY DESCRIPTION:Event reminder TRIGGER:-PT15M END:VALARM BEGIN:VALARM ACTION:DISPLAY DESCRIPTION:Event reminder TRIGGER:-PT30M END:VALARM END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041201T180000 SUMMARY:mon/wed-changed UID:1C98FD62-35C6-11D9-8110-000D93C45D90 RECURRENCE-ID;TZID=America/New_York:20041201T180000 DURATION:PT1H END:VEVENT BEGIN:VTODO PRIORITY:9 DTSTAMP:20041114T024952Z UID:B78E68F2-35E7-11D9-9E64-000D93C45D90 SEQUENCE:2 URL;VALUE=URI:mailto:me STATUS:COMPLETED DTSTART;TZID=America/New_York:20041113T000000 SUMMARY:todo 1 COMPLETED:20041113T050000Z END:VTODO BEGIN:VTODO DTSTART;TZID=America/New_York:20041113T000000 SUMMARY:todo 2 UID:BC83F9D2-35E7-11D9-9E64-000D93C45D90 SEQUENCE:5 DTSTAMP:20041211T040210Z PRIORITY:1 DUE;VALUE=DATE:20041120 BEGIN:VALARM ACTION:PROCEDURE ATTACH;VALUE=URI:file://localhost/Applications/iCal.app/ TRIGGER:PT2M END:VALARM BEGIN:VALARM ACTION:EMAIL SUMMARY:Alarm notification TRIGGER:-PT15M ATTENDEE:mailto:rick DESCRIPTION:This is an event reminder END:VALARM END:VTODO BEGIN:VTODO DTSTART;TZID=America/New_York:20041112T000000 SUMMARY:todo 3 UID:0BC74A86-35E9-11D9-9E64-000D93C45D90 SEQUENCE:5 DTSTAMP:20041117T021921Z PRIORITY:5 DUE;VALUE=DATE:20041114 BEGIN:VALARM ACTION:PROCEDURE ATTACH;VALUE=URI:file://localhost/Users/rick/Documents/businesscard.bcar d TRIGGER:-PT15M END:VALARM BEGIN:VALARM TRIGGER:-PT15M DESCRIPTION:Event reminder ACTION:DISPLAY END:VALARM END:VTODO BEGIN:VTODO DTSTART;TZID=America/New_York:20041113T000000 SUMMARY:todo 4 UID:FF6841B4-35ED-11D9-98FE-000D93C45D90 SEQUENCE:1 DTSTAMP:20041114T033428Z DESCRIPTION:not much END:VTODO BEGIN:VEVENT DTSTART;TZID=America/New_York:20041111T090000 DTEND;TZID=America/New_York:20041112T140000 SUMMARY:overnight UID:95CCBF98-3685-11D9-8CA5-000D93C45D90 SEQUENCE:8 DTSTAMP:20041114T214258Z END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041113T170000 DTEND;TZID=America/New_York:20041114T163000 SUMMARY:short overnight UID:4D97CFCB-3687-11D9-8CA5-000D93C45D90 SEQUENCE:13 DTSTAMP:20041114T215137Z END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20041231 DTEND;VALUE=DATE:20050101 SUMMARY:eoy all UID:D97AFD6E-3DCB-11D9-A9BF-000D93C45D90 SEQUENCE:28 DTSTAMP:20041124T035246Z END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20041130 LOCATION:here DTEND;VALUE=DATE:20041201 SUMMARY:eom allday UID:0C86E2CB-3DCC-11D9-A9BF-000D93C45D90 SEQUENCE:6 DTSTAMP:20041130T231246Z DESCRIPTION:this is < a note END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20041129 DTEND;VALUE=DATE:20041130 SUMMARY:monday UID:4F2C757A-431A-11D9-B3AF-000D93C45D90 SEQUENCE:2 DTSTAMP:20041130T215351Z END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041212T170000 SUMMARY:sunday UID:A94F4AE4-431A-11D9-9399-000D93C45D90 SEQUENCE:1 DTSTAMP:20041130T215623Z DURATION:PT1H END:VEVENT BEGIN:VEVENT DTSTART;VALUE=DATE:20041110 DTEND;VALUE=DATE:20041113 SUMMARY:overlapping span UID:CC534437-4977-11D9-B3AD-000D93C45D90 SEQUENCE:5 DTSTAMP:20041209T004703Z END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041112T110000 DTEND;TZID=America/New_York:20041112T154500 SUMMARY:third overlap UID:FFB5DD62-4991-11D9-B3AD-000D93C45D90 SEQUENCE:5 DTSTAMP:20041209T032845Z END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041112T030000 DTEND;TZID=America/New_York:20041112T043000 SUMMARY:mid-overlap UID:A29A6C78-4A34-11D9-B3AD-000D93C45D90 SEQUENCE:1 DTSTAMP:20041209T224956Z END:VEVENT BEGIN:VEVENT DTSTART;TZID=America/New_York:20041112T160000 SUMMARY:another UID:40E3266B-4A36-11D9-B3AD-000D93C45D90 SEQUENCE:3 DTSTAMP:20041209T230232Z DURATION:PT1H END:VEVENT END:VCALENDAR iCal-Parser-HTML-1.07/t/calendars/complex.ics.day.html0000444000076500007650000004525611032270427021056 0ustar rickrick Daily Calendar

Friday, November 12, 2004

All Day overlapping span
0:00
0:00 - 14:00

overnight

 
 
1:00  
 
2:00  
 
3:00
3:00 - 4:30

mid-overlap

4:00
 
5:00  
 
6:00  
 
7:00  
 
8:00  
 
9:00  
 
10:00  
 
11:00
11:00 - 15:45

third overlap

12:00
13:00
14:00  
 
15:00  
 
16:00
16:00 - 17:00

another

17:00  
 
18:00  
 
19:00  
 
20:00  
 
21:00
21:00 - 22:00

1 hr event

[ Rick Frankel Lindsey Biel Jay Frankel someone else ]

this is a note line 2 and a longer line for line three. make it wrap

22:00  
 
23:00  
 
iCal-Parser-HTML-1.07/t/calendars/complex.ics.month.html0000444000076500007650000004633711032270427021427 0ustar rickrick Monthly Calendar

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

span

45

8

span

19:00 long1

9

span

0:00 long1

10

overlapping span

span

0:00 long1

11

overlapping span

9:00 overnight

12

overlapping span

0:00 overnight

3:00 mid-overlap

11:00 third overlap

16:00 another

21:00 1 hr event

13

17:00 short overnight

14

0:00 short overnight

46

15

all day

16

21:00 weekly

17

21:00 daily

18

21:00 daily

19

21:00 daily

20

21:00 daily

21

47

22

23

21:00 weekly

24

all day repeat

25

all day repeat

26

all day repeat

27

19:00 another weekly

28

48

29

monday

30

eom allday

21:00 weekly

1

2

3

4

5

iCal-Parser-HTML-1.07/t/calendars/complex.ics.week.html0000444000076500007650000006132711032270427021231 0ustar rickrick Weekly Calendar

November 8, 2004 - November 14, 2004

  Mon 8 Tue 9 Wed 10 Thu 11 Fri 12 Sat 13 Sun 14
All Day span        
    overlapping span    
0:00  
0:00 - 0:00

long1

0:00 - 20:00

long1

 
0:00 - 14:00

overnight

   
0:00 - 16:30

short overnight

       
1:00        
       
2:00        
       
3:00    
3:00 - 4:30

mid-overlap

 
     
4:00      
       
5:00        
       
6:00        
       
7:00        
       
8:00        
       
9:00  
9:00 - 0:00

overnight

   
     
10:00      
     
11:00  
11:00 - 15:45

third overlap

 
   
12:00    
   
13:00    
   
14:00      
     
15:00      
     
16:00  
16:00 - 17:00

another

 
     
17:00    
17:00 - 0:00

short overnight

 
     
18:00      
     
19:00
19:00 - 0:00

long1

   
   
20:00      
     
21:00  
21:00 - 22:00

1 hr event

 
   
22:00      
     
23:00      
     
iCal-Parser-HTML-1.07/t/calendars/complex.ics.year.html0000444000076500007650000015506311032270427021237 0ustar rickrick Yearly Calendar

2004

January 2004

  Mon Tue Wed Thu Fri Sat Sun
52

29

30

31

1

2

3

4

1

5

6

7

8

9

10

11

2

12

13

14

15

16

17

18

3

19

20

21

22

23

24

25

4

26

27

28

29

30

31

1

February 2004

  Mon Tue Wed Thu Fri Sat Sun
4

26

27

28

29

30

31

1

5

2

3

4

5

6

7

8

6

9

10

11

12

13

14

15

7

16

17

18

19

20

21

22

8

23

24

25

26

27

28

29

March 2004

  Mon Tue Wed Thu Fri Sat Sun
9

1

2

3

4

5

6

7

10

8

9

10

11

12

13

14

11

15

16

17

18

19

20

21

12

22

23

24

25

26

27

28

13

29

30

31

1

2

3

4

April 2004

  Mon Tue Wed Thu Fri Sat Sun
13

29

30

31

1

2

3

4

14

5

6

7

8

9

10

11

15

12

13

14

15

16

17

18

16

19

20

21

22

23

24

25

17

26

27

28

29

30

1

2

May 2004

  Mon Tue Wed Thu Fri Sat Sun
17

26

27

28

29

30

1

2

18

3

4

5

6

7

8

9

19

10

11

12

13

14

15

16

20

17

18

19

20

21

22

23

21

24

25

26

27

28

29

30

22

31

1

2

3

4

5

6

June 2004

  Mon Tue Wed Thu Fri Sat Sun
22

31

1

2

3

4

5

6

23

7

8

9

10

11

12

13

24

14

15

16

17

18

19

20

25

21

22

23

24

25

26

27

26

28

29

30

1

2

3

4

July 2004

  Mon Tue Wed Thu Fri Sat Sun
26

28

29

30

1

2

3

4

27

5

6

7

8

9

10

11

28

12

13

14

15

16

17

18

29

19

20

21

22

23

24

25

30

26

27

28

29

30

31

1

August 2004

  Mon Tue Wed Thu Fri Sat Sun
30

26

27

28

29

30

31

1

31

2

3

4

5

6

7

8

32

9

10

11

12

13

14

15

33

16

17

18

19

20

21

22

34

23

24

25

26

27

28

29

35

30

31

1

2

3

4

5

September 2004

  Mon Tue Wed Thu Fri Sat Sun
35

30

31

1

2

3

4

5

36

6

7

8

9

10

11

12

37

13

14

15

16

17

18

19

38

20

21

22

23

24

25

26

39

27

28

29

30

1

2

3

October 2004

  Mon Tue Wed Thu Fri Sat Sun
39

27

28

29

30

1

2

3

40

4

5

6

7

8

9

10

41

11

12

13

14

15

16

17

42

18

19

20

21

22

23

24

43

25

26

27

28

29

30

31

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

1
45

8

2

9

2

10

3

11

2

12

6

13

1

14

1
46

15

1

16

1

17

1

18

1

19

1

20

1

21

47

22

23

1

24

1

25

1

26

1

27

1

28

48

29

1

30

2

1

1

2

1

3

1

4

5

December 2004

  Mon Tue Wed Thu Fri Sat Sun
48

29

1

30

2

1

1

2

1

3

1

4

5

49

6

1

7

8

1

9

1

10

1

11

1

12

1
50

13

1

14

15

1

16

1

17

1

18

19

51

20

1

21

22

23

1

24

1

25

1

26

52

27

28

29

30

1

31

2

1

2

iCal-Parser-HTML-1.07/t/calendars/event-duration.ics0000444000076500007650000000037211032270427020622 0ustar rickrickBEGIN:VCALENDAR VERSION:2.0 PRODID:-//Testing//Test//EN BEGIN:VEVENT DURATION:PT1H DTSTAMP:20041113T220634Z UID:Z23732B9-3516-11D9-8A43-000D93C45D90 DTSTART;TZID=America/New_York:20041112T210000 SUMMARY:1 hr event END:VEVENT END:VCALENDAR iCal-Parser-HTML-1.07/t/calendars/event-duration.ics.day.html0000444000076500007650000004437211032270427022351 0ustar rickrick Daily Calendar

Friday, November 12, 2004

0:00  
 
1:00  
 
2:00  
 
3:00  
 
4:00  
 
5:00  
 
6:00  
 
7:00  
 
8:00  
 
9:00  
 
10:00  
 
11:00  
 
12:00  
 
13:00  
 
14:00  
 
15:00  
 
16:00  
 
17:00  
 
18:00  
 
19:00  
 
20:00  
 
21:00
21:00 - 22:00

1 hr event

22:00  
 
23:00  
 
iCal-Parser-HTML-1.07/t/calendars/event-duration.ics.month.html0000444000076500007650000004426711032270427022724 0ustar rickrick Monthly Calendar

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

45

8

9

10

11

12

21:00 1 hr event

13

14

46

15

16

17

18

19

20

21

47

22

23

24

25

26

27

28

48

29

30

1

2

3

4

5

iCal-Parser-HTML-1.07/t/calendars/event-duration.ics.week.html0000444000076500007650000007603211032270427022525 0ustar rickrick Weekly Calendar

November 8, 2004 - November 14, 2004

  Mon 8 Tue 9 Wed 10 Thu 11 Fri 12 Sat 13 Sun 14
0:00              
             
1:00              
             
2:00              
             
3:00              
             
4:00              
             
5:00              
             
6:00              
             
7:00              
             
8:00              
             
9:00              
             
10:00              
             
11:00              
             
12:00              
             
13:00              
             
14:00              
             
15:00              
             
16:00              
             
17:00              
             
18:00              
             
19:00              
             
20:00              
             
21:00        
21:00 - 22:00

1 hr event

   
           
22:00              
             
23:00              
             
iCal-Parser-HTML-1.07/t/calendars/event-duration.ics.year.html0000444000076500007650000016412511032270427022533 0ustar rickrick Yearly Calendar

2004

January 2004

  Mon Tue Wed Thu Fri Sat Sun
52

29

30

31

1

2

3

4

1

5

6

7

8

9

10

11

2

12

13

14

15

16

17

18

3

19

20

21

22

23

24

25

4

26

27

28

29

30

31

1

February 2004

  Mon Tue Wed Thu Fri Sat Sun
4

26

27

28

29

30

31

1

5

2

3

4

5

6

7

8

6

9

10

11

12

13

14

15

7

16

17

18

19

20

21

22

8

23

24

25

26

27

28

29

March 2004

  Mon Tue Wed Thu Fri Sat Sun
9

1

2

3

4

5

6

7

10

8

9

10

11

12

13

14

11

15

16

17

18

19

20

21

12

22

23

24

25

26

27

28

13

29

30

31

1

2

3

4

April 2004

  Mon Tue Wed Thu Fri Sat Sun
13

29

30

31

1

2

3

4

14

5

6

7

8

9

10

11

15

12

13

14

15

16

17

18

16

19

20

21

22

23

24

25

17

26

27

28

29

30

1

2

May 2004

  Mon Tue Wed Thu Fri Sat Sun
17

26

27

28

29

30

1

2

18

3

4

5

6

7

8

9

19

10

11

12

13

14

15

16

20

17

18

19

20

21

22

23

21

24

25

26

27

28

29

30

22

31

1

2

3

4

5

6

June 2004

  Mon Tue Wed Thu Fri Sat Sun
22

31

1

2

3

4

5

6

23

7

8

9

10

11

12

13

24

14

15

16

17

18

19

20

25

21

22

23

24

25

26

27

26

28

29

30

1

2

3

4

July 2004

  Mon Tue Wed Thu Fri Sat Sun
26

28

29

30

1

2

3

4

27

5

6

7

8

9

10

11

28

12

13

14

15

16

17

18

29

19

20

21

22

23

24

25

30

26

27

28

29

30

31

1

August 2004

  Mon Tue Wed Thu Fri Sat Sun
30

26

27

28

29

30

31

1

31

2

3

4

5

6

7

8

32

9

10

11

12

13

14

15

33

16

17

18

19

20

21

22

34

23

24

25

26

27

28

29

35

30

31

1

2

3

4

5

September 2004

  Mon Tue Wed Thu Fri Sat Sun
35

30

31

1

2

3

4

5

36

6

7

8

9

10

11

12

37

13

14

15

16

17

18

19

38

20

21

22

23

24

25

26

39

27

28

29

30

1

2

3

October 2004

  Mon Tue Wed Thu Fri Sat Sun
39

27

28

29

30

1

2

3

40

4

5

6

7

8

9

10

41

11

12

13

14

15

16

17

42

18

19

20

21

22

23

24

43

25

26

27

28

29

30

31

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

45

8

9

10

11

12

1

13

14

46

15

16

17

18

19

20

21

47

22

23

24

25

26

27

28

48

29

30

1

2

3

4

5

December 2004

  Mon Tue Wed Thu Fri Sat Sun
48

29

30

1

2

3

4

5

49

6

7

8

9

10

11

12

50

13

14

15

16

17

18

19

51

20

21

22

23

24

25

26

52

27

28

29

30

31

1

2

iCal-Parser-HTML-1.07/t/calendars/multical.day.html0000444000076500007650000004515011032270427020435 0ustar rickrick Daily Calendar

Friday, November 12, 2004

All Day overlapping span
0:00
0:00 - 14:00

overnight

 
 
1:00  
 
2:00  
 
3:00
3:00 - 4:30

mid-overlap

4:00
 
5:00  
 
6:00  
 
7:00  
 
8:00  
 
9:00  
 
10:00  
 
11:00
11:00 - 15:45

third overlap

12:00
13:00
14:00  
 
15:00  
 
16:00
16:00 - 17:00

another

17:00  
 
18:00  
 
19:00  
 
20:00  
 
21:00
21:00 - 22:00

1 hr event

21:00 - 22:00

1 hr event

[ Rick Frankel Lindsey Biel Jay Frankel someone else ]

this is a note line 2 and a longer line for line three. make it wrap

22:00  
 
23:00  
 
iCal-Parser-HTML-1.07/t/calendars/multical.month.html0000444000076500007650000004576111032270427021015 0ustar rickrick Monthly Calendar

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

span

45

8

span

19:00 long1

9

span

0:00 long1

10

overlapping span

span

0:00 long1

11

overlapping span

9:00 overnight

12

overlapping span

0:00 overnight

3:00 mid-overlap

11:00 third overlap

16:00 another

21:00 1 hr event

21:00 1 hr event

13

17:00 short overnight

14

0:00 short overnight

46

15

all day

all day

16

21:00 weekly

17

21:00 daily

18

21:00 daily

19

21:00 daily

20

21:00 daily

21

47

22

23

21:00 weekly

24

all day repeat

25

all day repeat

26

all day repeat

27

19:00 another weekly

28

48

29

monday

30

eom allday

21:00 weekly

1

2

3

4

5

iCal-Parser-HTML-1.07/t/calendars/multical.nolink.day.html0000444000076500007650000002731511032270427021731 0ustar rickrick Daily Calendar

Friday, November 12, 2004

All Day overlapping span
0:00
0:00 - 14:00

overnight

 
 
1:00  
 
2:00  
 
3:00
3:00 - 4:30

mid-overlap

4:00
 
5:00  
 
6:00  
 
7:00  
 
8:00  
 
9:00  
 
10:00  
 
11:00
11:00 - 15:45

third overlap

12:00
13:00
14:00  
 
15:00  
 
16:00
16:00 - 17:00

another

17:00  
 
18:00  
 
19:00  
 
20:00  
 
21:00
21:00 - 22:00

1 hr event

21:00 - 22:00

1 hr event

[ Rick Frankel Lindsey Biel Jay Frankel someone else ]

this is a note line 2 and a longer line for line three. make it wrap

22:00  
 
23:00  
 
iCal-Parser-HTML-1.07/t/calendars/multical.nolink.month.html0000444000076500007650000002343511032270427022300 0ustar rickrick Monthly Calendar

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

span

45

8

span

19:00 long1

9

span

0:00 long1

10

overlapping span

span

0:00 long1

11

overlapping span

9:00 overnight

12

overlapping span

0:00 overnight

3:00 mid-overlap

11:00 third overlap

16:00 another

21:00 1 hr event

21:00 1 hr event

13

17:00 short overnight

14

0:00 short overnight

46

15

all day

all day

16

21:00 weekly

17

21:00 daily

18

21:00 daily

19

21:00 daily

20

21:00 daily

21

47

22

23

21:00 weekly

24

all day repeat

25

all day repeat

26

all day repeat

27

19:00 another weekly

28

48

29

monday

30

eom allday

21:00 weekly

1

2

3

4

5

iCal-Parser-HTML-1.07/t/calendars/multical.nolink.week.html0000444000076500007650000004252511032270427022107 0ustar rickrick Weekly Calendar

November 8, 2004 - November 14, 2004

  Mon 8 Tue 9 Wed 10 Thu 11 Fri 12 Sat 13 Sun 14
All Day span        
    overlapping span    
0:00  
0:00 - 0:00

long1

0:00 - 20:00

long1

 
0:00 - 14:00

overnight

   
0:00 - 16:30

short overnight

       
1:00        
       
2:00        
       
3:00    
3:00 - 4:30

mid-overlap

 
     
4:00      
       
5:00        
       
6:00        
       
7:00        
       
8:00        
       
9:00  
9:00 - 0:00

overnight

   
     
10:00      
     
11:00  
11:00 - 15:45

third overlap

 
   
12:00    
   
13:00    
   
14:00      
     
15:00      
     
16:00  
16:00 - 17:00

another

 
     
17:00    
17:00 - 0:00

short overnight

 
     
18:00      
     
19:00
19:00 - 0:00

long1

   
   
20:00      
     
21:00  
21:00 - 22:00

1 hr event

21:00 - 22:00

1 hr event

 
   
22:00      
     
23:00      
     
iCal-Parser-HTML-1.07/t/calendars/multical.week.html0000444000076500007650000006114311032270427020613 0ustar rickrick Weekly Calendar

November 8, 2004 - November 14, 2004

  Mon 8 Tue 9 Wed 10 Thu 11 Fri 12 Sat 13 Sun 14
All Day span        
    overlapping span    
0:00  
0:00 - 0:00

long1

0:00 - 20:00

long1

 
0:00 - 14:00

overnight

   
0:00 - 16:30

short overnight

       
1:00        
       
2:00        
       
3:00    
3:00 - 4:30

mid-overlap

 
     
4:00      
       
5:00        
       
6:00        
       
7:00        
       
8:00        
       
9:00  
9:00 - 0:00

overnight

   
     
10:00      
     
11:00  
11:00 - 15:45

third overlap

 
   
12:00    
   
13:00    
   
14:00      
     
15:00      
     
16:00  
16:00 - 17:00

another

 
     
17:00    
17:00 - 0:00

short overnight

 
     
18:00      
     
19:00
19:00 - 0:00

long1

   
   
20:00      
     
21:00  
21:00 - 22:00

1 hr event

21:00 - 22:00

1 hr event

 
   
22:00      
     
23:00      
     
iCal-Parser-HTML-1.07/t/calendars/multical.year.html0000444000076500007650000015213511032270427020622 0ustar rickrick Yearly Calendar

2004

January 2004

  Mon Tue Wed Thu Fri Sat Sun
52

29

30

31

1

2

3

4

1

5

6

7

8

9

10

11

2

12

13

14

15

16

17

18

3

19

20

21

22

23

24

25

4

26

27

28

29

30

31

1

February 2004

  Mon Tue Wed Thu Fri Sat Sun
4

26

27

28

29

30

31

1

5

2

3

4

5

6

7

8

6

9

10

11

12

13

14

15

7

16

17

18

19

20

21

22

8

23

24

25

26

27

28

29

March 2004

  Mon Tue Wed Thu Fri Sat Sun
9

1

2

3

4

5

6

7

10

8

9

10

11

12

13

14

11

15

16

17

18

19

20

21

12

22

23

24

25

26

27

28

13

29

30

31

1

2

3

4

April 2004

  Mon Tue Wed Thu Fri Sat Sun
13

29

30

31

1

2

3

4

14

5

6

7

8

9

10

11

15

12

13

14

15

16

17

18

16

19

20

21

22

23

24

25

17

26

27

28

29

30

1

2

May 2004

  Mon Tue Wed Thu Fri Sat Sun
17

26

27

28

29

30

1

2

18

3

4

5

6

7

8

9

19

10

11

12

13

14

15

16

20

17

18

19

20

21

22

23

21

24

25

26

27

28

29

30

22

31

1

2

3

4

5

6

June 2004

  Mon Tue Wed Thu Fri Sat Sun
22

31

1

2

3

4

5

6

23

7

8

9

10

11

12

13

24

14

15

16

17

18

19

20

25

21

22

23

24

25

26

27

26

28

29

30

1

2

3

4

July 2004

  Mon Tue Wed Thu Fri Sat Sun
26

28

29

30

1

2

3

4

27

5

6

7

8

9

10

11

28

12

13

14

15

16

17

18

29

19

20

21

22

23

24

25

30

26

27

28

29

30

31

1

August 2004

  Mon Tue Wed Thu Fri Sat Sun
30

26

27

28

29

30

31

1

31

2

3

4

5

6

7

8

32

9

10

11

12

13

14

15

33

16

17

18

19

20

21

22

34

23

24

25

26

27

28

29

35

30

31

1

2

3

4

5

September 2004

  Mon Tue Wed Thu Fri Sat Sun
35

30

31

1

2

3

4

5

36

6

7

8

9

10

11

12

37

13

14

15

16

17

18

19

38

20

21

22

23

24

25

26

39

27

28

29

30

1

2

3

October 2004

  Mon Tue Wed Thu Fri Sat Sun
39

27

28

29

30

1

2

3

40

4

5

6

7

8

9

10

41

11

12

13

14

15

16

17

42

18

19

20

21

22

23

24

43

25

26

27

28

29

30

31

November 2004

  Mon Tue Wed Thu Fri Sat Sun
44

1

2

3

4

5

6

7

1
45

8

2

9

2

10

3

11

2

12

7

13

1

14

1
46

15

2

16

1

17

1

18

1

19

1

20

1

21

47

22

23

1

24

1

25

1

26

1

27

1

28

48

29

1

30

2

1

1

2

1

3

1

4

5

December 2004

  Mon Tue Wed Thu Fri Sat Sun
48

29

1

30

2

1

1

2

1

3

1

4

5

49

6

1

7

8

1

9

1

10

1

11

1

12

1
50

13

1

14

15

1

16

1

17

1

18

19

51

20

1

21

22

23

1

24

1

25

1

26

52

27

28

29

30

1

31

2

1

2