rdf-rdfa 0.3.0 → 0.3.1.1

Sign up to get free protection for your applications and to get access to all the features.
data/.yardopts CHANGED
@@ -3,11 +3,10 @@
3
3
  --protected
4
4
  --no-private
5
5
  --hide-void-return
6
- --markup rdoc
7
- --readme README.rdoc
6
+ --markup markdown
7
+ --readme README.md
8
8
  -
9
- READEME.rdoc
10
9
  AUTHORS
11
- History.rdoc
10
+ History.md
12
11
  CONTRIBUTORS
13
12
  VERSION
@@ -1,4 +1,8 @@
1
- === 0.3.0
1
+ ### 0.3.1
2
+ * Bug fix relating to datatypes in literals being ignored.
3
+ * Bug fix parsing non-RDFa profiles to ensure they don't cause processing to terminate (or recurse).
4
+
5
+ ### 0.3.0
2
6
  * RDF.rb 0.3.0 compatibility updates
3
7
  * Remove literal_normalization and qname_hacks, add back uri_hacks (until 0.3.0)
4
8
  * URI canonicalization and validation.
@@ -20,7 +24,7 @@
20
24
  * Add all in-scope namespaces, not just those that seem to be used.
21
25
  * RSpec 2 compatibility.
22
26
 
23
- === 0.2.2
27
+ ### 0.2.2
24
28
  * Ruby 1.9.2 compatibility
25
29
  * Added script/parse as command-line option for parsing files.
26
30
  * Add back support for RDFa 1.0 as well as RDFa 1.1. Parser checks @version to determine which
@@ -32,21 +36,21 @@
32
36
  * TERMorCURIEorAbsURI requires an absolute URI, not document relative
33
37
  * Extract a new default vocabulary from @profile.
34
38
 
35
- === 0.2.1
39
+ ### 0.2.1
36
40
  * Update for RDF 0.2.1
37
41
 
38
- === 0.2.0
42
+ ### 0.2.0
39
43
  * Updates for RDF 0.2.0
40
44
  * Use URI#intern instead of URI#new
41
45
  * Change use of Graph#predicates and Graph#objects to use as enumerables
42
46
 
43
- === 0.0.3
47
+ ### 0.0.3
44
48
  * Removed internal graph in Reader and implement each_triple & each_statement to perform parsing
45
49
 
46
- === 0.0.2
50
+ ### 0.0.2
47
51
  * Remove dependency on Namespace
48
52
  * Changed to RDF::RDFa, and moved files accordingly.
49
53
  * Added vocab definitions for RDA, XHV, XML, XSI and OWL
50
54
 
51
- === 0.0.1
55
+ ### 0.0.1
52
56
  * First port from RdfContext version 0.5.4
@@ -1,12 +1,11 @@
1
- = RDF::RDFa reader/writer
1
+ # RDF::RDFa reader/writer
2
2
 
3
3
  RDFa parser for RDF.rb.
4
4
 
5
- == DESCRIPTION:
5
+ ## DESCRIPTION
6
+ RDF::RDFa is an RDFa reader for Ruby using the [RDF.rb](http://rdf.rubyforge.org/) library suite.
6
7
 
7
- RDF::RDFa is an RDFa reader for Ruby using the RDF.rb library suite.
8
-
9
- == FEATURES:
8
+ ## FEATURES
10
9
  RDF::RDFa parses RDFa into statements or triples.
11
10
 
12
11
  * Fully compliant XHTML/RDFa 1.1 parser.
@@ -15,35 +14,50 @@ RDF::RDFa parses RDFa into statements or triples.
15
14
 
16
15
  Install with 'gem install rdf-rdfa'
17
16
 
18
- == Usage:
17
+ ## Usage
19
18
  Instantiate a parser and parse source, specifying type and base-URL
20
19
 
21
- RDF::RDFa::Reader.open("etc/foaf.html") do |reader|
22
- reader.each_statement do |statement|
23
- puts statement.inspect
20
+ RDF::RDFa::Reader.open("etc/foaf.html") do |reader|
21
+ reader.each_statement do |statement|
22
+ puts statement.inspect
23
+ end
24
24
  end
25
- end
26
25
 
27
- == Dependencies
28
- * [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.3.0)
29
- * [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.3.3)
26
+ ## Dependencies
27
+ * [RDF.rb](http://rubygems.org/gems/rdf) (>= 0.3.0)
28
+ * [Nokogiri](http://rubygems.org/gems/nokogiri) (>= 1.3.3)
29
+
30
+ ## Documentation
31
+ Full documentation available on [RubyForge](http://rdf.rubyforge.org/rdfa)
32
+
33
+ ### Principle Classes
34
+ * {RDF::RDFa::Format}
35
+ * {RDF::RDFa::Reader}
36
+ * {RDF::RDFa::Profile}
37
+
38
+ ### Additional vocabularies
39
+ * {RDF::PTR}
40
+ * {RDF::RDFA}
41
+ * {RDF::XHV}
42
+ * {RDF::XML}
43
+ * {RDF::XSI}
30
44
 
31
- == TODO
45
+ ## TODO
32
46
  * Add support for LibXML and REXML bindings, and use the best available
33
47
  * Consider a SAX-based parser for improved performance
34
48
  * Port SPARQL tests to native SPARQL processor, when one becomes available.
35
49
  * Add generic XHTML+RDFa Writer
36
50
 
37
- == Resources:
38
- * RDF.rb[http://rdf.rubyforge.org/]
39
- * Distiller[http://kellogg-assoc/distiller]
40
- * RDoc[http://rdoc.info/github/gkellogg/rdf-rdfa]
41
- * History[http://github.com/gkellogg/rdf-rdfa/blob/master/History.txt]
42
- * "RDFa 1.1 Core"[http://www.w3.org/TR/2010/WD-rdfa-core-20100422/]
43
- * "XHTML+RDFa 1.1 Core"[http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422/]
44
- * "RDFa test suite"[http://rdfa.digitalbazaar.com/test-suite/]
51
+ ## Resources
52
+ * [RDF.rb](http://rdf.rubyforge.org/)
53
+ * [Distiller](http://distiller.kellogg-assoc)
54
+ * [Documentation](http://rdf.rubyforge.org/rdfa)
55
+ * [History](file:file.History.html)
56
+ * [RDFa 1.1 Core](http://www.w3.org/TR/2010/WD-rdfa-core-20100422/ "RDFa 1.1 Core")
57
+ * [XHTML+RDFa 1.1 Core](http://www.w3.org/TR/2010/WD-xhtml-rdfa-20100422/ "XHTML+RDFa 1.1 Core")
58
+ * [RDFa-test-suite](http://rdfa.digitalbazaar.com/test-suite/ "RDFa test suite")
45
59
 
46
- == LICENSE:
60
+ ## LICENSE
47
61
 
48
62
  (The MIT License)
49
63
 
@@ -68,10 +82,10 @@ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
68
82
  TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
69
83
  SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
70
84
 
71
- == FEEDBACK
85
+ ## FEEDBACK
72
86
 
73
87
  * gregg@kellogg-assoc.com
74
88
  * rubygems.org/rdf-rdfa
75
89
  * github.com/gkellogg/rdf-rdfa
76
90
  * gkellogg.lighthouseapp.com for bug reports
77
- * public-rdf-ruby mailing list on w3.org
91
+ * <http://lists.w3.org/Archives/Public/public-rdf-ruby/>
data/Rakefile CHANGED
@@ -20,7 +20,7 @@ begin
20
20
  gemspec.add_development_dependency('rdf-rdfxml', '>= 0.2.1')
21
21
  gemspec.add_development_dependency('rdf-isomorphic')
22
22
  gemspec.add_development_dependency('yard')
23
- gemspec.extra_rdoc_files = %w(README.rdoc History.rdoc AUTHORS CONTRIBUTORS)
23
+ gemspec.extra_rdoc_files = %w(README.md History.md AUTHORS CONTRIBUTORS)
24
24
  end
25
25
  Jeweler::GemcutterTasks.new
26
26
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.0
1
+ 0.3.1.1
@@ -0,0 +1,369 @@
1
+ <?xml version="1.0"?><!--*- nxml -*-->
2
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
3
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4
+ <html xmlns="http://www.w3.org/1999/xhtml">
5
+ <head profile=
6
+ "http://www.w3.org/2003/g/data-view http://purl.org/NET/erdf/profile">
7
+ <meta name="generator" content=
8
+ "HTML Tidy for Linux/x86 (vers 12 April 2005), see www.w3.org" />
9
+
10
+ <title>GRDDL Data Views: RDF expressed in XHTML and XML</title>
11
+ <link rel="stylesheet" href="style" type="text/css" />
12
+ <link rel="stylesheet" href="/StyleSheets/base" type=
13
+ "text/css" />
14
+ <link rel="schema.dc" href="http://purl.org/dc/elements/1.1/" />
15
+ <link rel="schema.doap" href="http://usefulinc.com/ns/doap#" />
16
+ <link rel="schema.foaf" href="http://xmlns.com/foaf/0.1/" />
17
+ <link rel="schema.grddl" href=
18
+ "http://www.w3.org/2003/g/data-view#" />
19
+ <link rel="schema.rddl" href="http://www.rddl.org/purposes#" />
20
+ <link rel="schema.rdfs" href=
21
+ "http://www.w3.org/2000/01/rdf-schema#" />
22
+ <link rel="schema.rdf" href=
23
+ "http://www.w3.org/1999/02/22-rdf-syntax-ns#" />
24
+ <link rel="schema.owl" href=
25
+ "http://www.w3.org/2002/07/owl#" />
26
+ <link rev="doap-homepage" href="#grddlProject" />
27
+ <link rel="foaf-maker" href="#grddl-wg" />
28
+
29
+ <!-- more local copy of eRDF transformation, while we work out
30
+ redirect/base details. -->
31
+ <link rel="transformation" href="http://www.w3.org/2001/sw/grddl-wg/td/extract-rdf.xsl" />
32
+
33
+ <link href="/People/Berners-Lee/general.css" rel="stylesheet"
34
+ type="text/css" />
35
+ <!-- base seems to be necessary for embedded RDF rev links -->
36
+ <base href="http://www.w3.org/2003/g/data-view" />
37
+ </head>
38
+
39
+ <body>
40
+ <div>
41
+ <a href="/"><img src="../../Icons/w3c_home" alt="W3C" height=
42
+ "48" width="72" /></a>
43
+ </div>
44
+
45
+ <div id="grddlProject">
46
+ <h1>GRDDL Data Views: Getting Started, Learning More</h1>
47
+
48
+ <p class="doap-shortdesc"><abbr title= "Gleaning Resource
49
+ Descriptions from Dialects of Languages">GRDDL</abbr> is a
50
+ technique for <dfn><b>g</b>leaning <b>r</b>esource
51
+ <b>d</b>escriptions from <b>d</b>ialects of
52
+ <b>l</b>anguages</dfn>. It's a way of extracting Semantic Web data
53
+ in <a href="/RDF/">RDF</a> from XML formats (especially XHTML
54
+ dialects or <a href=
55
+ "http://www.microformats.org/">microformats</a>) via
56
+ transformations identified by URIs and typically expressed in
57
+ XSLT. For full details, see the <a href="#grddl_spec">GRDDL
58
+ specification</a>.</p>
59
+
60
+ <blockquote>
61
+ <p class="status"><strong>Note:</strong> The <a
62
+ href="#grddl_spec">GRDDL specification</a> is a <a
63
+ href="http://www.w3.org/2005/10/Process-20051014/tr.html#RecsPR">W3C
64
+ Recommendation</a>. W3C welcomes <a
65
+ href="http://lists.w3.org/Archives/Public/public-grddl-comments/">comments
66
+ by email</a>, especially comments that reflect implementation
67
+ experience.</p>
68
+ </blockquote>
69
+
70
+ <p>To use GRDDL:</p>
71
+
72
+ <ol type="A">
73
+ <li>If you're using a dialect (<a href=
74
+ "http://purl.org/stuff/hdoap/profile">hDoap</a>, <a href=
75
+ "http://www.w3.org/2000/08/w3c-synd/">Site Summaries</a>,
76
+ <a href="http://purl.org/NET/erdf/profile">Embedded RDF</a>,
77
+ <a href="#moreDialects">etc.</a>) that already has an
78
+ established GRDDL-compatible profile:
79
+
80
+ <ol>
81
+ <li>Add the profile attribute:
82
+ <pre class="example">
83
+ &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
84
+ &lt;head <span style=
85
+ "font-weight: bold">profile="http://purl.org/stuff/hdoap/profile"</span>&gt;
86
+ &lt;title&gt;My Project&lt;/title&gt;
87
+ &lt;/head&gt;
88
+ ...
89
+ &lt;/html&gt;
90
+ </pre>
91
+ </li>
92
+
93
+ <li id="check">Look at the data expressed as RDF using
94
+ the <a href="../11/rdf-in-xhtml-demo">online GRDDL demo
95
+ service</a>, and if you like, check its output with the
96
+ <a href="/RDF/Validator/">W3C RDF Validation service</a>,
97
+ or with a tool more customized for your data, like the
98
+ <a href="http://xml.mfd-consult.dk/foaf/explorer/">FOAF
99
+ explorer</a>.</li>
100
+
101
+ <li>Let the GRDDL Working Group know how you're using GRDDL
102
+ by sending mail to the <a rel="doap.mailing-list" href=
103
+ "http://lists.w3.org/Archives/Public/public-grddl-comments/"
104
+ >public-grddl-comments</a> list.</li>
105
+ </ol>
106
+ </li>
107
+
108
+ <li>If you're using an XHTML dialect (<a href=
109
+ "http://www.ietf.org/rfc/rfc2731.txt">Dublin Core
110
+ encoding</a>, <a href="http://geourl.org/add.html">GeoURL
111
+ markup</a>, <a href="#moreDialects">etc.</a>) that has an
112
+ existing transformation (<a href=
113
+ "/2000/06/dc-extract/dc-extract.xsl">dc-extract.xsl</a>,
114
+ <a href=
115
+ "../12/rdf-in-xhtml-xslts/grokGeoURL.xsl">grokGeoURL.xsl</a>)
116
+ ...
117
+
118
+ <ol>
119
+ <li>Make links from your XHTML data to the
120
+ transformation, using the <a href=
121
+ "#transformation">transformation</a> link type:
122
+ <pre class="example">
123
+ &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
124
+ &lt;head profile="http://www.w3.org/2003/g/data-view"&gt;
125
+ &lt;title&gt;Some Document&lt;/title&gt;
126
+ &lt;link rel="<strong>transformation</strong>"
127
+ href="<strong>http://www.w3.org/2000/06/dc-extract/dc-extract.xsl</strong>" /&gt;
128
+ &lt;meta name="DC.Subject"
129
+ content="ADAM; Simple Search; Index+; prototype" /&gt;
130
+ ...
131
+ &lt;/head&gt;
132
+ ...
133
+ &lt;/html&gt;
134
+ </pre>
135
+ </li>
136
+
137
+ <li>Reference the GRDDL profile to make it clear what
138
+ that transformation link type means:
139
+ <pre class="example">
140
+ &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
141
+ &lt;head <strong>profile="http://www.w3.org/2003/g/data-view"</strong>&gt;
142
+ &lt;title&gt;Some Document&lt;/title&gt;
143
+ ...
144
+ </pre>
145
+ </li>
146
+
147
+ <li>Check your data and let us know how it went as
148
+ <a href="#check">above</a>.</li>
149
+ </ol>
150
+ </li>
151
+ </ol>
152
+
153
+ <h3>Questions?</h3>
154
+
155
+ <ul class="q-and-a">
156
+ <li>Q: How about more complete examples?
157
+
158
+ <p>
159
+ The <a href="http://www.w3.org/TR/grddl-primer/">GRDDL primer</a>
160
+ gives a number of examples in detail.
161
+ Also, a <a href=
162
+ "../12/rdf-in-xhtml-xslts/complete-example.html">home page
163
+ for Joe Lambda</a> shows DC, geoURL, RSS as above plus
164
+ markup for <a href="http://www.foaf-project.org/">FOAF</a>
165
+ (using <a href=
166
+ "../12/rdf-in-xhtml-xslts/grokFOAF.xsl">grokFOAF.xsl</a>)
167
+ and <a href="http://creativecommons.org/licenses/">Creative
168
+ Commons Licenses</a> (using <a href=
169
+ "../12/rdf-in-xhtml-xslts/grokCC.xsl">grokCC.xsl</a>) that
170
+ you can probably figure out if you view source.</p>
171
+ </li>
172
+
173
+ <li id="moreDialects">Q: Where can I find out about existing
174
+ 'ways' rather than duplicate similar work?
175
+
176
+ <p>A: The <a href=
177
+ "http://esw.w3.org/topic/CustomRdfDialects">CustomRdfDialects</a>
178
+ wiki topic provides an informal directory of existing
179
+ conventions.</p>
180
+ </li>
181
+ </ul>
182
+
183
+ <p>If you just want to use GRDDL, that's all you need to know.
184
+ If you're curious to learn more, read on...</p>
185
+ </div>
186
+
187
+ <div>
188
+ <h2 id="vocab_ref">GRDDL Namespace and Metadata Profile Reference</h2>
189
+
190
+ <p>This document, <a rel="ns-claim" href="http://www.w3.org/2003/g/data-view">http://www.w3.org/2003/g/data-view</a>,
191
+ is a metadata profile in the sense of the HTML specification, in section
192
+ <a href="/TR/1999/REC-html401-19991224/struct/global.html#h-7.4.4.3">7.4.4.3 Meta data profiles</a>.</p>
193
+
194
+ <p>The following term is introduced here as an XHTML link relationship
195
+ name and RDF property name:</p>
196
+
197
+ <ul>
198
+ <li id="transformation" class="-rdf-Property">
199
+ <tt class="rdfs-label">transformation</tt>: <span
200
+ class="rdfs-comment">relates a source document to a
201
+ transformation, usually represented in <a
202
+ href="/TR/xslt">XSLT</a>, that relates the source document syntax
203
+ to the RDF graph syntax</span>. domain: <a rel="rdfs-domain"
204
+ href="#RootNode">RootNode</a>; range: <a
205
+ rel="rdfs-range" href="#Transformation">Transformation</a>
206
+ </li>
207
+
208
+ </ul>
209
+
210
+ <p>The following terms are introduced here as RDF properties:</p>
211
+
212
+ <ul>
213
+ <li id="namespaceTransformation" class="-rdf-Property">
214
+ <tt class="rdfs-label">namespaceTransformation</tt>: <span
215
+ class="rdfs-comment">relates a namespace to a transformation for
216
+ all documents in that namespace</span>. range: <a
217
+ rel="rdfs-range" href="#Transformation">Transformation</a>
218
+ </li>
219
+
220
+ <li id="profileTransformation" class="-rdf-Property">
221
+ <tt class="rdfs-label">profileTransformation</tt>: <span
222
+ class="rdfs-comment">relates a profile document to a
223
+ transformation for all documents bearing that profile</span>.
224
+ range: <a rel="rdfs-range"
225
+ href="#Transformation">Transformation</a>
226
+ </li>
227
+
228
+ <li id="result" class="-rdf-Property">
229
+ <tt class="rdfs-label">result</tt>: <span class="rdfs-comment">an
230
+ RDF graph obtained from an information resource by directly
231
+ parsing a representation in the standard RDF/XML syntax or
232
+ indirectly by parsing some other dialect using a transformation
233
+ nominated by the document</span>. domain: <a rel="rdfs-domain"
234
+ href="#InformationResource">InformationResource</a>; range: <a
235
+ rel="rdfs-range" href="#RDFGraph">RDFGraph</a>
236
+ </li>
237
+
238
+ <li id="transformationProperty" class="-owl-FunctionalProperty">
239
+ <tt class="rdfs-label">transformationProperty</tt> <span
240
+ class="rdfs-comment">relates a transformation to the algorithm
241
+ specified by the property that computes an RDF graph from an XML
242
+ document node</span> domain: <a rel="rdfs-domain"
243
+ href="#Transformation">Transformation</a> range: <a
244
+ rel="rdfs-range"
245
+ href="#TransformationProperty">TransformationProperty</a>
246
+ </li>
247
+ <li id="Transformation" class="-rdfs-Class">
248
+ <tt class="rdfs-label">Transformation</tt> <span
249
+ class="rdfs-comment">an <a rel="rdfs-subClassOf"
250
+ href="#InformationResource">InformationResource</a> that specifies
251
+ a transformation from a set of XML documents to RDF graphs</span>
252
+ Each Transformation has at least one <a rel="owl-onProperty"
253
+ href="#transformationProperty">transformationProperty</a> that is
254
+ a <a rel="owl-someValuesFrom"
255
+ href="#TransformationProperty">TransformationProperty</a>.
256
+ </li>
257
+
258
+ <li id="TransformationProperty" class="-rdfs-Class">
259
+ <tt class="rdfs-label">TransformationProperty</tt>
260
+ <span class="rdfs-comment">a <a rel="rdfs-subClassOf"
261
+ href="http://www.w3.org/2002/07/owl#FunctionalProperty"
262
+ >FunctionalProperty</a> that relates
263
+ <a href="#RootNode">XML document root nodes</a> to
264
+ <a href="#RDFGraph">RDF graphs</a></span>
265
+ </li>
266
+
267
+ </ul>
268
+
269
+ <p>The following terms are bound to concepts from existing standards:</p>
270
+
271
+ <ul>
272
+ <li id="RootNode" class="-rdfs-Class">
273
+ <tt class="rdfs-label">RootNode</tt> <span
274
+ class="rdfs-comment">the root of the tree in the XPath data
275
+ model</span>, per <a rel="rdfs-isDefinedBy"
276
+ href="http://www.w3.org/TR/1999/REC-xpath-19991116#root-node">section
277
+ 5.1 Root Node in <cite>XML Path Language (XPath) Version
278
+ 1.0</cite></a>
279
+ </li>
280
+
281
+ <li id="RDFGraph" class="-rdfs-Class">
282
+ <tt class="rdfs-label">RDFGraph</tt> <span class="rdfs-comment">a
283
+ set of RDF triples</span>, per <a rel="rdfs-isDefinedBy"
284
+ href="http://www.w3.org/TR/2004/REC-rdf-concepts-20040210/#dfn-rdf-graph">definition
285
+ in <cite>Resource Description Framework (RDF): Concepts and
286
+ Abstract Syntax</cite></a>
287
+
288
+ </li>
289
+
290
+ <li id="InformationResource" class="-rdfs-Class">
291
+ <tt class="rdfs-label">InformationResource</tt>
292
+ <span class="rdfs-comment">A resource which has the property that all of its essential characteristics can be conveyed in a message</span>, per <a rel="rdfs-isDefinedBy" href="http://www.w3.org/TR/2004/REC-webarch-20041215/#def-information-resource">definition in <cite>Architecture of the World Wide Web, Volume One</cite></a>
293
+ </li>
294
+
295
+ </ul>
296
+
297
+ <p>We provide a <a href="../11/rdf-in-xhtml-processor">sample
298
+ GRDDL/XHTML implementation</a>, and a more complete <a href=
299
+ "rdf-in-xml-processor">sample GRDDL implementation</a> and a
300
+ technical specification, <a href=
301
+ "http://www.w3.org/TR/grddl/">Gleaning Resource Descriptions
302
+ from Dialects of Languages (GRDDL)</a>, as a specification.</p>
303
+
304
+ <h2>References</h2>
305
+
306
+ <ul>
307
+ <li id="grddl_spec">
308
+ <a href="http://www.w3.org/TR/grddl/" rel=
309
+ "rddl.normative-reference"><cite class="dc-title">Gleaning
310
+ Resource Descriptions from Dialects of Languages
311
+ (GRDDL)</cite>, W3C Recommendation <abbr
312
+ title="2007-09-11" class="dc.date">11 September 2007</abbr></a>
313
+ </li>
314
+
315
+ <li><a href="/TR/xslt" rel= "rddl.normative-reference"><cite
316
+ class="dc-title">XSL Transformations (XSLT) Version
317
+ 1.0</cite> W3C Recommendation <abbr title="1999-11-16"
318
+ class="dc.date">16 November 1999</abbr></a>
319
+ </li>
320
+
321
+ <li><a href="http://www.w3.org/TR/rdf-concepts/" rel=
322
+ "rddl.normative-reference"><cite class="dc.title">Resource
323
+ Description Framework (RDF): Concepts and Abstract
324
+ Syntax</cite>, W3C Recommendation <abbr title="2004-02-10"
325
+ class="dc.date">10 February 2004</abbr></a></li>
326
+
327
+ <li id="WEBARCH">
328
+ <a href= "http://www.w3.org/TR/webarch/" ><cite
329
+ class="dc.title">Architecture of the World Wide Web, Volume
330
+ One</cite>, W3C Recommendation, <abbr class="dc.date"
331
+ title="2004-12-15">15 December 2004</abbr></a>
332
+ </li>
333
+
334
+ </ul>
335
+
336
+ <div>
337
+ <h2>Acknowledgements and Colophon</h2>
338
+
339
+ <p>This document uses <a href=
340
+ "http://purl.org/NET/erdf/profile">Embedded RDF</a> to encode
341
+ <a href="http://usefulinc.com/doap">Description of a Project
342
+ (DOAP)</a> data as well as RDF Schema data and one or two
343
+ <a href="http://www.tbray.org/tag/rddl4.html">RDDL</a>
344
+ properties. We have moved away from the RDDL syntax
345
+ itself.</p>
346
+
347
+ <p>This document was inspired by the <a href=
348
+ "http://gmpg.org/xfn/join">XFN getting started page</a>.
349
+ Previous versions used <a href= "http://gmpg.org/xmdp/">XMDP</a>
350
+ (with <a href=
351
+ "http://www.w3.org/2003/12/rdf-in-xhtml-xslts/grokXMDP.xsl"
352
+ >grokXMDP.xsl</a>), but in documenting domains and ranges of
353
+ properties, maintaining the XMDP convention of ids on the
354
+ <tt>dt</tt> rather than the <tt>dd</tt> element were too awkward
355
+ to maintain.</p>
356
+
357
+ </div>
358
+ </div>
359
+ <hr />
360
+
361
+ <address>
362
+ <span id="danc"><a rel="foaf-homepage" class="foaf-name" href=
363
+ "/People/Connolly/">Dan Connolly</a></span>
364
+ for <span id="grddl-wg"><a rel="foaf-homepage" href="http://www.w3.org/2001/sw-grddl-wg/">the GRDDL Working Group</a></span><br />
365
+ <small>$Revision: 1.47 $ of $Date: 2007/10/31 02:59:16 $ <!-- -->
366
+ by $Author: connolly $</small>
367
+ </address>
368
+ </body>
369
+ </html>
@@ -0,0 +1,116 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head profile="http://www.w3.org/2003/g/data-view">
5
+ <meta content="HTML Tidy for Windows (vers 1st February 2003), see www.w3.org" name="generator" />
6
+ <meta http-equiv="Content-Type" content="text/html; charset=us-ascii" />
7
+ <title>
8
+ Embedded RDF HTML Profile
9
+ </title>
10
+ <style type="text/css">
11
+ /*<![CDATA[*/
12
+ @import url(/styles/undohtml.css);
13
+ @import url(/styles/screen-default.css);
14
+
15
+ /*]]>*/
16
+ </style>
17
+ <link rel="transformation"
18
+ href="http://www.w3.org/2003/g/glean-profile" />
19
+
20
+ </head>
21
+ <body>
22
+ <div id="container" class="specification">
23
+ <div id="header">
24
+ <div id="logo">
25
+ <a href="http://www.talis.com/home/index.shtml"><img src="/images/logo.gif" alt="Talis Home Page" width="144" height="49" border="0" /></a>
26
+ </div>
27
+ <form name="topsearch" method="get" action="http://www.talis.com/cgi-bin/search.cgi">
28
+ <ul id="quicklinks">
29
+ <li>
30
+ <a href="http://www.talis.com/home/index.shtml"><img src="/images/home.gif" alt="Home" width="16" height="16" border="0" /></a>
31
+ <a href="http://www.talis.com/home/index.shtml">Home</a>
32
+ </li>
33
+ <li>
34
+ <a href="http://www.talis.com/services/support.shtml"><img src="/images/login.gif" alt="Access the support area" width="16" height="16"
35
+ border="0" /></a> <a href="http://www.talis.com/services/support.shtml">Support</a>
36
+ </li>
37
+ <li>
38
+ <a href="http://blogs.talis.com/panlibus" target="_blank"><img src="/images/BLOG.png" alt="blogs" width="16" height="16" border="0" /></a>
39
+ <a href="http://www.talis.com/community/Talisblogs.shtml" target="_blank">Blogs</a>
40
+ </li>
41
+ <li>
42
+ <a href="http://www.talis.com/community/talis_forums.shtml" target="_blank"><img src="/images/FORUMS.png" alt="Forums" width="16" height="16"
43
+ border="0" /></a> <a href="http://www.talis.com/community/talis_forums.shtml" target="_self">Forums</a>
44
+ </li>
45
+ <li>
46
+ <a href="http://www.talis.com/community/rss_help.shtml"><img src="/images/rss_feed.gif" alt="RSS" width="32" height="16" border="0" /></a>
47
+ </li>
48
+ <li>
49
+ <a href="http://www.talis.com/cgi-bin/search.cgi" class="menu03Txt"><img src="/images/search.gif" alt="Search the Knowledgebase" width="16"
50
+ height="16" border="0" class="c1" /></a>&#160; <input type="text" class="search" name="q" value="Search..." size="12" /> <input type="submit"
51
+ class="search" value="Go" /> <input type="hidden" name="t" value="documentation" /> <input type="hidden" name="t" value="all" />
52
+ <input type="hidden" name="t" value="forum" /> <input type="hidden" name="t" value="solutions" /> <input type="hidden" name="t" value="defect" />
53
+ <input type="hidden" name="t" value="blog" />
54
+ </li>
55
+ </ul>
56
+ </form>
57
+ <ul id="menubar">
58
+ <li>
59
+ <a href="http://www.talis.com/about_talis/corporate.shtml">About</a>
60
+ </li>
61
+ <li>
62
+ <a href="http://www.talis.com/news/press/press_releases.shtml">News &amp; Events</a>
63
+ </li>
64
+ <li>
65
+ <a href="http://www.talis.com/solutions/academic.shtml">Solutions</a>
66
+ </li>
67
+ <li>
68
+ <a href="http://www.talis.com/products/product_select.shtml">Products</a>
69
+ </li>
70
+ <li>
71
+ <a href="http://www.talis.com/services/service_select.shtml">Services</a>
72
+ </li>
73
+ <li>
74
+ <a href="http://www.talis.com/partners/partners.shtml">Partners</a>
75
+ </li>
76
+ <li>
77
+ <a href="http://www.talis.com/tdn/index.shtml">Developers</a>
78
+ </li>
79
+ <li>
80
+ <a href="http://www.talis.com/community/community.shtml">Community</a>
81
+ </li>
82
+ <li>
83
+ <a href="http://research.talis.com/" class="selected">Research</a>
84
+ </li>
85
+ </ul>
86
+ </div>
87
+ <div id="breadcrumb">
88
+ <a href="/">Home</a> &#8594; <a href="/2005/erdf">Embedded RDF</a>
89
+ </div>
90
+ <div id="content">
91
+ <h1>
92
+ Embedded RDF HTML Profile
93
+ </h1>
94
+
95
+ <p>A GRDDL-capable client tool, when visiting a page which contains the profile reference <code>http://purl.org/NET/erdf/profile</code>
96
+ will first visit this profile document and apply the transformation declared here. The results of that transformation will
97
+ contain a statement identifying the transformation that should be applied to
98
+ convert the originating document into RDF/XML. The GRDDL client has everything it
99
+ needs to get RDF/XML from the original XHTML document, while the author of
100
+ the originating document need not concern themselves with the details of the
101
+ profile, merely including the reference to its URI is enough. </p>
102
+ <p>This following link provides the statement : <a
103
+ rel="profileTransformation"
104
+ href="http://purl.org/NET/erdf/extract-rdf.xsl">extract-rdf.xsl</a>, <a
105
+ rel="profile" href="http://purl.org/NET/erdf/profile">profile</a></p>
106
+ </div>
107
+ <div id="footer">
108
+ <a href="https://mail.talis.com/exchange">Webmail</a> <a href="http://www.talis.com/about_talis/contact_us.shtml"></a>|
109
+ <a href="http://www.talis.com/legal/site_map.shtml">Site Map</a> <a href="http://www.talis.com/about_talis/contact_us.shtml"></a>|
110
+ <a href="http://www.talis.com/about_talis/contact_us.shtml">Contact Us</a> | <a href="http://www.talis.com/legal/copyright.shtml">&#169;2005 Talis
111
+ Information Ltd</a> | <a href="http://www.talis.com/legal/legal.shtml">Legal Notice</a> |
112
+ <a href="http://www.talis.com/legal/privacy.shtml">Privacy</a> | <a href="mailto:webmaster@talis.com">Contact Webmaster</a>
113
+ </div>
114
+ </div>
115
+ </body>
116
+ </html>
@@ -41,7 +41,7 @@ module RDF::RDFa
41
41
  resource_info = {}
42
42
  repository.query(:context => uri).each do |statement|
43
43
  res = resource_info[statement.subject] ||= {}
44
- raise RDF::ProfileError, "#{statement.object.inspect} must be a Literal" unless statement.object.is_a?(RDF::Literal)
44
+ next unless statement.object.is_a?(RDF::Literal)
45
45
  %w(uri term prefix vocabulary).each do |term|
46
46
  res[term] ||= statement.object.value if statement.predicate == RDF::RDFA[term]
47
47
  end
@@ -101,7 +101,15 @@ module RDF::RDFa
101
101
  def self.find(uri)
102
102
  uri = RDF::URI.intern(uri)
103
103
 
104
- cache[uri] ||= new(uri)
104
+ return cache[uri] unless cache[uri].nil?
105
+
106
+ # Two part creation to prevent re-entrancy problems if p1 => p2 and p2 => p1
107
+ # Return something to make the caller happy if we're re-entered
108
+ cache[uri] = Struct.new(:prefixes, :terms, :vocabulary).new({}, {}, nil)
109
+ # Now do the actual load
110
+ cache[uri] = new(uri)
111
+ rescue Exception => e
112
+ raise ProfileError, "Error reading profile #{uri.inspect}: #{e.message}"
105
113
  end
106
114
 
107
115
  # Load profile into repository
@@ -261,7 +261,7 @@ module RDF::RDFa
261
261
  prefix(prefix, value)
262
262
  end
263
263
 
264
- add_debug(@doc, "version = #{@version}, host_language = #{@host_language}")
264
+ add_info(@doc, "version = #{@version}, host_language = #{@host_language}")
265
265
 
266
266
  # parse
267
267
  parse_whole_document(@doc, @base_uri)
@@ -291,7 +291,7 @@ module RDF::RDFa
291
291
 
292
292
  # Figure out the document path, if it is a Nokogiri::XML::Element or Attribute
293
293
  def node_path(node)
294
- case node
294
+ "<#{@base_uri}>" + case node
295
295
  when Nokogiri::XML::Node then node.display_path
296
296
  else node.to_s
297
297
  end
@@ -346,7 +346,7 @@ module RDF::RDFa
346
346
  # @raise [ReaderError]:: Checks parameter types and raises if they are incorrect if parsing mode is _validate_.
347
347
  def add_triple(node, subject, predicate, object)
348
348
  statement = RDF::Statement.new(subject, predicate, object)
349
- add_debug(node, "statement: #{RDF::NTriples.serialize(statement)}")
349
+ add_info(node, "statement: #{RDF::NTriples.serialize(statement)}")
350
350
  @callback.call(statement)
351
351
  end
352
352
 
@@ -371,6 +371,7 @@ module RDF::RDFa
371
371
  evaluation_context = EvaluationContext.new(base, @host_defaults)
372
372
 
373
373
  traverse(doc.root, evaluation_context)
374
+ add_debug("", "parse_whole_doc: traversal complete'")
374
375
  end
375
376
 
376
377
  # Parse and process URI mappings, Term mappings and a default vocabulary from @profile
@@ -387,7 +388,11 @@ module RDF::RDFa
387
388
  next
388
389
  end
389
390
 
391
+ old_debug = RDF::RDFa.debug?
392
+ #RDF::RDFa.debug = false
393
+ add_info(element, "process_profile: load <#{uri}>")
390
394
  next unless profile = Profile.find(uri)
395
+ RDF::RDFa.debug = old_debug
391
396
  # Add URI Mappings to prefixes
392
397
  profile.prefixes.each_pair do |prefix, value|
393
398
  prefix(prefix, value)
@@ -418,7 +423,7 @@ module RDF::RDFa
418
423
  uri_mappings[pfx_lc.to_sym] = ns.href
419
424
  namespaces[pfx_lc] ||= ns.href
420
425
  prefix(pfx_lc, ns.href)
421
- add_debug(element, "extract_mappings: xmlns:#{ns.prefix} => <#{ns.href}>")
426
+ add_info(element, "extract_mappings: xmlns:#{ns.prefix} => <#{ns.href}>")
422
427
  else
423
428
  namespaces[""] ||= ns.href
424
429
  end
@@ -439,15 +444,14 @@ module RDF::RDFa
439
444
 
440
445
  uri_mappings[prefix.to_s.empty? ? nil : prefix.to_s.to_sym] = uri
441
446
  prefix(prefix, uri)
442
- add_debug(element, "extract_mappings: prefix #{prefix} => <#{uri}>")
447
+ add_info(element, "extract_mappings: prefix #{prefix} => <#{uri}>")
443
448
  end unless @version == :rdfa_1_0
444
449
  end
445
450
 
446
451
  # The recursive helper function
447
452
  def traverse(element, evaluation_context)
448
453
  if element.nil?
449
- add_debug(element, "traverse nil element")
450
- raise RDF::ReaderError, "Can't parse nil element" if validate?
454
+ add_error(element, "Can't parse nil element")
451
455
  return nil
452
456
  end
453
457
 
@@ -497,7 +501,7 @@ module RDF::RDFa
497
501
  :base => xml_base,
498
502
  :property => property,
499
503
  :typeof => typeof,
500
- :daetatype => datatype,
504
+ :datatype => datatype,
501
505
  :rel => rel,
502
506
  :rev => rev,
503
507
  :profiles => (profiles.empty? ? nil : profiles),
@@ -704,8 +708,7 @@ module RDF::RDFa
704
708
  if p.is_a?(RDF::URI)
705
709
  false
706
710
  else
707
- add_debug(element, "Illegal predicate: #{p.inspect}")
708
- raise RDF::ReaderError, "predicate #{p.inspect} must be a URI" if validate?
711
+ add_debug(element, "predicate #{p.inspect} must be a URI")
709
712
  true
710
713
  end
711
714
  end
@@ -0,0 +1 @@
1
+ /*.gem
@@ -1,79 +1,79 @@
1
1
  # Generated by jeweler
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
- # Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
3
+ # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{rdf-rdfa}
8
- s.version = "0.3.0"
8
+ s.version = "0.3.1.1"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Gregg Kellogg"]
12
- s.date = %q{2010-12-27}
12
+ s.date = %q{2011-02-04}
13
13
  s.description = %q{ RDF::RDFa is an RDFa reader for Ruby using the RDF.rb library suite.
14
14
  }
15
15
  s.email = %q{gregg@kellogg-assoc.com}
16
16
  s.extra_rdoc_files = [
17
17
  "AUTHORS",
18
- "CONTRIBUTORS",
19
- "History.rdoc",
20
- "README.rdoc"
18
+ "CONTRIBUTORS",
19
+ "History.md",
20
+ "README.md"
21
21
  ]
22
22
  s.files = [
23
- ".gitignore",
24
- ".yardopts",
25
- "AUTHORS",
26
- "CONTRIBUTORS",
27
- "History.rdoc",
28
- "README.rdoc",
29
- "Rakefile",
30
- "VERSION",
31
- "etc/basic.html",
32
- "etc/foaf.html",
33
- "etc/xhv.html",
34
- "example.rb",
35
- "lib/rdf/.gitignore",
36
- "lib/rdf/rdfa.rb",
37
- "lib/rdf/rdfa/format.rb",
38
- "lib/rdf/rdfa/patches/literal_hacks.rb",
39
- "lib/rdf/rdfa/patches/nokogiri_hacks.rb",
40
- "lib/rdf/rdfa/profile.rb",
41
- "lib/rdf/rdfa/reader.rb",
42
- "lib/rdf/rdfa/version.rb",
43
- "lib/rdf/rdfa/vocab.rb",
44
- "pkg/.gitignore",
45
- "rdf-rdfa.gemspec",
46
- "script/console",
47
- "script/parse",
48
- "script/tc",
49
- "spec/html4-manifest.yml",
50
- "spec/html5-manifest.yml",
51
- "spec/literal_spec.rb",
52
- "spec/matchers.rb",
53
- "spec/profile_spec.rb",
54
- "spec/rdfa_helper.rb",
55
- "spec/rdfa_reader_spec.rb",
56
- "spec/spec.opts",
57
- "spec/spec_helper.rb",
58
- "spec/svgtiny-manifest.yml",
59
- "spec/xhtml-manifest.yml"
23
+ ".yardopts",
24
+ "AUTHORS",
25
+ "CONTRIBUTORS",
26
+ "History.md",
27
+ "README.md",
28
+ "Rakefile",
29
+ "VERSION",
30
+ "etc/basic.html",
31
+ "etc/foaf.html",
32
+ "etc/xhv.html",
33
+ "example-files/data-view.xhtml",
34
+ "example-files/erdf_profile.html",
35
+ "example.rb",
36
+ "lib/rdf/.gitignore",
37
+ "lib/rdf/rdfa.rb",
38
+ "lib/rdf/rdfa/format.rb",
39
+ "lib/rdf/rdfa/patches/literal_hacks.rb",
40
+ "lib/rdf/rdfa/patches/nokogiri_hacks.rb",
41
+ "lib/rdf/rdfa/profile.rb",
42
+ "lib/rdf/rdfa/reader.rb",
43
+ "lib/rdf/rdfa/version.rb",
44
+ "lib/rdf/rdfa/vocab.rb",
45
+ "pkg/.gitignore",
46
+ "rdf-rdfa.gemspec",
47
+ "script/console",
48
+ "script/parse",
49
+ "script/tc",
50
+ "script/yard-to-rubyforge",
51
+ "spec/html4-manifest.yml",
52
+ "spec/html5-manifest.yml",
53
+ "spec/literal_spec.rb",
54
+ "spec/matchers.rb",
55
+ "spec/profile_spec.rb",
56
+ "spec/rdfa_helper.rb",
57
+ "spec/rdfa_reader_spec.rb",
58
+ "spec/spec.opts",
59
+ "spec/spec_helper.rb",
60
+ "spec/svgtiny-manifest.yml",
61
+ "spec/xhtml-manifest.yml"
60
62
  ]
61
63
  s.homepage = %q{http://github.com/gkellogg/rdf-rdfa}
62
- s.rdoc_options = ["--charset=UTF-8"]
63
64
  s.require_paths = ["lib"]
64
- s.rubygems_version = %q{1.3.7}
65
+ s.rubygems_version = %q{1.5.0}
65
66
  s.summary = %q{RDFa reader for RDF.rb.}
66
67
  s.test_files = [
67
68
  "spec/literal_spec.rb",
68
- "spec/matchers.rb",
69
- "spec/profile_spec.rb",
70
- "spec/rdfa_helper.rb",
71
- "spec/rdfa_reader_spec.rb",
72
- "spec/spec_helper.rb"
69
+ "spec/matchers.rb",
70
+ "spec/profile_spec.rb",
71
+ "spec/rdfa_helper.rb",
72
+ "spec/rdfa_reader_spec.rb",
73
+ "spec/spec_helper.rb"
73
74
  ]
74
75
 
75
76
  if s.respond_to? :specification_version then
76
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
77
77
  s.specification_version = 3
78
78
 
79
79
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
@@ -0,0 +1,2 @@
1
+ #!/usr/bin/env sh
2
+ rsync -azv doc/yard/ gkellogg@rubyforge.org:/var/www/gforge-projects/rdf/rdfa/
metadata CHANGED
@@ -1,13 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rdf-rdfa
3
3
  version: !ruby/object:Gem::Version
4
- hash: 19
5
- prerelease: false
6
- segments:
7
- - 0
8
- - 3
9
- - 0
10
- version: 0.3.0
4
+ prerelease:
5
+ version: 0.3.1.1
11
6
  platform: ruby
12
7
  authors:
13
8
  - Gregg Kellogg
@@ -15,7 +10,7 @@ autorequire:
15
10
  bindir: bin
16
11
  cert_chain: []
17
12
 
18
- date: 2010-12-27 00:00:00 -08:00
13
+ date: 2011-02-04 00:00:00 -08:00
19
14
  default_executable:
20
15
  dependencies:
21
16
  - !ruby/object:Gem::Dependency
@@ -26,11 +21,6 @@ dependencies:
26
21
  requirements:
27
22
  - - ">="
28
23
  - !ruby/object:Gem::Version
29
- hash: 19
30
- segments:
31
- - 0
32
- - 3
33
- - 0
34
24
  version: 0.3.0
35
25
  type: :runtime
36
26
  version_requirements: *id001
@@ -42,11 +32,6 @@ dependencies:
42
32
  requirements:
43
33
  - - ">="
44
34
  - !ruby/object:Gem::Version
45
- hash: 29
46
- segments:
47
- - 1
48
- - 3
49
- - 3
50
35
  version: 1.3.3
51
36
  type: :runtime
52
37
  version_requirements: *id002
@@ -58,11 +43,6 @@ dependencies:
58
43
  requirements:
59
44
  - - ">="
60
45
  - !ruby/object:Gem::Version
61
- hash: 11
62
- segments:
63
- - 2
64
- - 1
65
- - 0
66
46
  version: 2.1.0
67
47
  type: :development
68
48
  version_requirements: *id003
@@ -74,11 +54,6 @@ dependencies:
74
54
  requirements:
75
55
  - - ">="
76
56
  - !ruby/object:Gem::Version
77
- hash: 21
78
- segments:
79
- - 0
80
- - 2
81
- - 1
82
57
  version: 0.2.1
83
58
  type: :development
84
59
  version_requirements: *id004
@@ -90,11 +65,6 @@ dependencies:
90
65
  requirements:
91
66
  - - ">="
92
67
  - !ruby/object:Gem::Version
93
- hash: 21
94
- segments:
95
- - 0
96
- - 2
97
- - 1
98
68
  version: 0.2.1
99
69
  type: :development
100
70
  version_requirements: *id005
@@ -106,9 +76,6 @@ dependencies:
106
76
  requirements:
107
77
  - - ">="
108
78
  - !ruby/object:Gem::Version
109
- hash: 3
110
- segments:
111
- - 0
112
79
  version: "0"
113
80
  type: :development
114
81
  version_requirements: *id006
@@ -120,9 +87,6 @@ dependencies:
120
87
  requirements:
121
88
  - - ">="
122
89
  - !ruby/object:Gem::Version
123
- hash: 3
124
- segments:
125
- - 0
126
90
  version: "0"
127
91
  type: :development
128
92
  version_requirements: *id007
@@ -135,20 +99,21 @@ extensions: []
135
99
  extra_rdoc_files:
136
100
  - AUTHORS
137
101
  - CONTRIBUTORS
138
- - History.rdoc
139
- - README.rdoc
102
+ - History.md
103
+ - README.md
140
104
  files:
141
- - .gitignore
142
105
  - .yardopts
143
106
  - AUTHORS
144
107
  - CONTRIBUTORS
145
- - History.rdoc
146
- - README.rdoc
108
+ - History.md
109
+ - README.md
147
110
  - Rakefile
148
111
  - VERSION
149
112
  - etc/basic.html
150
113
  - etc/foaf.html
151
114
  - etc/xhv.html
115
+ - example-files/data-view.xhtml
116
+ - example-files/erdf_profile.html
152
117
  - example.rb
153
118
  - lib/rdf/.gitignore
154
119
  - lib/rdf/rdfa.rb
@@ -164,6 +129,7 @@ files:
164
129
  - script/console
165
130
  - script/parse
166
131
  - script/tc
132
+ - script/yard-to-rubyforge
167
133
  - spec/html4-manifest.yml
168
134
  - spec/html5-manifest.yml
169
135
  - spec/literal_spec.rb
@@ -180,8 +146,8 @@ homepage: http://github.com/gkellogg/rdf-rdfa
180
146
  licenses: []
181
147
 
182
148
  post_install_message:
183
- rdoc_options:
184
- - --charset=UTF-8
149
+ rdoc_options: []
150
+
185
151
  require_paths:
186
152
  - lib
187
153
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -189,23 +155,17 @@ required_ruby_version: !ruby/object:Gem::Requirement
189
155
  requirements:
190
156
  - - ">="
191
157
  - !ruby/object:Gem::Version
192
- hash: 3
193
- segments:
194
- - 0
195
158
  version: "0"
196
159
  required_rubygems_version: !ruby/object:Gem::Requirement
197
160
  none: false
198
161
  requirements:
199
162
  - - ">="
200
163
  - !ruby/object:Gem::Version
201
- hash: 3
202
- segments:
203
- - 0
204
164
  version: "0"
205
165
  requirements: []
206
166
 
207
167
  rubyforge_project:
208
- rubygems_version: 1.3.7
168
+ rubygems_version: 1.5.0
209
169
  signing_key:
210
170
  specification_version: 3
211
171
  summary: RDFa reader for RDF.rb.
data/.gitignore DELETED
@@ -1,4 +0,0 @@
1
- /.DS_Store
2
- /pkg
3
- /doc/
4
- /.yardoc/