Actions

Developer Area/Import//Export/LEAP Export/Internal Artefact Plugin

From Mahara Wiki

< Developer Area‎ | Import//Export‎ | LEAP Export
Revision as of 18:56, 9 May 2011 by Brettwilkins (talk | contribs) (Created page with "The internal artefact plugin hooks into the LEAP export system to export all profile related artefacts. Due to profile artefacts not…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

The internal artefact plugin hooks into the LEAP export system to export all profile related artefacts. Due to profile artefacts not mapping nicely to entries - in fact, most profile artefacts become persondata elements within an entry - this plugin generates its own XML for most of them.

Export Strategy

Apart from the Occupation and Industry profile fields, all artefacts are exported in a LEAP2A person entry. This entry always has the id portfolio:artefactinternal, and is referenced by the tag for the feed. Inside this entry are leap:persondata elements for most of Mahara's profile fields. The address fields are exported in a leap:spatial element.

Profile icons are linked to this element using a related link type. These are the only links created for the person entry.