summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2016-11-26 15:56:44 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2016-11-26 15:57:23 -0800
commit10e10c7f6c24a5f9da3deffbe8c9f86d47f494e2 (patch)
treebf9a6ae076adeb1b7fc8820eaaf6c33f34022136
parentmetadata: add gentoo to remote-id type (diff)
downloaddtd-10e10c7f6c24a5f9da3deffbe8c9f86d47f494e2.tar.gz
dtd-10e10c7f6c24a5f9da3deffbe8c9f86d47f494e2.tar.bz2
dtd-10e10c7f6c24a5f9da3deffbe8c9f86d47f494e2.zip
dtd/mirrors: add attributes for city, gentoo-bug and coordinates.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r--mirrors.dtd9
1 files changed, 8 insertions, 1 deletions
diff --git a/mirrors.dtd b/mirrors.dtd
index 364f8a3..d855815 100644
--- a/mirrors.dtd
+++ b/mirrors.dtd
@@ -36,13 +36,20 @@
<!--
element: mirror
description: One per mirror; name the mirror and provide one or more uris
- example: <mirror>
+ optionally: provide GPS coordinates, a city and a bug id.
+ example: <mirror city="Corvallis"
+ coordinates="44.5646,-123.2620"
+ gentoo-bug="12345">
<name>OSU Open Source Lab</name>
<uri protocol="http">http://gentoo.osuosl.org/</uri>
<uri protocol="ftp">ftp://gentoo.osuosl.org/</uri>
</mirror>
-->
<!ELEMENT mirror (name, uri+)>
+<!ATTLIST mirror
+ city CDATA #IMPLIED
+ coordinates CDATA #IMPLIED
+ gentoo-bug CDATA #IMPLIED>
<!--
element: name