Forums | Mahara Community
Developers
/
Wordpress to Mahara
06 March 2015, 6:08
I am wondering if there is anyway to export wordpress content (htm, xml) to Mahara either via Leap2A or otherwise?
My institution has used Wordpress in the past for ePortfolios and we now have legacy content sitting on wp blogs. I was hoping that there was an easy way to import this content in?
Cheers,
Elanor.
06 March 2015, 10:10
Hi Elanor,
There's no existing work in that area that I'm aware of. Although it should certainly be possible for a developer to implement it.
Cheers,
Aaron
06 March 2015, 11:30
It looks like you can export from wordpress as xml http://codex.wordpress.org/Tools_Export_Screen
And the leap2a import is xml as well so could be possible to take export from wordpress and edit the xml file to be compatible with leap2a
But again that would take some development work
Cheers
Robert
06 March 2015, 14:53
I tried to post example code for lead2a vs. wordpress, but Mahara strips away the xml even when it is surrounded by "pre" tags. That makes no sense, but that is another issue.
Most likely the best way to handle this would be to just create a GUI that shows all of the leap2a fields that are needed for a blog (if that what the final data is being imported into). Then the user just maps the fields they are including with those in Leap2a. That way the importer is completely generic. Any valid XML file can be accepted, even a file created by the end user manually.
Another option is the following. WordPress has the ability to add blog posts through
http://<Enter your blog URL here>/xmlrpc.php
Mahara can create something similar.
http://codex.wordpress.org/XML-RPC_Support
Melissa
06 March 2015, 22:45
Thanks Melissa,
I think I'll have to do a bit more digging around with this one!
Elanor
07 March 2015, 2:54
Not to discourage Mahara on a Mahara forum ... but just so you know, there is a way to make a WordPress blog restricted to just a couple of IP addresses. That is what I use for my WordPress blog that I use as a student portfolio. But then it becomes an issue if you need to send links to a college. Or you could just create a "college" login that is read only.
The WordPress plugin is https://wordpress.org/plugins/restricted-site-access/screenshots/
I only have a couple of students (3 students), so I went with the restricted WordPress route over Mahara.
Mahara is a great product, but it did not work for my students. One prefers to just write his blog entries in MS Word and "send them to his blog". The other just prefers the interface of WordPress better, especially the ease of creating "feature images". Not to mention the ease of creating templates in WordPress and the vast number of choose from.
It makes me wonder if Mahara should just take WordPress and then exchange their security setup with WordPress's.