mill 0.5 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile +1 -2
- data/bin/mill +2 -0
- data/lib/mill/resources/text.rb +2 -2
- data/lib/mill/site.rb +4 -0
- data/lib/mill/version.rb +1 -1
- data/lib/mill.rb +1 -0
- data/mill.gemspec +1 -0
- metadata +17 -5
- data/lib/mill/schemas/atom.xsd +0 -244
- data/lib/mill/schemas/sitemap.xsd +0 -116
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 85146533ef81900c48e91be39334163ecf02ad28e5cfe0657fbadc8b4e9277c4
|
|
4
|
+
data.tar.gz: b0a0337a26c0e58b18fc52f7b6d86d29bee5d68fa913fa7c52f935c0e4efff0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 33d176e326f343a5f07734e2a34f53cb82d954a362d9b2eb90ae1ff007a85dfb0723af584fbb79883909dc239c680af0855ac27d926cdf98e66d66b2ca723653
|
|
7
|
+
data.tar.gz: f6b1daec3821b6ff7764c8c522d5ec130d44eaf4491126912bba805d84c36afd9fc6fe94e512c4f7ff5503476539f0c85e5df25aeac967c7eac008652632a563
|
data/Gemfile
CHANGED
data/bin/mill
CHANGED
data/lib/mill/resources/text.rb
CHANGED
data/lib/mill/site.rb
CHANGED
data/lib/mill/version.rb
CHANGED
data/lib/mill.rb
CHANGED
data/mill.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: mill
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 0.5.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Labovitz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2018-01-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: addressable
|
|
@@ -136,6 +136,20 @@ dependencies:
|
|
|
136
136
|
- - ">="
|
|
137
137
|
- !ruby/object:Gem::Version
|
|
138
138
|
version: '0'
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: web-checker
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - ">="
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: '0'
|
|
146
|
+
type: :runtime
|
|
147
|
+
prerelease: false
|
|
148
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
149
|
+
requirements:
|
|
150
|
+
- - ">="
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: '0'
|
|
139
153
|
- !ruby/object:Gem::Dependency
|
|
140
154
|
name: bundler
|
|
141
155
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -193,8 +207,6 @@ files:
|
|
|
193
207
|
- lib/mill/resources/sitemap.rb
|
|
194
208
|
- lib/mill/resources/stylesheet.rb
|
|
195
209
|
- lib/mill/resources/text.rb
|
|
196
|
-
- lib/mill/schemas/atom.xsd
|
|
197
|
-
- lib/mill/schemas/sitemap.xsd
|
|
198
210
|
- lib/mill/site.rb
|
|
199
211
|
- lib/mill/version.rb
|
|
200
212
|
- mill.gemspec
|
|
@@ -222,7 +234,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
222
234
|
version: '0'
|
|
223
235
|
requirements: []
|
|
224
236
|
rubyforge_project:
|
|
225
|
-
rubygems_version: 2.7.
|
|
237
|
+
rubygems_version: 2.7.4
|
|
226
238
|
signing_key:
|
|
227
239
|
specification_version: 4
|
|
228
240
|
summary: A simple but useful static site generator.
|
data/lib/mill/schemas/atom.xsd
DELETED
|
@@ -1,244 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="utf-8" ?>
|
|
2
|
-
<xs:schema targetNamespace="http://www.w3.org/2005/Atom" elementFormDefault="qualified"
|
|
3
|
-
attributeFormDefault="unqualified"
|
|
4
|
-
xmlns:atom="http://www.w3.org/2005/Atom"
|
|
5
|
-
xmlns:xs="http://www.w3.org/2001/XMLSchema"
|
|
6
|
-
xmlns:xml="http://www.w3.org/XML/1998/namespace">
|
|
7
|
-
<xs:annotation>
|
|
8
|
-
<xs:documentation>
|
|
9
|
-
This version of the Atom schema is based on version 1.0 of the format specifications,
|
|
10
|
-
found here http://www.atomenabled.org/developers/syndication/atom-format-spec.php.
|
|
11
|
-
</xs:documentation>
|
|
12
|
-
</xs:annotation>
|
|
13
|
-
<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/03/xml.xsd" />
|
|
14
|
-
<xs:annotation>
|
|
15
|
-
<xs:documentation>
|
|
16
|
-
An Atom document may have two root elements, feed and entry, as defined in section 2.
|
|
17
|
-
</xs:documentation>
|
|
18
|
-
</xs:annotation>
|
|
19
|
-
<xs:element name="feed" type="atom:feedType"/>
|
|
20
|
-
<xs:element name="entry" type="atom:entryType"/>
|
|
21
|
-
<xs:complexType name="textType" mixed="true">
|
|
22
|
-
<xs:annotation>
|
|
23
|
-
<xs:documentation>
|
|
24
|
-
The Atom text construct is defined in section 3.1 of the format spec.
|
|
25
|
-
</xs:documentation>
|
|
26
|
-
</xs:annotation>
|
|
27
|
-
<xs:sequence>
|
|
28
|
-
<xs:any namespace="http://www.w3.org/1999/xhtml" minOccurs="0"/>
|
|
29
|
-
</xs:sequence>
|
|
30
|
-
<xs:attribute name="type" >
|
|
31
|
-
<xs:simpleType>
|
|
32
|
-
<xs:restriction base="xs:token">
|
|
33
|
-
<xs:enumeration value="text"/>
|
|
34
|
-
<xs:enumeration value="html"/>
|
|
35
|
-
<xs:enumeration value="xhtml"/>
|
|
36
|
-
</xs:restriction>
|
|
37
|
-
</xs:simpleType>
|
|
38
|
-
</xs:attribute>
|
|
39
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
40
|
-
</xs:complexType>
|
|
41
|
-
<xs:complexType name="personType">
|
|
42
|
-
<xs:annotation>
|
|
43
|
-
<xs:documentation>
|
|
44
|
-
The Atom person construct is defined in section 3.2 of the format spec.
|
|
45
|
-
</xs:documentation>
|
|
46
|
-
</xs:annotation>
|
|
47
|
-
<xs:choice minOccurs="1" maxOccurs="unbounded">
|
|
48
|
-
<xs:element name="name" type="xs:string" minOccurs="1" maxOccurs="1" />
|
|
49
|
-
<xs:element name="uri" type="atom:uriType" minOccurs="0" maxOccurs="1" />
|
|
50
|
-
<xs:element name="email" type="atom:emailType" minOccurs="0" maxOccurs="1" />
|
|
51
|
-
<xs:any namespace="##other"/>
|
|
52
|
-
</xs:choice>
|
|
53
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
54
|
-
</xs:complexType>
|
|
55
|
-
<xs:simpleType name="emailType">
|
|
56
|
-
<xs:annotation>
|
|
57
|
-
<xs:documentation>
|
|
58
|
-
Schema definition for an email address.
|
|
59
|
-
</xs:documentation>
|
|
60
|
-
</xs:annotation>
|
|
61
|
-
<xs:restriction base="xs:normalizedString">
|
|
62
|
-
<!--
|
|
63
|
-
<xs:pattern value="\w+@(\w+\.)+\w+" />
|
|
64
|
-
-->
|
|
65
|
-
<xs:maxLength value="254"/>
|
|
66
|
-
<xs:pattern value="[_\-a-zA-Z0-9\.\+]+@[a-zA-Z0-9](\.?[\-a-zA-Z0-9]*[a-zA-Z0-9])*"/>
|
|
67
|
-
</xs:restriction>
|
|
68
|
-
</xs:simpleType>
|
|
69
|
-
<xs:complexType name="feedType">
|
|
70
|
-
<xs:annotation>
|
|
71
|
-
<xs:documentation>
|
|
72
|
-
The Atom feed construct is defined in section 4.1.1 of the format spec.
|
|
73
|
-
</xs:documentation>
|
|
74
|
-
</xs:annotation>
|
|
75
|
-
<xs:choice minOccurs="3" maxOccurs="unbounded">
|
|
76
|
-
<xs:element name="author" type="atom:personType" minOccurs="0" maxOccurs="unbounded" />
|
|
77
|
-
<xs:element name="category" type="atom:categoryType" minOccurs="0" maxOccurs="unbounded" />
|
|
78
|
-
<xs:element name="contributor" type="atom:personType" minOccurs="0" maxOccurs="unbounded" />
|
|
79
|
-
<xs:element name="generator" type="atom:generatorType" minOccurs="0" maxOccurs="1" />
|
|
80
|
-
<xs:element name="icon" type="atom:iconType" minOccurs="0" maxOccurs="1" />
|
|
81
|
-
<xs:element name="id" type="atom:idType" minOccurs="1" maxOccurs="1" />
|
|
82
|
-
<xs:element name="link" type="atom:linkType" minOccurs="0" maxOccurs="unbounded" />
|
|
83
|
-
<xs:element name="logo" type="atom:logoType" minOccurs="0" maxOccurs="1" />
|
|
84
|
-
<xs:element name="rights" type="atom:textType" minOccurs="0" maxOccurs="1" />
|
|
85
|
-
<xs:element name="subtitle" type="atom:textType" minOccurs="0" maxOccurs="1" />
|
|
86
|
-
<xs:element name="title" type="atom:textType" minOccurs="1" maxOccurs="1" />
|
|
87
|
-
<xs:element name="updated" type="atom:dateTimeType" minOccurs="1" maxOccurs="1" />
|
|
88
|
-
<xs:element name="entry" type="atom:entryType" minOccurs="0" maxOccurs="unbounded" />
|
|
89
|
-
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
|
90
|
-
</xs:choice>
|
|
91
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
92
|
-
</xs:complexType>
|
|
93
|
-
<xs:complexType name="entryType">
|
|
94
|
-
<xs:annotation>
|
|
95
|
-
<xs:documentation>
|
|
96
|
-
The Atom entry construct is defined in section 4.1.2 of the format spec.
|
|
97
|
-
</xs:documentation>
|
|
98
|
-
</xs:annotation>
|
|
99
|
-
<xs:choice maxOccurs="unbounded">
|
|
100
|
-
<xs:element name="author" type="atom:personType" minOccurs="0" maxOccurs="unbounded" />
|
|
101
|
-
<xs:element name="category" type="atom:categoryType" minOccurs="0" maxOccurs="unbounded" />
|
|
102
|
-
<xs:element name="content" type="atom:contentType" minOccurs="0" maxOccurs="1" />
|
|
103
|
-
<xs:element name="contributor" type="atom:personType" minOccurs="0" maxOccurs="unbounded" />
|
|
104
|
-
<xs:element name="id" type="atom:idType" minOccurs="1" maxOccurs="1" />
|
|
105
|
-
<xs:element name="link" type="atom:linkType" minOccurs="0" maxOccurs="unbounded" />
|
|
106
|
-
<xs:element name="published" type="atom:dateTimeType" minOccurs="0" maxOccurs="1" />
|
|
107
|
-
<xs:element name="rights" type="atom:textType" minOccurs="0" maxOccurs="1" />
|
|
108
|
-
<xs:element name="source" type="atom:textType" minOccurs="0" maxOccurs="1" />
|
|
109
|
-
<xs:element name="summary" type="atom:textType" minOccurs="0" maxOccurs="1" />
|
|
110
|
-
<xs:element name="title" type="atom:textType" minOccurs="1" maxOccurs="1" />
|
|
111
|
-
<xs:element name="updated" type="atom:dateTimeType" minOccurs="1" maxOccurs="1" />
|
|
112
|
-
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
|
113
|
-
</xs:choice>
|
|
114
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
115
|
-
</xs:complexType>
|
|
116
|
-
<xs:complexType name="contentType" mixed="true">
|
|
117
|
-
<xs:annotation>
|
|
118
|
-
<xs:documentation>
|
|
119
|
-
The Atom content construct is defined in section 4.1.3 of the format spec.
|
|
120
|
-
</xs:documentation>
|
|
121
|
-
</xs:annotation>
|
|
122
|
-
<xs:sequence>
|
|
123
|
-
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded" />
|
|
124
|
-
</xs:sequence>
|
|
125
|
-
<xs:attribute name="type" type="xs:string"/>
|
|
126
|
-
<xs:attribute name="src" type="xs:anyURI"/>
|
|
127
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
128
|
-
</xs:complexType>
|
|
129
|
-
<xs:complexType name="categoryType">
|
|
130
|
-
<xs:annotation>
|
|
131
|
-
<xs:documentation>
|
|
132
|
-
The Atom cagegory construct is defined in section 4.2.2 of the format spec.
|
|
133
|
-
</xs:documentation>
|
|
134
|
-
</xs:annotation>
|
|
135
|
-
<xs:attribute name="term" type="xs:string" use="required"/>
|
|
136
|
-
<xs:attribute name="scheme" type="xs:anyURI" use="optional"/>
|
|
137
|
-
<xs:attribute name="label" type="xs:string" use="optional"/>
|
|
138
|
-
<xs:attributeGroup ref="atom:commonAttributes" />
|
|
139
|
-
</xs:complexType>
|
|
140
|
-
<xs:complexType name="generatorType">
|
|
141
|
-
<xs:annotation>
|
|
142
|
-
<xs:documentation>
|
|
143
|
-
The Atom generator element is defined in section 4.2.4 of the format spec.
|
|
144
|
-
</xs:documentation>
|
|
145
|
-
</xs:annotation>
|
|
146
|
-
<xs:simpleContent>
|
|
147
|
-
<xs:extension base="xs:string">
|
|
148
|
-
<xs:attribute name="uri" use="optional" type="xs:anyURI" />
|
|
149
|
-
<xs:attribute name="version" use="optional" type="xs:string" />
|
|
150
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
151
|
-
</xs:extension>
|
|
152
|
-
</xs:simpleContent>
|
|
153
|
-
</xs:complexType>
|
|
154
|
-
<xs:complexType name="iconType">
|
|
155
|
-
<xs:annotation>
|
|
156
|
-
<xs:documentation>
|
|
157
|
-
The Atom icon construct is defined in section 4.2.5 of the format spec.
|
|
158
|
-
</xs:documentation>
|
|
159
|
-
</xs:annotation>
|
|
160
|
-
<xs:simpleContent>
|
|
161
|
-
<xs:extension base="xs:anyURI">
|
|
162
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
163
|
-
</xs:extension>
|
|
164
|
-
</xs:simpleContent>
|
|
165
|
-
</xs:complexType>
|
|
166
|
-
<xs:complexType name="idType">
|
|
167
|
-
<xs:annotation>
|
|
168
|
-
<xs:documentation>
|
|
169
|
-
The Atom id construct is defined in section 4.2.6 of the format spec.
|
|
170
|
-
</xs:documentation>
|
|
171
|
-
</xs:annotation>
|
|
172
|
-
<xs:simpleContent>
|
|
173
|
-
<xs:extension base="xs:anyURI">
|
|
174
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
175
|
-
</xs:extension>
|
|
176
|
-
</xs:simpleContent>
|
|
177
|
-
</xs:complexType>
|
|
178
|
-
<xs:complexType name="linkType" mixed="true">
|
|
179
|
-
<xs:annotation>
|
|
180
|
-
<xs:documentation>
|
|
181
|
-
The Atom link construct is defined in section 3.4 of the format spec.
|
|
182
|
-
</xs:documentation>
|
|
183
|
-
</xs:annotation>
|
|
184
|
-
<xs:attribute name="href" use="required" type="xs:anyURI" />
|
|
185
|
-
<xs:attribute name="rel" type="xs:string" use="optional"/>
|
|
186
|
-
<xs:attribute name="type" use="optional" type="xs:string" />
|
|
187
|
-
<xs:attribute name="hreflang" use="optional" type="xs:NMTOKEN" />
|
|
188
|
-
<xs:attribute name="title" use="optional" type="xs:string" />
|
|
189
|
-
<xs:attribute name="length" use="optional" type="xs:positiveInteger" />
|
|
190
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
191
|
-
</xs:complexType>
|
|
192
|
-
<xs:complexType name="logoType">
|
|
193
|
-
<xs:annotation>
|
|
194
|
-
<xs:documentation>
|
|
195
|
-
The Atom logo construct is defined in section 4.2.8 of the format spec.
|
|
196
|
-
</xs:documentation>
|
|
197
|
-
</xs:annotation>
|
|
198
|
-
<xs:simpleContent>
|
|
199
|
-
<xs:extension base="xs:anyURI">
|
|
200
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
201
|
-
</xs:extension>
|
|
202
|
-
</xs:simpleContent>
|
|
203
|
-
</xs:complexType>
|
|
204
|
-
<xs:complexType name="sourceType">
|
|
205
|
-
<xs:annotation>
|
|
206
|
-
<xs:documentation>
|
|
207
|
-
The Atom source construct is defined in section 4.2.11 of the format spec.
|
|
208
|
-
</xs:documentation>
|
|
209
|
-
</xs:annotation>
|
|
210
|
-
<xs:choice maxOccurs="unbounded">
|
|
211
|
-
<xs:element name="author" type="atom:personType" minOccurs="0" maxOccurs="unbounded"/>
|
|
212
|
-
<xs:element name="category" type="atom:categoryType" minOccurs="0" maxOccurs="unbounded"/>
|
|
213
|
-
<xs:element name="contributor" type="atom:personType" minOccurs="0" maxOccurs="unbounded"/>
|
|
214
|
-
<xs:element name="generator" type="atom:generatorType" minOccurs="0" maxOccurs="1"/>
|
|
215
|
-
<xs:element name="icon" type="atom:iconType" minOccurs="0" maxOccurs="1"/>
|
|
216
|
-
<xs:element name="id" type="atom:idType" minOccurs="0" maxOccurs="1"/>
|
|
217
|
-
<xs:element name="link" type="atom:linkType" minOccurs="0" maxOccurs="unbounded"/>
|
|
218
|
-
<xs:element name="logo" type="atom:logoType" minOccurs="0" maxOccurs="1"/>
|
|
219
|
-
<xs:element name="rights" type="atom:textType" minOccurs="0" maxOccurs="1"/>
|
|
220
|
-
<xs:element name="subtitle" type="atom:textType" minOccurs="0" maxOccurs="1"/>
|
|
221
|
-
<xs:element name="title" type="atom:textType" minOccurs="0" maxOccurs="1"/>
|
|
222
|
-
<xs:element name="updated" type="atom:dateTimeType" minOccurs="0" maxOccurs="1"/>
|
|
223
|
-
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
|
224
|
-
</xs:choice>
|
|
225
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
226
|
-
</xs:complexType>
|
|
227
|
-
<xs:complexType name="uriType">
|
|
228
|
-
<xs:simpleContent>
|
|
229
|
-
<xs:extension base="xs:anyURI">
|
|
230
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
231
|
-
</xs:extension>
|
|
232
|
-
</xs:simpleContent>
|
|
233
|
-
</xs:complexType>
|
|
234
|
-
<xs:complexType name="dateTimeType">
|
|
235
|
-
<xs:simpleContent>
|
|
236
|
-
<xs:extension base="xs:dateTime">
|
|
237
|
-
<xs:attributeGroup ref="atom:commonAttributes"/>
|
|
238
|
-
</xs:extension>
|
|
239
|
-
</xs:simpleContent>
|
|
240
|
-
</xs:complexType>
|
|
241
|
-
<xs:attributeGroup name="commonAttributes">
|
|
242
|
-
<xs:anyAttribute namespace="##other"/>
|
|
243
|
-
</xs:attributeGroup>
|
|
244
|
-
</xs:schema>
|
|
@@ -1,116 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
|
|
3
|
-
targetNamespace="http://www.sitemaps.org/schemas/sitemap/0.9"
|
|
4
|
-
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
|
|
5
|
-
elementFormDefault="qualified">
|
|
6
|
-
<xsd:annotation>
|
|
7
|
-
<xsd:documentation>
|
|
8
|
-
XML Schema for Sitemap files.
|
|
9
|
-
Last Modifed 2008-03-26
|
|
10
|
-
</xsd:documentation>
|
|
11
|
-
</xsd:annotation>
|
|
12
|
-
|
|
13
|
-
<xsd:element name="urlset">
|
|
14
|
-
<xsd:annotation>
|
|
15
|
-
<xsd:documentation>
|
|
16
|
-
Container for a set of up to 50,000 document elements.
|
|
17
|
-
This is the root element of the XML file.
|
|
18
|
-
</xsd:documentation>
|
|
19
|
-
</xsd:annotation>
|
|
20
|
-
<xsd:complexType>
|
|
21
|
-
<xsd:sequence>
|
|
22
|
-
<xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="strict"/>
|
|
23
|
-
<xsd:element name="url" type="tUrl" maxOccurs="unbounded"/>
|
|
24
|
-
</xsd:sequence>
|
|
25
|
-
</xsd:complexType>
|
|
26
|
-
</xsd:element>
|
|
27
|
-
|
|
28
|
-
<xsd:complexType name="tUrl">
|
|
29
|
-
<xsd:annotation>
|
|
30
|
-
<xsd:documentation>
|
|
31
|
-
Container for the data needed to describe a document to crawl.
|
|
32
|
-
</xsd:documentation>
|
|
33
|
-
</xsd:annotation>
|
|
34
|
-
<xsd:sequence>
|
|
35
|
-
<xsd:element name="loc" type="tLoc"/>
|
|
36
|
-
<xsd:element name="lastmod" type="tLastmod" minOccurs="0"/>
|
|
37
|
-
<xsd:element name="changefreq" type="tChangeFreq" minOccurs="0"/>
|
|
38
|
-
<xsd:element name="priority" type="tPriority" minOccurs="0"/>
|
|
39
|
-
<xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded" processContents="strict"/>
|
|
40
|
-
</xsd:sequence>
|
|
41
|
-
</xsd:complexType>
|
|
42
|
-
|
|
43
|
-
<xsd:simpleType name="tLoc">
|
|
44
|
-
<xsd:annotation>
|
|
45
|
-
<xsd:documentation>
|
|
46
|
-
REQUIRED: The location URI of a document.
|
|
47
|
-
The URI must conform to RFC 2396 (http://www.ietf.org/rfc/rfc2396.txt).
|
|
48
|
-
</xsd:documentation>
|
|
49
|
-
</xsd:annotation>
|
|
50
|
-
<xsd:restriction base="xsd:anyURI">
|
|
51
|
-
<xsd:minLength value="12"/>
|
|
52
|
-
<xsd:maxLength value="2048"/>
|
|
53
|
-
</xsd:restriction>
|
|
54
|
-
</xsd:simpleType>
|
|
55
|
-
|
|
56
|
-
<xsd:simpleType name="tLastmod">
|
|
57
|
-
<xsd:annotation>
|
|
58
|
-
<xsd:documentation>
|
|
59
|
-
OPTIONAL: The date the document was last modified. The date must conform
|
|
60
|
-
to the W3C DATETIME format (http://www.w3.org/TR/NOTE-datetime).
|
|
61
|
-
Example: 2005-05-10
|
|
62
|
-
Lastmod may also contain a timestamp.
|
|
63
|
-
Example: 2005-05-10T17:33:30+08:00
|
|
64
|
-
</xsd:documentation>
|
|
65
|
-
</xsd:annotation>
|
|
66
|
-
<xsd:union>
|
|
67
|
-
<xsd:simpleType>
|
|
68
|
-
<xsd:restriction base="xsd:date"/>
|
|
69
|
-
</xsd:simpleType>
|
|
70
|
-
<xsd:simpleType>
|
|
71
|
-
<xsd:restriction base="xsd:dateTime"/>
|
|
72
|
-
</xsd:simpleType>
|
|
73
|
-
</xsd:union>
|
|
74
|
-
</xsd:simpleType>
|
|
75
|
-
|
|
76
|
-
<xsd:simpleType name="tChangeFreq">
|
|
77
|
-
<xsd:annotation>
|
|
78
|
-
<xsd:documentation>
|
|
79
|
-
OPTIONAL: Indicates how frequently the content at a particular URL is
|
|
80
|
-
likely to change. The value "always" should be used to describe
|
|
81
|
-
documents that change each time they are accessed. The value "never"
|
|
82
|
-
should be used to describe archived URLs. Please note that web
|
|
83
|
-
crawlers may not necessarily crawl pages marked "always" more often.
|
|
84
|
-
Consider this element as a friendly suggestion and not a command.
|
|
85
|
-
</xsd:documentation>
|
|
86
|
-
</xsd:annotation>
|
|
87
|
-
<xsd:restriction base="xsd:string">
|
|
88
|
-
<xsd:enumeration value="always"/>
|
|
89
|
-
<xsd:enumeration value="hourly"/>
|
|
90
|
-
<xsd:enumeration value="daily"/>
|
|
91
|
-
<xsd:enumeration value="weekly"/>
|
|
92
|
-
<xsd:enumeration value="monthly"/>
|
|
93
|
-
<xsd:enumeration value="yearly"/>
|
|
94
|
-
<xsd:enumeration value="never"/>
|
|
95
|
-
</xsd:restriction>
|
|
96
|
-
</xsd:simpleType>
|
|
97
|
-
|
|
98
|
-
<xsd:simpleType name="tPriority">
|
|
99
|
-
<xsd:annotation>
|
|
100
|
-
<xsd:documentation>
|
|
101
|
-
OPTIONAL: The priority of a particular URL relative to other pages
|
|
102
|
-
on the same site. The value for this element is a number between
|
|
103
|
-
0.0 and 1.0 where 0.0 identifies the lowest priority page(s).
|
|
104
|
-
The default priority of a page is 0.5. Priority is used to select
|
|
105
|
-
between pages on your site. Setting a priority of 1.0 for all URLs
|
|
106
|
-
will not help you, as the relative priority of pages on your site
|
|
107
|
-
is what will be considered.
|
|
108
|
-
</xsd:documentation>
|
|
109
|
-
</xsd:annotation>
|
|
110
|
-
<xsd:restriction base="xsd:decimal">
|
|
111
|
-
<xsd:minInclusive value="0.0"/>
|
|
112
|
-
<xsd:maxInclusive value="1.0"/>
|
|
113
|
-
</xsd:restriction>
|
|
114
|
-
</xsd:simpleType>
|
|
115
|
-
|
|
116
|
-
</xsd:schema>
|