Welcome, Guest
Username: Password: Remember me
The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

TOPIC: Import to Xerte

Import to Xerte 2 weeks 6 days ago #5702

  • Yvonne Moore
  • Yvonne Moore's Avatar
  • Offline
  • Junior Boarder
  • Posts: 26
Hi

Is there any easy way (not copy/paste) to transfer content saved in HTML or XML format into a Xerte object (XOT or Bootstrap)?

We have some content saved in Confluence that we want to move to a more suitable platform. So far it's possible to move the content to a Moodle Book quite easily, but we wondered if it's possible to move it to Xerte instead.

Thanks
Yvonne
The administrator has disabled public write access.

Import to Xerte 6 days 22 hours ago #5722

  • Fay
  • Fay's Avatar
  • Offline
  • Expert Boarder
  • Posts: 149
  • Thank you received: 47
Im afraid it would just have to be done with copy & paste - there's no automatic way of doing this in Xerte

Fay
Last Edit: 6 days 22 hours ago by Fay.
The administrator has disabled public write access.

Import to Xerte 6 days 21 hours ago #5723

  • Ron Mitchell
  • Ron Mitchell's Avatar
  • Offline
  • Administrator
  • Posts: 509
  • Thank you received: 121
Can you provide more detail with example html and xml saved from confluence?

Are you talking about somehow importing multiple pages complete with navigation or more simple pages one at a time?
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk
xerteacademy.com
learningapps.co.uk
The administrator has disabled public write access.

Import to Xerte 6 days 21 hours ago #5724

  • Yvonne Moore
  • Yvonne Moore's Avatar
  • Offline
  • Junior Boarder
  • Posts: 26
I've attached a screenshot to show the folder for each (HTML and XML) when we export from Confluence.

There's quite a lot of content so the copy/paste option isn't really viable.

My colleague has managed to create Moodle Books from the XML which is why I wondered if it was also possible to do something in Xerte. There are multiple pages.

Thanks
Attachments:
Last Edit: 6 days 21 hours ago by Yvonne Moore.
The administrator has disabled public write access.

Import to Xerte 6 days 21 hours ago #5725

  • Ron Mitchell
  • Ron Mitchell's Avatar
  • Offline
  • Administrator
  • Posts: 509
  • Thank you received: 121
A screenshot isn't enough to assess whether this is viable or not but here's a very theoretical workflow depending on how complex the xml is.

1. Create a Bootstrap project that resembles what you might want the imported structure to look like
2. Export that project and look at the xml
3. Compare the xerte xml and confluence xml and see if there is a way you could use find and replace on the confluence xml to add what Xerte would require so that you end up with an xml file that has what Xerte requires but also the relevant content from the confluence xml. Including finding and replacing media paths so they work with the Xerte structure.
4. Copy the media to the exported media folder.
5. zip up the project and import back to Xerte as a new project and fix any broken sections/paths etc.
6. Repeat for the other confluence exports.

As I say this is only theory and it may well be that it's impossible to achieve because the xml from confluence is too complex to use find and replace etc. But I would imagine your colleague has done something similar with the conversion to Moodle books at least as far as changing custom xml tags so that they match what is required.

If this works for you in any way please post back to let us know.

HTH
Ron
Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk
xerteacademy.com
learningapps.co.uk
Last Edit: 6 days 21 hours ago by Ron Mitchell. Reason: typo
The administrator has disabled public write access.

Import to Xerte 6 days 20 hours ago #5726

  • Yvonne Moore
  • Yvonne Moore's Avatar
  • Offline
  • Junior Boarder
  • Posts: 26
Thanks Ron, that gives me some clue where to start. I appreciate the details are a bit vague.

I don't have access to the actual content to share the xml (I just exported a few pages of my own content to see what it looked like). The XML just from this is fairly extensive!

I'll post back if we manage it. Thanks again.
The administrator has disabled public write access.
Moderators: John Smith
Time to create page: 0.671 seconds
Powered by Kunena Forum