Skip to content

Instantly share code, notes, and snippets.

View larsemil's full-sized avatar
🏅
plain awesome

Emil Österlund larsemil

🏅
plain awesome
View GitHub Profile
@chrismeller
chrismeller / wxr-parser.php
Last active December 13, 2015 16:39
Crappy WXR Parser using PHP DOM
<?php
date_default_timezone_set('UTC');
error_reporting(-1);
ini_set('display_errors', true);
$file = '/Users/chris/Downloads/wordpress-wxr-example.xml';