Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nicolai86/as3.iCal
iCal parser written in ActionScript 3
https://github.com/nicolai86/as3.iCal
Last synced: about 2 months ago
JSON representation
iCal parser written in ActionScript 3
- Host: GitHub
- URL: https://github.com/nicolai86/as3.iCal
- Owner: nicolai86
- Archived: true
- Created: 2009-11-19T14:46:56.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-02-03T08:03:57.000Z (over 13 years ago)
- Last Synced: 2024-05-03T05:14:12.929Z (5 months ago)
- Language: ActionScript
- Homepage: www.nicolai86.eu
- Size: 92.8 KB
- Stars: 5
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-actionscript-sorted - as3.iCal - iCal parser written in ActionScript 3 (File Formats / Misc Formats)
README
# as3-ical
as3-ical is an iCal parser written in ActionScript 3. Parsing works as specified in [RFC2445](http://www.ietf.org/rfc/rfc2445.txt).
## Usage
import com.rra.ical.VCalendar;
// ...
var calendar: VCalendar = new VCalendar();
calendar.addEventListener(Event.COMPLETE, onComplete);
calendar.load("http://path/to/my/calendar.ics");
// ...
function onComplete(e: Event): void {
var calendar: VCalendar = e.currentTarget as VCalendar;
for (var i: int = 0; i < calendar.Events.length; ++i) {
var event: VEvent = calendar.Events[i];
// do something with event.
}
}## Features
- Parses ics files, both remote & local
- Handles recurrences## Still missing
- tests! The test coverage is horrible
- as3doc! The code is barely documented
- optimizations! There's plenty of room for improvements.TODO complete the what's-missing-list