in Atom (RFC4287) an atomTextConstruct specifies the type text as the default - www.codemadness.org - www.codemadness.org saait content files
(HTM) git clone git://git.codemadness.org/www.codemadness.org
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 60ab7dddfcf67ddb25ad562c9979a8ac3e8fe464
(DIR) parent 12c41c52b1abe90474dddf954ef19400b32979f4
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Mon, 10 Apr 2023 12:23:21 +0200
in Atom (RFC4287) an atomTextConstruct specifies the type text as the default
This saves a few bytes.
Diffstat:
M templates/atom.xml/header.xml | 4 ++--
M templates/atom.xml/item.xml | 4 ++--
M templates/atom_content.xml/header.… | 4 ++--
M templates/atom_content.xml/item.xml | 4 ++--
4 files changed, 8 insertions(+), 8 deletions(-)
---
(DIR) diff --git a/templates/atom.xml/header.xml b/templates/atom.xml/header.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="${lang}">
- <title type="text">${sitetitle}</title>
- <subtitle type="text">${description}</subtitle>
+ <title>${sitetitle}</title>
+ <subtitle>${description}</subtitle>
<updated>${siteupdated}T00:00:00Z</updated>
<link rel="alternate" type="text/html" href="${siteurl}" />
<id>${siteurl}/atom.xml</id>
(DIR) diff --git a/templates/atom.xml/item.xml b/templates/atom.xml/item.xml
@@ -1,5 +1,5 @@
<entry>
- <title type="text">${title}</title>
+ <title>${title}</title>
<link rel="alternate" type="text/html" href="${siteurl}/${filename}" />
<id>${siteurl}/${filename}</id>
<updated>${updated}T00:00:00Z</updated>
@@ -8,5 +8,5 @@
<name>${author}</name>
<uri>${siteurl}</uri>
</author>
- <summary type="text">${description}</summary>
+ <summary>${description}</summary>
</entry>
(DIR) diff --git a/templates/atom_content.xml/header.xml b/templates/atom_content.xml/header.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="${lang}">
- <title type="text">${sitetitle}</title>
- <subtitle type="text">${description}</subtitle>
+ <title>${sitetitle}</title>
+ <subtitle>${description}</subtitle>
<updated>${siteupdated}T00:00:00Z</updated>
<link rel="alternate" type="text/html" href="${siteurl}" />
<id>${siteurl}/atom_content.xml</id>
(DIR) diff --git a/templates/atom_content.xml/item.xml b/templates/atom_content.xml/item.xml
@@ -1,5 +1,5 @@
<entry>
- <title type="text">${title}</title>
+ <title>${title}</title>
<link rel="alternate" type="text/html" href="${siteurl}/${filename}" />
<id>${siteurl}/${filename}</id>
<updated>${updated}T00:00:00Z</updated>
@@ -8,7 +8,7 @@
<name>${author}</name>
<uri>${siteurl}</uri>
</author>
- <summary type="text">${description}</summary>
+ <summary>${description}</summary>
<content type="html"><![CDATA[<h1>${title}</h1>
<p><strong>Last modification on </strong> <time>${updated}</time></p>
%{contentfile}]]></content>