iCal::Parser 1.14
Sponsored Links
iCal::Parser 1.14 Ranking & Summary
File size:
0.028 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
931
Date added:
2007-04-07
Publisher:
Rick Frankel
iCal::Parser 1.14 description
iCal::Parser is a Perl module to parse iCalendar files into a data structure.
SYNOPSIS
use iCal::Parser
my $parser=iCal::Parser->new();
my $hash=$parser->parse($file);
$parser->parse($another_file);
my $combined=$parser->calendar;
my $combined=iCal::Parser->new->parse(@files);
my $combined=iCal::Parser->new->parse_files(@files);
my $combined=iCal::Parser->new->parse_strings(@strings);
This module processes iCalendar (vCalendar 2.0) files as specified in RFC 2445 into a data structure. It handles recurrences (RRULEs), exclusions (EXDATEs), event updates (events with a RECURRENCE-ID), and nested data structures (ATTENDEES and VALARMs). It currently ignores the VTIMEZONE, VJOURNAL and VFREEBUSY entry types.
The data structure returned is a hash like the following:
{
calendars=>[%cal, ...],
events=>{yyyy=>{mm=>{dd}=>{UID=>%event}}
todos=>[%todo, ...]
}
That is, it contains an array of calendar hashes, a hash of events key by year=>month=>day=>eventUID, and an array of todos.
Calendars, events and todos are "rolled up" version os the hashes returned from Text::vFile::asData, with dates replaced by DateTime objects.
During parsing, events in the input calendar are expanded out into multiple events, one per day covered by the event, as follows:
If the event is a one day "all day" event (in ical, the event is 24hrs long, starts at midnight on the day and ends a midnight of the next day), it contains no hour field and the allday field is set to 1.
If the event is a recurrence (RRULE), one event per day is created as per the RRULE specification.
If the event spans more than one day (the start and end dates are on different days, but does not contain an RRULE), it is expanded into multiple events, the first events end time is set to midnight, subsequent events are set to start at midnight and end at midnight the following day (same as an "allday" event, but the allday field is not set), and the last days event is set to run from midnight to the end time of the original multi-day event.
If the event is an update (it contains a RECURRENCE-ID), the original event is updated. If the referenced event does not exist (e.g., it was deleted after the update), then the event is added as a new event.
An example of each hash is below.
SYNOPSIS
use iCal::Parser
my $parser=iCal::Parser->new();
my $hash=$parser->parse($file);
$parser->parse($another_file);
my $combined=$parser->calendar;
my $combined=iCal::Parser->new->parse(@files);
my $combined=iCal::Parser->new->parse_files(@files);
my $combined=iCal::Parser->new->parse_strings(@strings);
This module processes iCalendar (vCalendar 2.0) files as specified in RFC 2445 into a data structure. It handles recurrences (RRULEs), exclusions (EXDATEs), event updates (events with a RECURRENCE-ID), and nested data structures (ATTENDEES and VALARMs). It currently ignores the VTIMEZONE, VJOURNAL and VFREEBUSY entry types.
The data structure returned is a hash like the following:
{
calendars=>[%cal, ...],
events=>{yyyy=>{mm=>{dd}=>{UID=>%event}}
todos=>[%todo, ...]
}
That is, it contains an array of calendar hashes, a hash of events key by year=>month=>day=>eventUID, and an array of todos.
Calendars, events and todos are "rolled up" version os the hashes returned from Text::vFile::asData, with dates replaced by DateTime objects.
During parsing, events in the input calendar are expanded out into multiple events, one per day covered by the event, as follows:
If the event is a one day "all day" event (in ical, the event is 24hrs long, starts at midnight on the day and ends a midnight of the next day), it contains no hour field and the allday field is set to 1.
If the event is a recurrence (RRULE), one event per day is created as per the RRULE specification.
If the event spans more than one day (the start and end dates are on different days, but does not contain an RRULE), it is expanded into multiple events, the first events end time is set to midnight, subsequent events are set to start at midnight and end at midnight the following day (same as an "allday" event, but the allday field is not set), and the last days event is set to run from midnight to the end time of the original multi-day event.
If the event is an update (it contains a RECURRENCE-ID), the original event is updated. If the referenced event does not exist (e.g., it was deleted after the update), then the event is added as a new event.
An example of each hash is below.
iCal::Parser 1.14 Screenshot
iCal::Parser 1.14 Keywords
Parser 1.14
RRULE
data structure
set to
Perl module
icalendar files
Files Into
event
parse
day
events
files
data
iCal::Parser
iCalParser
iCal::Parser 1.14
Bookmark iCal::Parser 1.14
iCal::Parser 1.14 Copyright
WareSeeker periodically updates pricing and software information of iCal::Parser 1.14 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of iCal::Parser 1.14 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
current events
events and adventures
science current events
chicago events
formal events
historical events
political events
current events in science
current events for kids
everett events center
series unfortunate events
health current events
current science events
data structure that
biology current events
data structure and algorithm
data structure questions
data structures
Related Software
iCal::Parser::SAX is a Perl module to generate SAX events from an iCalendar. Free Download
iCal::Parser::HTML is a Perl module to generate HTML calendars from iCalendars. Free Download
Parsifal XML Parser is a validating XML 1.0 parser written in ANSI C. Free Download
Fischerscope-parse is a php script for parsing data out of WinHCU, software accopanying the Fischerscope H100 nanoindenter. Free Download
chkperm is a tool that lets you automatically check and set the permissions and ownership of files and directories. Free Download
libcfgparse is a set of routines (a library) that provides simple access to data stored in configuration files. Free Download
NCast uses the CURL library to retrieve genres and songs from shoutcast.com. Free Download
LeoIni is a class that supports easy reading and writing of ini files like they are used by Windows, KDE and GNOME. Free Download
Latest Software
Popular Software
Favourite Software