<!--#include file="inc/config.asp" -->
<!--#include file="inc/helpers.asp" -->
<!--#include file="inc/sitemap-helpers.asp" -->
<%
Response.Buffer = True
Response.Clear
Response.CodePage = 65001
Response.CharSet = "utf-8"
Response.ContentType = "application/xml"

Dim baseUrl

baseUrl = SitemapSiteUrl()

Response.Write "<?xml version=""1.0"" encoding=""UTF-8""?>" & vbCrLf
Response.Write "<sitemapindex xmlns=""http://www.sitemaps.org/schemas/sitemap/0.9"">" & vbCrLf

Response.Write "  <sitemap>" & vbCrLf
Response.Write "    <loc>" & SitemapXmlEscape(baseUrl & "/sitemap-pages.xml") & "</loc>" & vbCrLf
Response.Write "    <lastmod>" & SITEMAP_FALLBACK_LASTMOD & "</lastmod>" & vbCrLf
Response.Write "  </sitemap>" & vbCrLf

Response.Write "  <sitemap>" & vbCrLf
Response.Write "    <loc>" & SitemapXmlEscape(baseUrl & "/sitemap-posts.xml") & "</loc>" & vbCrLf
Response.Write "    <lastmod>" & SITEMAP_FALLBACK_LASTMOD & "</lastmod>" & vbCrLf
Response.Write "  </sitemap>" & vbCrLf

Response.Write "  <sitemap>" & vbCrLf
Response.Write "    <loc>" & SitemapXmlEscape(baseUrl & "/sitemap-categories.xml") & "</loc>" & vbCrLf
Response.Write "    <lastmod>" & SITEMAP_FALLBACK_LASTMOD & "</lastmod>" & vbCrLf
Response.Write "  </sitemap>" & vbCrLf

Response.Write "  <sitemap>" & vbCrLf
Response.Write "    <loc>" & SitemapXmlEscape(baseUrl & "/sitemap-tags.xml") & "</loc>" & vbCrLf
Response.Write "    <lastmod>" & SITEMAP_FALLBACK_LASTMOD & "</lastmod>" & vbCrLf
Response.Write "  </sitemap>" & vbCrLf

Response.Write "</sitemapindex>" & vbCrLf
Response.End
%>
