mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
18 lines
818 B
Scheme
18 lines
818 B
Scheme
<?xml version="1.0" encoding="UTF-8"?>
|
|
<?xml-stylesheet type='text/xsl' href='$StylesheetPath'?>
|
|
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1">
|
|
<% loop $Items %>
|
|
<url>
|
|
<loc>$AbsoluteLink</loc>
|
|
<% if $LastEdited %><lastmod>$LastEdited.Rfc3339()</lastmod><% end_if %>
|
|
<% if $ChangeFrequency %><changefreq>$ChangeFrequency</changefreq><% end_if %>
|
|
<% if $GooglePriority %><priority>$GooglePriority</priority><% end_if %>
|
|
<% if $ImagesForSitemap %><% loop $ImagesForSitemap %>
|
|
<image:image>
|
|
<image:loc>{$AbsoluteLink}</image:loc>
|
|
</image:image>
|
|
<% end_loop %><% end_if %>
|
|
</url>
|
|
<% end_loop %>
|
|
</urlset>
|