Actions

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

From Mahara Wiki

< Developer Area‎ | Import//Export‎ | LEAP Export
Line 1: Line 1:
The blog artefact plugin hooks into the [[Developer Area/Import//Export/LEAP Export|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.
+
http://wiki.mahara.org/Developer_Area/Import%2f%2fExport/LEAP_Export
 +
http://wiki.cetis.ac.uk/2009-03/LEAP2A_types#entry
 +
http://wiki.cetis.ac.uk/2009-03/LEAP2A_categories/readiness#Unready
 +
http://wiki.cetis.ac.uk/2009-03/LEAP2A_types#selection
 +
http://wiki.cetis.ac.uk/2009-03/LEAP2A_categories/selection_type#Blog
 +
http://git.mahara.org/?p=mahara.git;a=blob;f=htdocs/artefact/blog/export/leap/lib.php;hb=HEAD
 +
http://wiki.mahara.org/Developer_Area/Import%2f%2fExport/LEAP_Import/Blog_Artefact_Plugin
 +
The blog artefact plugin hooks into the [[Developer Area/Import%2f%2fExport/LEAP Export|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.
  
 
<div id="section_1">
 
<div id="section_1">
Line 21: Line 28:
  
 
* [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] 
* [[Developer Area/Import//Export/LEAP Import/Blog Artefact Plugin|LEAP Blog Import]] 
+
* [[Developer Area/Import%2f%2fExport/LEAP Import/Blog Artefact Plugin|LEAP Blog Import]] 
  
 
</div>
 
</div>

Revision as of 17:06, 12 May 2011

http://wiki.mahara.org/Developer_Area/Import%2f%2fExport/LEAP_Export http://wiki.cetis.ac.uk/2009-03/LEAP2A_types#entry http://wiki.cetis.ac.uk/2009-03/LEAP2A_categories/readiness#Unready http://wiki.cetis.ac.uk/2009-03/LEAP2A_types#selection http://wiki.cetis.ac.uk/2009-03/LEAP2A_categories/selection_type#Blog http://git.mahara.org/?p=mahara.git;a=blob;f=htdocs/artefact/blog/export/leap/lib.php;hb=HEAD http://wiki.mahara.org/Developer_Area/Import%2f%2fExport/LEAP_Import/Blog_Artefact_Plugin 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.