Automatic Asset Create Script

Hi all,


I am currently developing some external applications that output pages into the Matrix file system. i.e they create some html and save it into the data/private/assets/bodycopy_div/'asset_id'/content_file.php file.



The problem is that as they are dynamic I am unaware of how many standard pages will be needed within Matrix.



Does a php script exist to create Matrix assets from the CLI. I could then use that if a new page is required.



It would be a real help.



Thanks,

R_M

In RC2, there is a script inside mysource_matrix/scripts/import called "create_pages.php" which could be modified to do what you need.


However, I'm unsure why you're creating content_file.php files – Matrix will do this itself if/when it needs it. You should rather work on a system that creates an asset with Matrix and the populates that asset using the proper Matrix API calls.

When will RC2 be released Avi?

RC2 has been completed and is now ready for release. Test upgrades are currently being done for some clients. Once we have an upgrade procedure from RC1 to RC2 we will release RC2 on the web site.

Is there any word on when the developer/API docs will be available?

The only developer docs that will be available at this time are the automatically generated API docs based on the internal code comments. This will be available in CHM and HTML format. They should be ready by the RC2 release.