Actions

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

From Mahara Wiki

< Developer Area‎ | Import//Export‎ | LEAP Export
No edit summary
No edit summary
 
(2 intermediate revisions by one other user not shown)
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.
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 21:


* [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>
[[Category:Developer Area]][[Category:Plugins]]

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