parseRecursive('http://www.google.com/robots.txt');
    echo '
Sitemaps
';
    foreach ($parser->getSitemaps() as $url => $tags) {
        echo 'URL: ' . $url . '
';
        echo 'LastMod: ' . $tags['lastmod'] . '
';
        echo '
';
    }
    echo 'URLs
';
    foreach ($parser->getURLs() as $url => $tags) {
        echo 'URL: ' . $url . '
';
        echo 'LastMod: ' . $tags['lastmod'] . '
';
        echo 'ChangeFreq: ' . $tags['changefreq'] . '
';
        echo 'Priority: ' . $tags['priority'] . '
';
        echo '
';
    }
} catch (SitemapParserException $e) {
    echo $e->getMessage();
}