diff options
| author | yctct <yctct@yctct.com> | 2026-04-22 16:44:37 +0200 |
|---|---|---|
| committer | yctct <yctct@yctct.com> | 2026-04-22 16:44:37 +0200 |
| commit | badd07e40c80bcf8252e20b2df87af0f197f3ce1 (patch) | |
| tree | 84e34e4787820e3e690bb722645fdb3a3828ddb0 /share/sitemap.uppxml | |
First commit, add files
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> |
