summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordefanor <defanor@uberspace.net>2018-05-10 22:07:57 +0300
committerdefanor <defanor@uberspace.net>2018-05-10 22:07:57 +0300
commita6554b9e855f518a5f8e5d0177eb4a57a52f814b (patch)
tree228035385d6e13982829628654724dffbb53d750
parente3989dd45bc5d546e3063074aa1f46f25dd14cf0 (diff)
downloadhomepage-a6554b9e855f518a5f8e5d0177eb4a57a52f814b.zip
homepage-a6554b9e855f518a5f8e5d0177eb4a57a52f814b.tar.gz
homepage-a6554b9e855f518a5f8e5d0177eb4a57a52f814b.tar.bz2
Cleanup prefixes
-rw-r--r--tools/xml-to-html.xsl10
1 files changed, 4 insertions, 6 deletions
diff --git a/tools/xml-to-html.xsl b/tools/xml-to-html.xsl
index c33a968..64efa12 100644
--- a/tools/xml-to-html.xsl
+++ b/tools/xml-to-html.xsl
@@ -14,13 +14,11 @@
<xsl:text disable-output-escaping='yes'>
&lt;!DOCTYPE html&gt;
</xsl:text>
+ <!-- Some of the prefixes are omitted, since they should be
+ available by default:
+ https://www.w3.org/2011/rdfa-context/rdfa-1.1 -->
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"
- prefix="dc: http://purl.org/dc/terms/
- rdfs: http://www.w3.org/1999/02/22-rdf-syntax-ns#
- schema: http://schema.org/
- foaf: http://xmlns.com/foaf/0.1/
- dbr: http://dbpedia.org/resource/
- sioc: http://rdfs.org/sioc/ns#
+ prefix="dbr: http://dbpedia.org/resource/
home: https://defanor.uberspace.net/"
typeof="dc:Text schema:Article foaf:Document sioc:Post">
<head>