lpil / icalendar

🗓️ A small library for reading and writing ICalendar files.
MIT License
103 stars 56 forks source link

How to add custom fields? #52

Closed bfontaine closed 3 years ago

bfontaine commented 3 years ago

Hello and thank you for this library. I would like to add custom fields, such as X-APPLE-STRUCTURED-LOCATION. Is there some way that I overlooked, or should I manipulate the ics string to inject the field? Thanks

lpil commented 3 years ago

I don't believe we have any API for doing this presently.

bfontaine commented 3 years ago

Thanks. Do you think adding an attribute with a map for extra fields would make sense?

lpil commented 3 years ago

Sure, but we would need to ensure that any API we offer is spec compliant.

bfontaine commented 3 years ago

In the meantime I abandonned the project I needed this for, so I’m closing this.