Generate calendar structure from aggregated fields in other pages

Hi,

Using Event Calendar | Kirby CMS Plugins I’m looking a way to generate the calendar.txt structure based on information stored on other page.

For example, one people set a new news with : begin_date, end_date and ticks the checkbox to display on event calendar.

Is there a way to loop on news fields to build a structure compatible with mzur calendar ?

Someone already do this ?

Best regards,

SR

You could use a page.update:after hook to update the structure field when certain conditions are met.