Export posts and pages into xml