mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-09-02 07:48:00 +02:00
Changes in Files: * Sitemap.php - controller for the sitemap, new * Sitemap.ss - template for the sitemap, new * main.php - added director rule * SiteTree?.php - added 'priority' database field, cms code to override priority TODO: ping google when the sitemap is updated, namely when pages are added / removed, or when a priority is overridden git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@41689 467b73ca-7a2a-4603-9d3b-597d59a354a9
13 lines
483 B
Scheme
Executable File
13 lines
483 B
Scheme
Executable File
<?xml version="1.0" encoding="UTF-8"?>
|
|
<urlset xmlns="http://www.google.com/schemas/sitemap/0.84"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xsi:schemaLocation="http://www.google.com/schemas/sitemap/0.84">
|
|
<% control Items %>
|
|
<url>
|
|
<loc>$AbsoluteLink</loc>
|
|
<lastmod>$LastEdited.Format(c)</lastmod>
|
|
<% if ChangeFreq %><changefreq>$ChangeFreq</changefreq><% end_if %>
|
|
<% if Priority %><priority>$Priority</priority><% end_if %>
|
|
</url>
|
|
<% end_control %>
|
|
</urlset> |