<?php
/**
 * Semantic Sitemap default template
 *
 * @author Sebastian Dietzold <sebastian@dietzold.de>
 * @copyright  Copyright (c) 2008, {@link http://aksw.org AKSW}
 * @license    http://opensource.org/licenses/gpl-license.php GNU General Public License (GPL)
 * @version $Id: $
 */

// to avoid problems with these nasty short open tags ...
echo '<?xml version="1.0" encoding="UTF-8"?>'. PHP_EOL;
?>
<!-- Semantic Sitemap generated by <?php echo $this->appname ?> <?php echo $this->version ?> -->
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
	xmlns:sc="http://sw.deri.org/2007/07/sitemapextension">
<?php foreach ($this->datasets as $dataset): ?>
	<sc:dataset>
		<sc:datasetURI><?php echo $dataset['datasetURI'] ?></sc:datasetURI>
		<sc:datasetLabel><?php echo $dataset['datasetLabel'] ?></sc:datasetLabel>
		<sc:sparqlEndpoint><?php echo $dataset['sparqlEndpoint'] ?></sc:sparqlEndpoint>
		<sc:sparqlGraphName><?php echo $dataset['sparqlGraphName'] ?></sc:sparqlGraphName>
		<sc:sparqlEndpointLocation><?php echo $dataset['sparqlEndpointLocation'] ?></sc:sparqlEndpointLocation>
		<sc:dataDump><?php echo $dataset['dataDump'] ?></sc:dataDump>
	</sc:dataset>
<?php endforeach; ?>
</urlset>
