#152 - Improve XML import/export
| Identifier | #152 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Improve XML import/export |
| Status | Completed |
| Handling member | Chris Graham |
| Addon | import |
| Description | Implement better tying-in of dependent records, via XML nesting:
- meta table records - permissions records Provide special handlers, using hooks, for the following content types: - catalogue structure - CPFs |
| Steps to reproduce | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
There's a lot of work that can be done to improve things here.
1) Instead of exporting member ID's, export usernames
2) Merge in sources_custom/relations.php into our future upgraded content_meta_aware API (and hopefully the meta stuff in modules too - as modules should not define data schema). Each hook should be able to list table fields dependant on it's IDs. Any key entities will of course have to have a content_meta_aware hook (E.g. banner types, banners, topic polls, cedi posts, even menu items).
3) Using the dependency references, the XML exporter should be able to computer automatically what order to export in.
4) In addition to the permissions/seo-meta stuff already done there is: attachments (not yet defined in meta_content_aware hooks), awards (ditto), tracking (ditto), ratings, trackbacks, comment topics/reviews, member level permissions (msp, member_category_access), url monikers, point store permissions
This is a huge undertaking though.