<?xml version="1.0" encoding="UTF-8"?>
<?php
header('Content-Type: application/xml; charset=utf-8');
$today = date('Y-m-d');
?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
        xmlns:xhtml="http://www.w3.org/1999/xhtml">

  <!-- English version (default) -->
  <url>
    <loc>https://joostgeertsen.nl/</loc>
    <xhtml:link rel="alternate" hreflang="en"        href="https://joostgeertsen.nl/"/>
    <xhtml:link rel="alternate" hreflang="nl"        href="https://joostgeertsen.nl/nl/"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://joostgeertsen.nl/"/>
    <lastmod><?= $today ?></lastmod>
    <changefreq>monthly</changefreq>
    <priority>1.0</priority>
  </url>

  <!-- Dutch / Nederlandse versie -->
  <url>
    <loc>https://joostgeertsen.nl/nl/</loc>
    <xhtml:link rel="alternate" hreflang="nl"        href="https://joostgeertsen.nl/nl/"/>
    <xhtml:link rel="alternate" hreflang="en"        href="https://joostgeertsen.nl/"/>
    <xhtml:link rel="alternate" hreflang="x-default" href="https://joostgeertsen.nl/"/>
    <lastmod><?= $today ?></lastmod>
    <changefreq>monthly</changefreq>
    <priority>0.9</priority>
  </url>

</urlset>