aboutsummaryrefslogtreecommitdiff
path: root/share/xml/gallery.dtd
diff options
context:
space:
mode:
Diffstat (limited to 'share/xml/gallery.dtd')
-rw-r--r--share/xml/gallery.dtd57
1 files changed, 57 insertions, 0 deletions
diff --git a/share/xml/gallery.dtd b/share/xml/gallery.dtd
new file mode 100644
index 0000000000..33d8f4e05e
--- /dev/null
+++ b/share/xml/gallery.dtd
@@ -0,0 +1,57 @@
+<!-- DTD for commercial gallery entries on the FreeBSD website. -->
+<!-- $FreeBSD$ -->
+
+<!ELEMENT entries (cvs:keyword?, categories?, entry+)>
+
+<!ELEMENT categories (category)+>
+<!ATTLIST categories
+ id ID #IMPLIED
+>
+
+<!ELEMENT category (#PCDATA)>
+<!ATTLIST category
+ id ID #IMPLIED
+>
+
+<!ELEMENT entry (name, url?, description)>
+<!ATTLIST entry
+ id CDATA #REQUIRED
+ category CDATA #IMPLIED
+>
+
+<!ELEMENT name (#PCDATA)>
+<!ELEMENT url (#PCDATA)>
+
+<!--
+ Allow full HTML cotent in description.
+-->
+<!ENTITY % html.orig PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+%html.orig;
+
+<!ELEMENT description %Flow;>
+
+<!ENTITY % cvs
+ PUBLIC "-//FreeBSD//DTD FreeBSD CVS Keywords//EN"
+ "http://www.FreeBSD.org/XML/doc/share/xml/cvs.dtd">
+%cvs;
+
+<!ENTITY % autogen.ent
+ PUBLIC "-//FreeBSD//ENTITIES FreeBSD Automatically Generated Entities//EN"
+ "http://www.FreeBSD.org/XML/cwd/autogen.ent">
+%autogen.ent;
+
+<!ENTITY % iso8879.ent
+ PUBLIC "-//FreeBSD//ENTITIES ISO 8879:1986 Entity Set//EN//XML"
+ "http://www.FreeBSD.org/XML/www/share/xml/iso8879.ent">
+%iso8879.ent;
+
+<!ENTITY % l10n.ent
+ PUBLIC "-//FreeBSD//ENTITIES FreeBSD L10N Entities//EN"
+ "http://www.FreeBSD.org/XML/www/share/xml/l10n.ent">
+%l10n.ent;
+
+<!ENTITY % common.ent
+ PUBLIC "-//FreeBSD//ENTITIES FreeBSD Common Entities//EN"
+ "http://www.FreeBSD.org/XML/www/share/xml/common.ent">
+%common.ent;