diff options
Diffstat (limited to 'share/sitemap.uppxml')
| -rw-r--r-- | share/sitemap.uppxml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/share/sitemap.uppxml b/share/sitemap.uppxml new file mode 100644 index 0000000..478d6b4 --- /dev/null +++ b/share/sitemap.uppxml @@ -0,0 +1,21 @@ +<?xml version='1.0' encoding='UTF-8'?> +<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'> +#! +for f in *.html +do +#! +<url> +#! +loc=$1/$(basename "${f}") +#! +<loc>${loc}</loc> +#! +lastmod=$(lmt -f '%Y-%m-%dT%H:%M:%SZ' "${f}" | cut -d' ' -f1) +#! +<lastmod>${lastmod}</lastmod> +<priority>1.0</priority> +</url> +#! +done +#! +</urlset> |
