Skip to content

Instantly share code, notes, and snippets.


Sveinbjörn J. Tryggvason svenni

View GitHub Profile
svenni / gist:9315949
Created Mar 3, 2014
Dumping wordpress db's exported as xml's into tinkerer
View gist:9315949
import xml.etree.ElementTree as ET
import subprocess
import unicodedata
import os
#posts = 'wp_posts.xml'
#termrel = 'wp_term_relationships.xml'
#terms = 'wp_terms.xml'
destination_folder = '/Users/sjt/dev/python/tinkertest/input'
You can’t perform that action at this time.