From abcab1b57d6bc3e6e44ff4d143f33bee8cc15a4d Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 6 Dec 2022 22:13:01 -0500 Subject: themes/default/layouts/_default/sitemap.xml: Add schema and transform Validate with schema. Switch to xml-data identifier attribute and adjust file name-spacing in configuration --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index b952bf2..937cd02 100644 --- a/Makefile +++ b/Makefile @@ -47,7 +47,11 @@ test-xml: test-rss: xmllint --noout --relaxng assets/schemas/rss-v2.0.rng public/rss.xml -# xmllint --noout --schema assets/schemas/rss-v2.0.xsd public/rss.xml +# xmllint --noout --schema assets/schemas/rss-v2.0.xsd public/rss.xml + +test-sitemap: + xmllint --noout --schema assets/schemas/sitemap-v0.9.xsd public/sitemap.xml +# xmllint --noout --schema assets/schemas/sitemapindex-v0.9.xsd public/sitemap.xml test-jsonfeed: check-jsonschema --schemafile assets/schemas/jsonfeed-v1.1.json public/index.json -- cgit v1.2.3