Actions

Developer Area/Import//Export/LEAP Export/Blog Artefact Plugin: Difference between revisions

From Mahara Wiki

< Developer Area‎ | Import//Export‎ | LEAP Export
(Created page with "The blog artefact plugin hooks into the LEAP export system to export blogs, blog posts, and links to blog post attachments. This pl…")
 
No edit summary
Line 3: Line 3:
<div id="section_1">
<div id="section_1">


== Blog Posts ==
==Blog Posts==


These are exported as [http://wiki.cetis.ac.uk/2009-03/LEAP2A_types#entry LEAP2A entries], with the following customisations:
These are exported as [http://wiki.cetis.ac.uk/2009-03/LEAP2A_types#entry LEAP2A entries], with the following customisations:
Line 12: Line 12:
</div><div id="section_2">
</div><div id="section_2">


== Blogs ==
==Blogs==


These are exported as [http://wiki.cetis.ac.uk/2009-03/LEAP2A_types#selection LEAP2A selections] with [http://wiki.cetis.ac.uk/2009-03/LEAP2A_categories/selection_type#Blog selection_type:Blog].
These are exported as [http://wiki.cetis.ac.uk/2009-03/LEAP2A_types#selection LEAP2A selections] with [http://wiki.cetis.ac.uk/2009-03/LEAP2A_categories/selection_type#Blog selection_type:Blog].
Line 18: Line 18:
</div><div id="section_3">
</div><div id="section_3">


== Further Information ==
==Further Information==


* [http://git.mahara.org/?p=mahara.git;a=blob;f=htdocs/artefact/blog/export/leap/lib.php;hb=HEAD artefact/blog/export/leap/lib.php in source control] 
* [http://git.mahara.org/?p=mahara.git;a=blob;f=htdocs/artefact/blog/export/leap/lib.php;hb=HEAD artefact/blog/export/leap/lib.php in source control] 

Revision as of 16:15, 11 Mayıs 2011

The blog artefact plugin hooks into the LEAP export system to export blogs, blog posts, and links to blog post attachments. This plugin just overrides LeapExportElement for the blog and blogpost artefact types.

Blog Posts

These are exported as LEAP2A entries, with the following customisations:

  • Anything attached to a post is added as a link of type has_attachment (this is subject to change - has_attachment is not a valid LEAP2A relationship).
  • If the post is a draft, it gets exported with the LEAP category readiness:Unready 

Blogs

These are exported as LEAP2A selections with selection_type:Blog.