microformats2 1.0.2 → 2.0.0.pre1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +18 -0
- data/.rspec +2 -0
- data/.travis.yml +8 -0
- data/Gemfile +4 -0
- data/Guardfile +5 -0
- data/LICENSE.txt +22 -0
- data/README.md +117 -26
- data/Rakefile +65 -9
- data/lib/microformats2.rb +30 -115
- data/lib/microformats2/collection.rb +71 -0
- data/lib/microformats2/format.rb +101 -0
- data/lib/microformats2/format_parser.rb +59 -0
- data/lib/microformats2/implied_property/foundation.rb +58 -0
- data/lib/microformats2/implied_property/name.rb +34 -0
- data/lib/microformats2/implied_property/photo.rb +24 -0
- data/lib/microformats2/implied_property/url.rb +20 -0
- data/lib/microformats2/property.rb +10 -0
- data/lib/microformats2/property/date_time.rb +31 -0
- data/lib/microformats2/property/embedded.rb +9 -0
- data/lib/microformats2/property/foundation.rb +80 -0
- data/lib/microformats2/property/text.rb +16 -0
- data/lib/microformats2/property/url.rb +18 -0
- data/lib/microformats2/property_parser.rb +54 -0
- data/lib/microformats2/version.rb +3 -0
- data/microformats2.gemspec +30 -0
- data/spec/lib/microformats2/collection_spec.rb +181 -0
- data/spec/lib/microformats2/implied_property/name_spec.rb +31 -0
- data/spec/lib/microformats2/implied_property/photo_spec.rb +31 -0
- data/spec/lib/microformats2/implied_property/url_spec.rb +31 -0
- data/spec/lib/microformats2_spec.rb +30 -0
- data/spec/spec_helper.rb +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.html +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-1.js +16 -0
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.html +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-2.js +16 -0
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.html +6 -0
- data/spec/support/cases/microformat2-node.jit.su/h-adr/h-adr-3.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-1.js +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.html +4 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-2.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.html +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-3.js +15 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.html +6 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-4.js +26 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.html +6 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-5.js +30 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.html +6 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-6.js +29 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.html +16 -0
- data/spec/support/cases/microformat2-node.jit.su/h-card/h-card-7.js +15 -0
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.html +4 -0
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-1.js +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.html +21 -0
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-2.js +28 -0
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.html +22 -0
- data/spec/support/cases/microformat2-node.jit.su/h-entry/h-entry-3.js +21 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-1.js +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.html +14 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-2.js +57 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.html +15 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-3.js +35 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.html +9 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-4.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.html +45 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-5.js +22 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.html +51 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-6.js +21 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.html +22 -0
- data/spec/support/cases/microformat2-node.jit.su/h-event/h-event-7.js +20 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.html +5 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.html +7 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-1.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.html +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-2.js +13 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.html +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-3.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.html +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-4.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.html +6 -0
- data/spec/support/cases/microformat2-node.jit.su/h-geo/h-geo-5.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.html +26 -0
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-0.js +37 -0
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.html +37 -0
- data/spec/support/cases/microformat2-node.jit.su/h-news/h-news-1.js +48 -0
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-1.js +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.html +6 -0
- data/spec/support/cases/microformat2-node.jit.su/h-org/h-org-2.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-1.js +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.html +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-2.js +23 -0
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.html +22 -0
- data/spec/support/cases/microformat2-node.jit.su/h-product/h-product-3.js +42 -0
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.html +9 -0
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-0.js +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.html +67 -0
- data/spec/support/cases/microformat2-node.jit.su/h-recipe/h-recipe-1.js +51 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.html +20 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-1.js +39 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.html +17 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-2.js +54 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.html +15 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-3.js +54 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.html +15 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-4.js +12 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.html +13 -0
- data/spec/support/cases/microformat2-node.jit.su/h-resume/h-resume-5.js +27 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.html +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-0.js +19 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.html +20 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-1.js +26 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.html +15 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review-aggregate/h-review-aggregate-2.js +23 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-1.js +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-2.js +11 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.html +6 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-3.js +19 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.html +8 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-4.js +20 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.html +24 -0
- data/spec/support/cases/microformat2-node.jit.su/h-review/h-review-5.js +37 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.html +18 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-0.js +43 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.html +26 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-1.js +54 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.html +13 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-2.js +20 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.html +20 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-3.js +40 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.html +23 -0
- data/spec/support/cases/microformat2-node.jit.su/includes/includes-4.js +42 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-0.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.html +3 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-1.js +10 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.html +12 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-2.js +19 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.html +21 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-3.js +26 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.html +15 -0
- data/spec/support/cases/microformat2-node.jit.su/rel/rel-4.js +42 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-0.html +2 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-0.js +9 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-1.html +2 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-1.js +10 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-2.html +5 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-2.js +11 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-3.html +17 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-3.js +20 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-4.html +16 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-4.js +24 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-5.html +7 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-5.js +11 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-6.html +9 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-6.js +18 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-7.html +9 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-7.js +18 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-8.html +9 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-8.js +17 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-9.html +9 -0
- data/spec/support/cases/microformats.org/microformats-2/microformats-2-9.js +17 -0
- data/spec/support/lib/microformats2/implied_property/name-fail.html +60 -0
- data/spec/support/lib/microformats2/implied_property/name-pass.html +30 -0
- data/spec/support/lib/microformats2/implied_property/photo-fail.html +60 -0
- data/spec/support/lib/microformats2/implied_property/photo-pass.html +30 -0
- data/spec/support/lib/microformats2/implied_property/url-fail.html +18 -0
- data/spec/support/lib/microformats2/implied_property/url-pass.html +12 -0
- data/spec/support/lib/microformats2/nested-format-with-property.html +12 -0
- data/spec/support/lib/microformats2/nested-format-with-property.js +15 -0
- data/spec/support/lib/microformats2/nested-format-without-property.html +13 -0
- data/spec/support/lib/microformats2/nested-property.html +12 -0
- data/spec/support/lib/microformats2/nested-property.js +9 -0
- data/spec/support/lib/microformats2/simple.html +19 -0
- data/spec/support/lib/microformats2/simple.js +10 -0
- metadata +535 -85
- data/.autotest +0 -23
- data/.gemtest +0 -0
- data/History.txt +0 -19
- data/Manifest.txt +0 -10
- data/bin/microformats2 +0 -3
- data/test/IndieWebCamp.html +0 -351
- data/test/simple.html +0 -30
- data/test/test_microformats2.rb +0 -185
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/includes.html -->
|
2
|
+
|
3
|
+
<table>
|
4
|
+
<tr>
|
5
|
+
<th id="org"><a class="u-url p-org" href="http://dev.opera.com/">Opera</a></th>
|
6
|
+
</tr>
|
7
|
+
<tr>
|
8
|
+
<td class="h-card" headers="org"><span class="p-name">Chris Mills</span></td>
|
9
|
+
</tr>
|
10
|
+
<tr>
|
11
|
+
<td class="h-card" headers="org"><span class="p-name">Erik Möller</span></td>
|
12
|
+
</tr>
|
13
|
+
</table>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// http://microformat2-node.jit.su/includes.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-card"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Chris Mills"],
|
8
|
+
"url": ["http://dev.opera.com/"],
|
9
|
+
"org": ["Opera"]
|
10
|
+
}
|
11
|
+
},{
|
12
|
+
"type": ["h-card"],
|
13
|
+
"properties": {
|
14
|
+
"name": ["Erik Möller"],
|
15
|
+
"url": ["http://dev.opera.com/"],
|
16
|
+
"org": ["Opera"]
|
17
|
+
}
|
18
|
+
}
|
19
|
+
]
|
20
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/includes.html -->
|
2
|
+
|
3
|
+
<div class="h-card">
|
4
|
+
<span class="p-name">Ben Ward</span>
|
5
|
+
<a class="include" href="#twitter">Twitter</a>
|
6
|
+
</div>
|
7
|
+
<div class="h-card">
|
8
|
+
<span class="p-name">Dan Webb</span>
|
9
|
+
<a class="include" href="#twitter">Twitter</a>
|
10
|
+
</div>
|
11
|
+
|
12
|
+
<div id="twitter">
|
13
|
+
<p class="p-org">Twitter</p>
|
14
|
+
<p class="p-adr h-adr">
|
15
|
+
<span class="p-street-address">1355 Market St</span>,
|
16
|
+
<span class="p-locality">San Francisco</span>,
|
17
|
+
<span class="p-region">CA</span>
|
18
|
+
<span class="p-postal-code">94103</span>
|
19
|
+
</p>
|
20
|
+
</div>
|
@@ -0,0 +1,40 @@
|
|
1
|
+
// http://microformat2-node.jit.su/includes.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-card"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Ben Ward"],
|
8
|
+
"org": ["Twitter"],
|
9
|
+
"adr": [{
|
10
|
+
"value": "1355 Market St, San Francisco, CA 94103",
|
11
|
+
"type": ["h-adr"],
|
12
|
+
"properties": {
|
13
|
+
"street-address": ["1355 Market St"],
|
14
|
+
"locality": ["San Francisco"],
|
15
|
+
"region": ["CA"],
|
16
|
+
"postal-code": ["94103"],
|
17
|
+
"name": ["1355 Market St, San Francisco, CA 94103"]
|
18
|
+
}
|
19
|
+
}]
|
20
|
+
}
|
21
|
+
},{
|
22
|
+
"type": ["h-card"],
|
23
|
+
"properties": {
|
24
|
+
"name": ["Dan Webb"],
|
25
|
+
"org": ["Twitter"],
|
26
|
+
"adr": [{
|
27
|
+
"value": "1355 Market St, San Francisco, CA 94103",
|
28
|
+
"type": ["h-adr"],
|
29
|
+
"properties": {
|
30
|
+
"street-address": ["1355 Market St"],
|
31
|
+
"locality": ["San Francisco"],
|
32
|
+
"region": ["CA"],
|
33
|
+
"postal-code": ["94103"],
|
34
|
+
"name": ["1355 Market St, San Francisco, CA 94103"]
|
35
|
+
}
|
36
|
+
}]
|
37
|
+
}
|
38
|
+
}
|
39
|
+
]
|
40
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/includes.html -->
|
2
|
+
|
3
|
+
<div class="h-event">
|
4
|
+
<span class="p-name">HTML5 & CSS3 latest features in action!</span> -
|
5
|
+
<span class="p-speaker">David Rousset</span> -
|
6
|
+
<time class="dt-start" datetime="2012-10-30T11:45:00-08:00">Tue 11:45am</time><object data="#buildconf" class="include" type="text/html" height="0" width="0"></object>
|
7
|
+
</div>
|
8
|
+
<div class="h-event">
|
9
|
+
<span class="p-name">Building High-Performing JavaScript for Modern Engines</span> -
|
10
|
+
<span class="p-speaker">John-David Dalton</span> and
|
11
|
+
<span class="p-speaker">Amanda Silver</span> -
|
12
|
+
<time class="dt-start" datetime="2012-10-31T11:15:00-08:00">Wed 11:15am</time><object data="#buildconf" class="include" type="text/html" height="0" width="0"></object>
|
13
|
+
</div>
|
14
|
+
|
15
|
+
|
16
|
+
<div id="buildconf">
|
17
|
+
<p class="p-summary">Build Conference</p>
|
18
|
+
<p class="p-location h-adr">
|
19
|
+
<span class="p-locality">Redmond</span>,
|
20
|
+
<span class="p-region">Washington</span>,
|
21
|
+
<span class="p-country-name">USA</span>
|
22
|
+
</p>
|
23
|
+
</div>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
// http://microformat2-node.jit.su/includes.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-event"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["HTML5 & CSS3 latest features in action!"],
|
8
|
+
"speaker": ["David Rousset"],
|
9
|
+
"summary": ["Build Conference"],
|
10
|
+
"start": ["2012-10-30T11:45:00-0800"],
|
11
|
+
"location": [{
|
12
|
+
"value": "Redmond, Washington, USA",
|
13
|
+
"type": ["h-adr"],
|
14
|
+
"properties": {
|
15
|
+
"locality": ["Redmond"],
|
16
|
+
"region": ["Washington"],
|
17
|
+
"country-name": ["USA"],
|
18
|
+
"name": ["Redmond, Washington, USA"]
|
19
|
+
}
|
20
|
+
}]
|
21
|
+
}
|
22
|
+
},{
|
23
|
+
"type": ["h-event"],
|
24
|
+
"properties": {
|
25
|
+
"name": ["Building High-Performing JavaScript for Modern Engines"],
|
26
|
+
"speaker": ["John-David Dalton","Amanda Silver"],
|
27
|
+
"summary": ["Build Conference"],
|
28
|
+
"start": ["2012-10-31T11:15:00-0800"],
|
29
|
+
"location": [{
|
30
|
+
"value": "Redmond, Washington, USA",
|
31
|
+
"type": ["h-adr"],
|
32
|
+
"properties": {
|
33
|
+
"locality": ["Redmond"],
|
34
|
+
"region": ["Washington"],
|
35
|
+
"country-name": ["USA"],
|
36
|
+
"name": ["Redmond, Washington, USA"]
|
37
|
+
}
|
38
|
+
}]
|
39
|
+
}
|
40
|
+
}
|
41
|
+
]
|
42
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/rel.html -->
|
2
|
+
|
3
|
+
<ul>
|
4
|
+
<li><a rel="me" href="http://twitter.com/glennjones">twitter</a></li>
|
5
|
+
<li><a rel="me" href="http://delicious.com/glennjonesnet/">delicious</a></li>
|
6
|
+
<li><a rel="me" href="https://plus.google.com/u/0/105161464208920272734/about">google+</a></li>
|
7
|
+
<li><a rel="me" href="http://lanyrd.com/people/glennjones/">lanyrd</a></li>
|
8
|
+
<li><a rel="me" href="http://github.com/glennjones">github</a></li>
|
9
|
+
<li><a rel="me" href="http://www.flickr.com/photos/glennjonesnet/">flickr</a></li>
|
10
|
+
<li><a rel="me" href="http://www.linkedin.com/in/glennjones">linkedin</a></li>
|
11
|
+
<li><a rel="me" href="http://www.slideshare.net/glennjones/presentations">slideshare</a></li>
|
12
|
+
</ul>
|
@@ -0,0 +1,19 @@
|
|
1
|
+
// http://microformat2-node.jit.su/rel.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["rel"],
|
6
|
+
"properties": {
|
7
|
+
"me": [
|
8
|
+
"http://twitter.com/glennjones",
|
9
|
+
"http://delicious.com/glennjonesnet/",
|
10
|
+
"https://plus.google.com/u/0/105161464208920272734/about",
|
11
|
+
"http://lanyrd.com/people/glennjones/",
|
12
|
+
"http://github.com/glennjones",
|
13
|
+
"http://www.flickr.com/photos/glennjonesnet/",
|
14
|
+
"http://www.linkedin.com/in/glennjones",
|
15
|
+
"http://www.slideshare.net/glennjones/presentations"
|
16
|
+
]
|
17
|
+
}
|
18
|
+
}]
|
19
|
+
}
|
@@ -0,0 +1,21 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/rel.html -->
|
2
|
+
|
3
|
+
<ul>
|
4
|
+
<li><a rel="friend" href="http://example.com/propfile/jane">jane</a></li>
|
5
|
+
<li><a rel="acquaintance" href="http://example.com/propfile/jeo">jeo</a></li>
|
6
|
+
<li><a rel="contact" href="http://example.com/propfile/lily">lily</a></li>
|
7
|
+
<li><a rel="met" href="http://example.com/propfile/oliver">oliver</a></li>
|
8
|
+
<li><a rel="co-worker" href="http://example.com/propfile/emily">emily</a></li>
|
9
|
+
<li><a rel="colleague" href="http://example.com/propfile/jack">jack</a></li>
|
10
|
+
<li><a rel="neighbor" href="http://example.com/propfile/isabella">isabella</a></li>
|
11
|
+
<li><a rel="child" href="http://example.com/propfile/harry">harry</a></li>
|
12
|
+
<li><a rel="parent" href="http://example.com/propfile/sophia">sophia</a></li>
|
13
|
+
<li><a rel="sibling" href="http://example.com/propfile/charlie">charlie</a></li>
|
14
|
+
<li><a rel="spouse" href="http://example.com/propfile/olivia">olivia</a></li>
|
15
|
+
<li><a rel="kin" href="http://example.com/propfile/james">james</a></li>
|
16
|
+
<li><a rel="muse" href="http://example.com/propfile/ava">ava</a></li>
|
17
|
+
<li><a rel="crush" href="http://example.com/propfile/joshua">joshua</a></li>
|
18
|
+
<li><a rel="date" href="http://example.com/propfile/chloe">chloe</a></li>
|
19
|
+
<li><a rel="sweetheart" href="http://example.com/propfile/alfie">alfie</a></li>
|
20
|
+
<li><a rel="me" href="http://example.com/propfile/isla">isla</a></li>
|
21
|
+
</ul>
|
@@ -0,0 +1,26 @@
|
|
1
|
+
// http://microformat2-node.jit.su/rel.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["rel"],
|
6
|
+
"properties": {
|
7
|
+
"friend": ["http://example.com/propfile/jane"],
|
8
|
+
"acquaintance": ["http://example.com/propfile/jeo"],
|
9
|
+
"contact": ["http://example.com/propfile/lily"],
|
10
|
+
"met": ["http://example.com/propfile/oliver"],
|
11
|
+
"co-worker": ["http://example.com/propfile/emily"],
|
12
|
+
"colleague": ["http://example.com/propfile/jack"],
|
13
|
+
"neighbor": ["http://example.com/propfile/isabella"],
|
14
|
+
"child": ["http://example.com/propfile/harry"],
|
15
|
+
"parent": ["http://example.com/propfile/sophia"],
|
16
|
+
"sibling": ["http://example.com/propfile/charlie"],
|
17
|
+
"spouse": ["http://example.com/propfile/olivia"],
|
18
|
+
"kin": ["http://example.com/propfile/james"],
|
19
|
+
"muse": ["http://example.com/propfile/ava"],
|
20
|
+
"crush": ["http://example.com/propfile/joshua"],
|
21
|
+
"date": ["http://example.com/propfile/chloe"],
|
22
|
+
"sweetheart": ["http://example.com/propfile/alfie"],
|
23
|
+
"me": ["http://example.com/propfile/isla"]
|
24
|
+
}
|
25
|
+
}]
|
26
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/rel.html -->
|
2
|
+
|
3
|
+
<div class="h-card">
|
4
|
+
<p><a class="p-name u-url" rel="me" href="http://glennjones.net/">Glenn Jones</a></p>
|
5
|
+
<ul>
|
6
|
+
<li><a rel="me" href="http://twitter.com/glennjones">twitter</a></li>
|
7
|
+
<li><a rel="me" href="http://delicious.com/glennjonesnet/">delicious</a></li>
|
8
|
+
<li><a rel="me" href="https://plus.google.com/u/0/105161464208920272734/about">google+</a></li>
|
9
|
+
<li><a rel="me" href="http://lanyrd.com/people/glennjones/">lanyrd</a></li>
|
10
|
+
<li><a rel="me" href="http://github.com/glennjones">github</a></li>
|
11
|
+
<li><a rel="me" href="http://www.flickr.com/photos/glennjonesnet/">flickr</a></li>
|
12
|
+
<li><a rel="me" href="http://www.linkedin.com/in/glennjones">linkedin</a></li>
|
13
|
+
<li><a rel="me" href="http://www.slideshare.net/glennjones/presentations">slideshare</a></li>
|
14
|
+
</ul>
|
15
|
+
</div>
|
@@ -0,0 +1,42 @@
|
|
1
|
+
// http://microformat2-node.jit.su/rel.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-card"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Glenn Jones"],
|
8
|
+
"url": ["http://glennjones.net/"]
|
9
|
+
},
|
10
|
+
"children": [{
|
11
|
+
"type": ["rel"],
|
12
|
+
"properties": {
|
13
|
+
"me": [
|
14
|
+
"http://glennjones.net/",
|
15
|
+
"http://twitter.com/glennjones",
|
16
|
+
"http://delicious.com/glennjonesnet/",
|
17
|
+
"https://plus.google.com/u/0/105161464208920272734/about",
|
18
|
+
"http://lanyrd.com/people/glennjones/",
|
19
|
+
"http://github.com/glennjones",
|
20
|
+
"http://www.flickr.com/photos/glennjonesnet/",
|
21
|
+
"http://www.linkedin.com/in/glennjones",
|
22
|
+
"http://www.slideshare.net/glennjones/presentations"
|
23
|
+
]
|
24
|
+
}
|
25
|
+
}]
|
26
|
+
},{
|
27
|
+
"type": ["rel"],
|
28
|
+
"properties": {
|
29
|
+
"me": [
|
30
|
+
"http://glennjones.net/",
|
31
|
+
"http://twitter.com/glennjones",
|
32
|
+
"http://delicious.com/glennjonesnet/",
|
33
|
+
"https://plus.google.com/u/0/105161464208920272734/about",
|
34
|
+
"http://lanyrd.com/people/glennjones/",
|
35
|
+
"http://github.com/glennjones",
|
36
|
+
"http://www.flickr.com/photos/glennjonesnet/",
|
37
|
+
"http://www.linkedin.com/in/glennjones",
|
38
|
+
"http://www.slideshare.net/glennjones/presentations"
|
39
|
+
]
|
40
|
+
}
|
41
|
+
}]
|
42
|
+
}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
// http://microformats.org/wiki/microformats-2
|
2
|
+
{
|
3
|
+
"items": [{
|
4
|
+
"type": ["h-card"],
|
5
|
+
"properties": {
|
6
|
+
"name": ["Rohit Khare"],
|
7
|
+
"url": ["http://rohit.khare.org"],
|
8
|
+
"photo": ["https://s3.amazonaws.com/twitter_production/profile_images/53307499/180px-Rohit-sq_bigger.jpg"]
|
9
|
+
}
|
10
|
+
}]
|
11
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- http://microformats.org/wiki/microformats-2 -->
|
2
|
+
<div class="h-card">
|
3
|
+
<img class="u-photo" alt="photo of Mitchell"
|
4
|
+
src="https://webfwd.org/content/about-experts/300.mitchellbaker/mentor_mbaker.jpg"/>
|
5
|
+
<a class="p-name u-url"
|
6
|
+
href="http://blog.lizardwrangler.com/"
|
7
|
+
>Mitchell Baker</a>
|
8
|
+
(<a class="u-url"
|
9
|
+
href="https://twitter.com/MitchellBaker"
|
10
|
+
>@MitchellBaker</a>)
|
11
|
+
<span class="p-org">Mozilla Foundation</span>
|
12
|
+
<p class="p-note">
|
13
|
+
Mitchell is responsible for setting the direction and scope of the Mozilla Foundation and its activities.
|
14
|
+
</p>
|
15
|
+
<span class="p-category">Strategy</span>
|
16
|
+
<span class="p-category">Leadership</span>
|
17
|
+
</div>
|
@@ -0,0 +1,20 @@
|
|
1
|
+
// http://microformats.org/wiki/microformats-2
|
2
|
+
{
|
3
|
+
"items": [{
|
4
|
+
"type": ["h-card"],
|
5
|
+
"properties": {
|
6
|
+
"photo": ["https://webfwd.org/content/about-experts/300.mitchellbaker/mentor_mbaker.jpg"],
|
7
|
+
"name": ["Mitchell Baker"],
|
8
|
+
"url": [
|
9
|
+
"http://blog.lizardwrangler.com/",
|
10
|
+
"https://twitter.com/MitchellBaker"
|
11
|
+
],
|
12
|
+
"org": ["Mozilla Foundation"],
|
13
|
+
"note": ["Mitchell is responsible for setting the direction and scope of the Mozilla Foundation and its activities."],
|
14
|
+
"category": [
|
15
|
+
"Strategy",
|
16
|
+
"Leadership"
|
17
|
+
]
|
18
|
+
}
|
19
|
+
}]
|
20
|
+
}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<!-- http://microformats.org/wiki/microformats-2 -->
|
2
|
+
<div class="h-event">
|
3
|
+
<a class="p-name u-url" href="http://indiewebcamp.com/2012">
|
4
|
+
IndieWebCamp 2012
|
5
|
+
</a>
|
6
|
+
from <time class="dt-start">2012-06-30</time>
|
7
|
+
to <time class="dt-end">2012-07-01</time> at
|
8
|
+
<span class="p-location h-card">
|
9
|
+
<a class="p-name p-org u-url" href="http://geoloqi.com/">
|
10
|
+
Geoloqi
|
11
|
+
</a>,
|
12
|
+
<span class="p-street-address">920 SW 3rd Ave. Suite 400</span>,
|
13
|
+
<span class="p-locality">Portland</span>,
|
14
|
+
<abbr class="p-region" title="Oregon">OR</abbr>
|
15
|
+
</span>
|
16
|
+
</div>
|