Introduction
Introduction Statistics Contact Development Disclaimer Help
in Atom (RFC4287) an atomTextConstruct specifies the type text as the default -…
git clone git://git.codemadness.org/saait
Log
Files
Refs
README
LICENSE
---
commit 4e687c03f39d0bf6cc2f4ee4657691cc970b2240
parent 72e89233016f5f860c77166b5f63e62c7e04d253
Author: Hiltjo Posthuma <[email protected]>
Date: Mon, 10 Apr 2023 12:28:03 +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(-)
---
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>
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>
diff --git a/templates/atom_content.xml/header.xml b/templates/atom_content.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>
diff --git a/templates/atom_content.xml/item.xml b/templates/atom_content.xml/i…
@@ -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>
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.