summaryrefslogtreecommitdiff
path: root/metadata/dtd/guide.dtd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /metadata/dtd/guide.dtd
reinit the tree, so we can have metadata
Diffstat (limited to 'metadata/dtd/guide.dtd')
-rw-r--r--metadata/dtd/guide.dtd42
1 files changed, 42 insertions, 0 deletions
diff --git a/metadata/dtd/guide.dtd b/metadata/dtd/guide.dtd
new file mode 100644
index 000000000000..4b98657be6b9
--- /dev/null
+++ b/metadata/dtd/guide.dtd
@@ -0,0 +1,42 @@
+<!ENTITY % common SYSTEM "common.dtd">
+
+%common;
+
+<!ELEMENT mainpage (title, author+, abstract?, license?, version, date?, (devmap? | newsitems? | (mirrorlist|chapter)+))>
+<!ATTLIST mainpage
+ redirect CDATA #IMPLIED
+ lang CDATA #IMPLIED>
+
+<!ELEMENT newsitems EMPTY>
+
+<!ELEMENT devmap EMPTY>
+
+<!ELEMENT guide (title, subtitle?, values?, author+, abstract, summary?, license?, version, date, faqindex?, chapter+)>
+<!ATTLIST guide type CDATA #IMPLIED
+ disclaimer (articles|oldbook|draft|obsolete) #IMPLIED
+ redirect CDATA #IMPLIED
+ lang CDATA #IMPLIED>
+
+<!ELEMENT news (poster, date, title, summary?, body)>
+<!ATTLIST news gentoo (yes|no) "no"
+ category (gentoo|main|linux|moo|plans|birthday) #REQUIRED>
+
+<!ELEMENT subtitle (#PCDATA)>
+
+<!ELEMENT poster (#PCDATA)>
+
+<!ELEMENT faqindex (title, section?)>
+
+<!ELEMENT chapter (include | (title, section+))>
+<!ATTLIST chapter id CDATA #IMPLIED>
+
+<!ELEMENT section (include | (title?, body+))>
+
+<!ELEMENT body (mirrorlist | include | (%block.class;|glsa-latest|glsaindex|glepindex)+)>
+
+<!ELEMENT glsaindex EMPTY>
+<!ELEMENT glsa-latest EMPTY>
+
+<!ELEMENT mirrorlist EMPTY>
+<!ATTLIST mirrorlist select (full|partial) 'full'>
+<!ATTLIST mirrorlist src CDATA '/main/en/mirrors3.xml'>