We are needing to move our old way of doing a calendar into matrix. Only problem is, is that we have about 400 different events for the year. Is there a better way to get these into matrix than just doing one by one? I know that I put in a feature request to create multiple calendar events to fix this problem. But I was wanting to see if there were any other solutions. What have others done? I am sure others have had to add tons of events and ran into this problem.
Can you create XML from your current calendar source? There may be a way to script the import using the import_from_xml.php script – if you can get the XML source correct.
Our current calendar source is coming from Filemaker where all the dates and events are held in a database. Are there some instructions for how I would need to structure the XML file, and how the script is used?
[quote]Our current calendar source is coming from Filemaker where all the dates and events are held in a database. Are there some instructions for how I would need to structure the XML file, and how the script is used?
[right][post=“14327”]<{POST_SNAPBACK}>[/post][/right][/quote]
If you submit a support request, someone can investigate the correct XML structure required to create a new calendar event for you. I don’t believe there is any existing documentation (except for the source code of Matrix itself!)
Will do, thanks!
[quote]Will do, thanks!
[right][post=“14336”]<{POST_SNAPBACK}>[/post][/right][/quote]
Are you running v3.12, btw? Because there is a shortcut for this. In v3.12, the scripts/import directory, there is an export_to_xml.php script. If you point this as at a folder that contains events, it’ll blow out the XML required to create those events. You can then see the XML format required to create a new event. 
If you do use this method, be aware that the script generates the XML to create the assets at the beginning and then sets the attributes of the assets after all of them have been created. If you want to see what a single event would look like then try to run the export script only on a single event. You’ll be amazed at how much XML is required. 
Yes, we are using 3.12. This seems like it will be alot of work, but I will try.
Seems like I can export XML out of Filemaker, but it will be a nightmare to get the fields correct…
I only see indent_list_to_xml.php is this the correct one?