The place for more technical questions for those who want to create new pagetypes or bespoke functionality.

Import to Xerte

  • ymoore
  • Onderwerp Auteur
  • Offline
  • Administrator
  • Administrator
Meer
7 jaren 3 maanden geleden #5702 door ymoore
Import to Xerte werd gestart door ymoore
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

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
7 jaren 3 maanden geleden - 7 jaren 3 maanden geleden #5722 door Fay
Beantwoord door Fay in topic Import to Xerte
Im afraid it would just have to be done with copy & paste - there's no automatic way of doing this in Xerte

Fay
Laatst bewerkt 7 jaren 3 maanden geleden door Fay.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
7 jaren 3 maanden geleden #5723 door ronm
Beantwoord door ronm in topic Import to Xerte
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/

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • ymoore
  • Onderwerp Auteur
  • Offline
  • Administrator
  • Administrator
Meer
7 jaren 3 maanden geleden - 7 jaren 3 maanden geleden #5724 door ymoore
Beantwoord door ymoore in topic Import to Xerte
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
Bijlagen:
Laatst bewerkt 7 jaren 3 maanden geleden door ymoore.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Meer
7 jaren 3 maanden geleden - 7 jaren 3 maanden geleden #5725 door ronm
Beantwoord door ronm in topic Import to Xerte
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/
Laatst bewerkt 7 jaren 3 maanden geleden door ronm. Reden: typo

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

  • ymoore
  • Onderwerp Auteur
  • Offline
  • Administrator
  • Administrator
Meer
7 jaren 3 maanden geleden #5726 door ymoore
Beantwoord door ymoore in topic Import to Xerte
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.

Graag Inloggen of een account aanmaken deelnemen aan het gesprek.

Moderators: JohnSmith
Tijd voor maken pagina: 0.140 seconden
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo