mirror of
https://github.com/wilr/silverstripe-googlesitemaps.git
synced 2024-10-22 11:05:48 +02:00
8bbc14ee23
Misc upgrade of module code so that site map.xml provides a index site map file based on the standards. Moved configuration vars to the Config API. Considering how large a change this is, I've branched a 1.0 release off in github.
7 lines
310 B
Scheme
7 lines
310 B
Scheme
<?xml version="1.0" encoding="UTF-8"?>
|
|
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"><% loop Sitemaps %>
|
|
<sitemap>
|
|
<loc>{$BaseHref}sitemap.xml/sitemap/$ClassName/$Page.xml</loc>
|
|
<% if LastModified %><lastmod>$LastModified</lastmod><% end_if %>
|
|
</sitemap><% end_loop %>
|
|
</sitemapindex> |