Repository navigation
Home
This tool cleans the WordPress XML exports (WXR) of news.uams.edu and the inside.uams.edu news archive before the Statamic importer in UAMS-Web/uams-statamic reads them. It strips legacy table layouts and Microsoft Word paste noise, and it can drop duplicate posts. It runs offline on export files and never changes a live site.
Warning: this is not a general-purpose WordPress tool. Every rule encodes the legacy markup of those two sites as they stood in May and June 2026. Running it on another site, or on their later content, is unsupported and may damage the content.
This wiki holds the walkthrough, the task guides, the reference and troubleshooting. The README keeps the overview, the requirements, installation and the development notes.
-
Installation (README): PHP 8.4 and
composer install. - Cleaning an export: clean one export file and publish the result.
- Removing duplicate posts: apply a disposition, rebuild the news.uams.edu sets and write their redirects.
- Troubleshooting: one entry per error or warning the commands print, with its cause and fix.
-
Commands:
wxr-cleanup,build-duplicate-dispositionandwxr-redirect-pairs, their arguments, output and exit status. - Cleanup rules: every rule, in the order the pipeline runs it.
- Disposition file: the duplicate disposition format and the redirect pairs written from it.
- Project: where the tool is developed, how it is tested, and how to report a problem.
Home | Cleaning an export | Guides | Troubleshooting | Reference | README | Repository
Written against main after v2.1.0. Edit these pages in docs/wiki/ through a pull request; edits made in the wiki are overwritten by the next publish.
Getting started
Guides
Troubleshooting
Reference
Project