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

TOPIC:

Import to Xerte 4 years 10 months ago #5702

  • ymoore
  • ymoore's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 94
  • Thank you received: 6
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

Please Log in or Create an account to join the conversation.

Import to Xerte 4 years 10 months ago #5722

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

Fay

Please Log in or Create an account to join the conversation.

Last edit: by Fay.

Import to Xerte 4 years 10 months ago #5723

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 841
  • Thank you received: 245
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
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Log in or Create an account to join the conversation.

Import to Xerte 4 years 10 months ago #5724

  • ymoore
  • ymoore's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 94
  • Thank you received: 6
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:

Please Log in or Create an account to join the conversation.

Last edit: by ymoore.

Import to Xerte 4 years 10 months ago #5725

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 841
  • Thank you received: 245
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
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Log in or Create an account to join the conversation.

Last edit: by ronm. Reason: typo

Import to Xerte 4 years 10 months ago #5726

  • ymoore
  • ymoore's Avatar Topic Author
  • Offline
  • Administrator
  • Administrator
  • Posts: 94
  • Thank you received: 6
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.

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: jjs
Time to create page: 0.070 seconds
Copyright © 2024 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search