summaryrefslogtreecommitdiff
path: root/http/src/sitemap.uppxml
blob: bfcf8d83d29511ff73256733382b502699bc0627 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns='http://www.sitemaps.org/schemas/sitemap/0.9'>
#!
for f in $(find "${OUT}" -name "*.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>