Skip to content

A simple python script using the json and lxml libraries for converting JSON structured data to XML

Notifications You must be signed in to change notification settings

simongle/json-to-xml-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

json-to-xml-python

A simple python script using the json and lxml libraries for converting JSON structured data to XML

The larger purpose of this script it to migrate content from the Atavist publishing platform to Wordpress. The problem is that Atavist only exports to JSON, which has an array of html content split into 'chapters' as well as an object containing metadata about the publication (i.e. post date, author, revisions.)

This script uses python (specifically the lxml and json libraries) to restructure the JSON data as an XML feed that Wordpress can interpret and map fields to its own data structure.

About

A simple python script using the json and lxml libraries for converting JSON structured data to XML

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages