Actions

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

From Mahara Wiki

< Developer Area‎ | Import//Export‎ | LEAP Export
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
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.
 
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.
  
Line 31: Line 24:
  
 
</div>
 
</div>
 +
[[Category:Developer Area]][[Category:Plugins]]

Latest revision as of 16:37, 16 May 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.