filecage / ical-ts Goto Github PK
View Code? Open in Web Editor NEWA fully typed, zero-dependency and RFC compliant iCalendar / ICS parser
A fully typed, zero-dependency and RFC compliant iCalendar / ICS parser
I'm using the library to parse an ical string from a google calendar public url, while doing so I'm facing some challenges. I'm sure that most of the problems are because either support for the newest spec is missing or google is doing non-standard things.
A property FILENAME on an attachment ATTACH;FILENAME="Some video.mp4";FMTTYPE=video/mp4:https://drive.google.com/file/d/.../view?usp=drive_web
Following your source, I've fixed this by using string replacement to change FILENAME to X-FILENAME. That at least gets me further into parsing. It would be nice to have a lenient parsing option, as someone using your library I just want to have the data parsed, whether the ical is 100% standards conforming bears no meaning on my goal to derive use out of the data there-in.
Second, I also hit a problem where a x-...
property (correctly escaped by google) appears multiple times and thus is not converted into a list property automatically. The solution here would be to allow specifying what X-
properties are list typed, always treating X-
props as lists, or auto-converting to a list when multiple are present.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.