u01jmg3 / ics-parser

Parser for iCalendar Events • PHP 8+, 7 (≥ 7.4), 5 (≥ 5.6)
MIT License
453 stars 145 forks source link

Support ability to parse CATEGORIES #313

Closed BenWaNH closed 1 year ago

BenWaNH commented 1 year ago

Hi!

Not a bug but, Is there a way to parse with CATEGORIES prop?

https://www.kanzaki.com/docs/ical/categories.html

Thanks

u01jmg3 commented 1 year ago

Not currently but happy to accept a PR.

room34 commented 1 year ago

I'm curious what you're looking for here. In my experience ics-parser does already handle the CATEGORIES property; the problem is that many of the big source calendar applications (Google Calendar, Office 365) do not include any CATEGORIES data in the .ics feed in the first place. But, if CATEGORIES is in the feed, it's showing up properly in the parsed data for me.