function convert()
{
// Get WXR
$output = $this->queryWxr();
if (!$output) {
return false;
}
// Save WXR as file in exports folder
$filename = $this->timestampedFileName('.xml');
file_put_contents($filename, $output);
$this->outputPath = $filename;
return true;
}