Skip to content

Instantly share code, notes, and snippets.


Aharon Varady aharonium

View GitHub Profile
aharonium /
Last active Jul 19, 2019 — forked from ruslanosipov/
Script to convert WordPress posts to plain text files
#!/usr/bin/env python
"""This script converts WXR file to a number of plain text files.
WXR stands for "WordPress eXtended RSS", which basically is just a
regular XML file. This script extracts entries from the WXR file into
plain text files. Output format: article name prefixed by date for
posts, article name for pages.
Usage: filename [-o output_dir]
You can’t perform that action at this time.