From d47a93e10a7d049ef58827dd6e4c0adff1a2e2ae Mon Sep 17 00:00:00 2001 From: vv01f Date: Tue, 19 Jul 2022 18:54:07 +0200 Subject: [PATCH] add new attribute and comments --- sort.xsl | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/sort.xsl b/sort.xsl index b708b59..c15915c 100644 --- a/sort.xsl +++ b/sort.xsl @@ -7,8 +7,9 @@ <!DOCTYPE schleudern [ <!ELEMENT schleudern (schleuder)><!-- wrapper --> -<!ELEMENT schleuder (date,image,link,filesize,teaser,preface,references,info)><!-- issue --> -<!ATTLIST schleuder id CDATA #REQUIRED> +<!ELEMENT schleuder (date,image,link,filesize,teaser,preface,references,info)><!-- issue date (print) --> +<!ATTLIST schleuder id CDATA #REQUIRED><!-- issue number --> +<!ATTLIST schleuder printonly CDATA #IMPLIED><!-- marking for not (yet) downloadable issues --> <!ELEMENT date (#PCDATA)><!-- date of publication, https://www.w3.org/Protocols/rfc822/ as in cli `date -R` or 'Thu, 02 May 2019 23:01:34 +0200' --> <!ELEMENT image (#PCDATA)><!-- usually the cover page --> <!ELEMENT link (#PCDATA)><!-- file location or fallback link, here attachments for rss and linked files for download --> @@ -17,7 +18,7 @@ <!ELEMENT teaser (#PCDATA)><!-- short hint on recent print and newest issue online --> <!ELEMENT preface (#PCDATA)><!-- link to preface, html byproduct of ePUB workflow --> <!ELEMENT references (#PCDATA)><!-- link to references, html byproduct of ePUB workflow --> -<!ELEMENT info (#PCDATA)><!-- short information in between two issues, added as child to the last published issue, newest first --> +<!ELEMENT info (#PCDATA)><!-- short information in between two issues, e.g. digital release, added as child to the last published issue, newest first --> <!ATTLIST info date CDATA #IMPLIED><!-- date for information, if missing the date of the parent schleuder will be used --> <!ENTITY PUBLISHER "Chaos Computer Club"> @@ -33,7 +34,11 @@ - + + + + +