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 ${OUT}/*.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>