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

Import to Xerte

Plus d'informations
il y a 7 ans 3 mois #5702 par ymoore
Import to Xerte a été créé par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 2 mois - il y a 7 ans 2 mois #5722 par Fay
Réponse de Fay sur le sujet 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
Dernière édition: il y a 7 ans 2 mois par Fay.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 2 mois #5723 par ronm
Réponse de ronm sur le sujet 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/

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 2 mois - il y a 7 ans 2 mois #5724 par ymoore
Réponse de ymoore sur le sujet 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
Pièces jointes :
Dernière édition: il y a 7 ans 2 mois par ymoore.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 2 mois - il y a 7 ans 2 mois #5725 par ronm
Réponse de ronm sur le sujet 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/
Dernière édition: il y a 7 ans 2 mois par ronm. Raison: typo

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 7 ans 2 mois #5726 par ymoore
Réponse de ymoore sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: JohnSmith
Temps de génération de la page : 0.451 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo