Remove dead xhtml5 validation site
This commit is contained in:
parent
111111058d
commit
429946c8f3
10
Makefile
10
Makefile
|
@ -104,12 +104,6 @@ endef
|
|||
.PHONY: www
|
||||
www: $(XML_CATALOG) $(CONTENT)
|
||||
$(RSYNC) $(RSYNC_FLAGS) --exclude=".stamp-*" content/static/ content/old-site/ build/ $@
|
||||
@echo
|
||||
@echo
|
||||
@echo 'Great!'
|
||||
@echo
|
||||
@echo 'You may now run `make -j3 xhtml5-validate` to make sure everything fits.'
|
||||
@echo
|
||||
|
||||
.PHONY: export
|
||||
export: www
|
||||
|
@ -359,10 +353,6 @@ build/datenspuren/$(DS_YEAR)/pois.json:
|
|||
#build/autotopia/%.html: content/autotopia/%.xml $(AUTOTOPIA_STYLE) autotopia-events.xml
|
||||
# $(call xml_process)
|
||||
|
||||
xhtml5-validate: $(patsubst build/%.html, build/%.html.xhtml5-validate, $(CONTENT))
|
||||
build/%.html.xhtml5-validate: build/%.html
|
||||
./scripts/validate_xhtml5.sh $<
|
||||
|
||||
### Die neuesten Chaosupdates holen ###
|
||||
#$(WWW_CCC_DE_UPDATES).orig: $(DATESTAMP)
|
||||
# $(RM) $@
|
||||
|
|
|
@ -1,12 +0,0 @@
|
|||
#!/bin/sh
|
||||
|
||||
text=$(curl -s -d @$1 -H "Content-Type: application/xhtml+xml; charset=UTF-8" 'http://validator.nu/?out=text&preset=http://s.validator.nu/xhtml5-aria-rdf-svg-mathml.rnc+http://s.validator.nu/html5/assertions.sch+http://c.validator.nu/all/')
|
||||
|
||||
if [ -n "$(echo "$text"|grep "The document validates according to the specified schema(s).")" ]; then
|
||||
exit 0
|
||||
else
|
||||
echo "=== $1 ==="
|
||||
echo "$text"
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
Reference in New Issue