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,67 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/h-recipe.html -->
|
2
|
+
|
3
|
+
<section class="hrecipe"><h1 class="p-name">Yorkshire Puddings</h1>
|
4
|
+
<p class="p-summary">Makes <span class="p-yield">6 good sized Yorkshire puddings</span>, the way my mum taught me</p>
|
5
|
+
|
6
|
+
|
7
|
+
<p><img class="u-photo" src="http://codebits.glennjones.net/semantic/yorkshire-puddings.jpg"></p>
|
8
|
+
|
9
|
+
<span class="p-review h-review-aggregate">
|
10
|
+
<span class="p-rating">
|
11
|
+
<span class="p-average">4.5</span> stars out 5 based on </span>
|
12
|
+
<span class="p-count">35</span> reviews</span>
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
<div id="ingredients-container">
|
17
|
+
<h3>Ingredients</h3>
|
18
|
+
<ul>
|
19
|
+
<li class="e-ingredient">1 egg</li>
|
20
|
+
<li class="e-ingredient">75g plain flour</li>
|
21
|
+
<li class="e-ingredient">70ml milk</li>
|
22
|
+
<li class="e-ingredient">60ml water</li>
|
23
|
+
<li class="e-ingredient">Pinch of salt</li>
|
24
|
+
</ul>
|
25
|
+
</div>
|
26
|
+
|
27
|
+
<h3>Time</h3>
|
28
|
+
<ul>
|
29
|
+
<li class="prepTime">Preparation <span class="value-title" title="PT0H10M">10 mins</span>
|
30
|
+
</li>
|
31
|
+
<li class="cookTime">Cook <span class="value-title" title="PT0H25M">25 mins</span>
|
32
|
+
</li>
|
33
|
+
</ul>
|
34
|
+
<h3>Instructions</h3>
|
35
|
+
<div class="e-instructions">
|
36
|
+
<ol>
|
37
|
+
<li>Pre-heat oven to 230C or gas mark 8. Pour the vegetable oil evenly into 2 x 4-hole
|
38
|
+
Yorkshire pudding tins and place in the oven to heat through.</li>
|
39
|
+
|
40
|
+
<li>To make the batter, add all the flour into a bowl and beat in the eggs until smooth.
|
41
|
+
Gradually add the milk and water while beating the mixture. It should be smooth and
|
42
|
+
without lumps. Finally add a pinch of salt.</li>
|
43
|
+
|
44
|
+
<li>Make sure the oil is piping hot before pouring the batter evenly into the tins.
|
45
|
+
Place in the oven for 20-25 minutes until pudding have risen and look golden brown</li>
|
46
|
+
</ol>
|
47
|
+
</div>
|
48
|
+
|
49
|
+
<h3>Nutrition</h3>
|
50
|
+
<ul id="nutrition-list">
|
51
|
+
<li class="nutrition">Calories: <span class="calories">125</span>
|
52
|
+
</li>
|
53
|
+
<li class="nutrition">Fat: <span class="fat">3.2g</span>
|
54
|
+
</li>
|
55
|
+
<li class="nutrition">Cholesterol: <span class="cholesterol">77mg</span>
|
56
|
+
</li>
|
57
|
+
</ul>
|
58
|
+
<p>(Amount per pudding)</p>
|
59
|
+
|
60
|
+
<p>
|
61
|
+
Published on <time class="dt-published" datetime="2011-10-27">27 Oct 2011</time> by
|
62
|
+
<span class="p-author h-card">
|
63
|
+
<a class="p-name u-url" href="http://glennjones.net">Glenn Jones</a>
|
64
|
+
</span>
|
65
|
+
</p>
|
66
|
+
<a href="http://www.flickr.com/photos/dithie/4106528495/">Photo by dithie</a>
|
67
|
+
</section>
|
@@ -0,0 +1,51 @@
|
|
1
|
+
// http://microformat2-node.jit.su/h-recipe.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [ {
|
5
|
+
"type": ["h-recipe"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Yorkshire Puddings"],
|
8
|
+
"summary": ["Makes 6 good sized Yorkshire puddings, the way my mum taught me"],
|
9
|
+
"yield": ["6 good sized Yorkshire puddings"],
|
10
|
+
"photo": ["http://codebits.glennjones.net/semantic/yorkshire-puddings.jpg"],
|
11
|
+
"review": [
|
12
|
+
{
|
13
|
+
"value": "4.5 stars out 5 based on 35 reviews",
|
14
|
+
"type": ["h-review-aggregate"],
|
15
|
+
"properties": {
|
16
|
+
"rating": ["4.5 stars out 5 based on"],
|
17
|
+
"average": ["4.5"],
|
18
|
+
"count": ["35"],
|
19
|
+
"name": ["4.5 stars out 5 based on 35 reviews"]
|
20
|
+
}
|
21
|
+
}
|
22
|
+
],
|
23
|
+
"ingredient": [
|
24
|
+
"1 egg",
|
25
|
+
"75g plain flour",
|
26
|
+
"70ml milk",
|
27
|
+
"60ml water",
|
28
|
+
"Pinch of salt"
|
29
|
+
],
|
30
|
+
"instructions": [
|
31
|
+
"\n \n Pre-heat oven to 230C or gas mark 8. Pour the vegetable oil evenly into 2 x 4-hole \n Yorkshire pudding tins and place in the oven to heat through. \n \n To make the batter, add all the flour into a bowl and beat in the eggs until smooth. \n Gradually add the milk and water while beating the mixture. It should be smooth and \n without lumps. Finally add a pinch of salt.\n \n Make sure the oil is piping hot before pouring the batter evenly into the tins. \n Place in the oven for 20-25 minutes until pudding have risen and look golden brown\n \n "
|
32
|
+
],
|
33
|
+
"nutrition": [
|
34
|
+
"Calories: 125",
|
35
|
+
"Fat: 3.2g",
|
36
|
+
"Cholesterol: 77mg"
|
37
|
+
],
|
38
|
+
"published": ["2011-10-27"],
|
39
|
+
"author": [
|
40
|
+
{
|
41
|
+
"value": "Glenn Jones",
|
42
|
+
"type": ["h-card"],
|
43
|
+
"properties": {
|
44
|
+
"name": ["Glenn Jones"],
|
45
|
+
"url": ["http://glennjones.net"]
|
46
|
+
}
|
47
|
+
}
|
48
|
+
]
|
49
|
+
}
|
50
|
+
}]
|
51
|
+
}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
+
|
3
|
+
<div class="h-resume">
|
4
|
+
<p class="p-name">Tim Berners-Lee</p>
|
5
|
+
<p class="p-summary">Invented the World Wide Web.</p>
|
6
|
+
<hr>
|
7
|
+
<div class="p-contact h-card">
|
8
|
+
<p class="p-name">MIT</p>
|
9
|
+
<p>
|
10
|
+
<span class="p-street-address">32 Vassar Street</span>,
|
11
|
+
<span class="p-extended-address">Room 32-G524</span>,
|
12
|
+
<span class="p-locality">Cambridge</span>,
|
13
|
+
<span class="p-region">MA</span>
|
14
|
+
<span class="p-postal-code">02139</span>,
|
15
|
+
<span class="p-country-name">USA</span>.
|
16
|
+
</p>
|
17
|
+
<p>Tel:<span class="p-tel">+1 (617) 253 5702</span></p>
|
18
|
+
<p>Email:<a class="u-email" href="mailto:timbl@w3.org">timbl@w3.org</a></p>
|
19
|
+
</div>
|
20
|
+
</div>
|
@@ -0,0 +1,39 @@
|
|
1
|
+
// http://microformat2-node.jit.su/h-resume.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-resume"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Tim Berners-Lee"],
|
8
|
+
"summary": ["Invented the World Wide Web."],
|
9
|
+
"contact": [{
|
10
|
+
"value": "MIT 32 Vassar Street, Room 32-G524, Cambridge, MA 02139, USA. Tel:+1 (617) 253 5702 Email:timbl@w3.org",
|
11
|
+
"type": ["h-card"],
|
12
|
+
"properties": {
|
13
|
+
"name": ["MIT"],
|
14
|
+
"street-address": ["32 Vassar Street"],
|
15
|
+
"extended-address": ["Room 32-G524"],
|
16
|
+
"locality": ["Cambridge"],
|
17
|
+
"region": ["MA"],
|
18
|
+
"postal-code": ["02139"],
|
19
|
+
"country-name": ["USA"],
|
20
|
+
"tel": ["+1 (617) 253 5702"],
|
21
|
+
"email": ["mailto:timbl@w3.org"]
|
22
|
+
}
|
23
|
+
}]
|
24
|
+
}
|
25
|
+
},{
|
26
|
+
"type": ["h-card"],
|
27
|
+
"properties": {
|
28
|
+
"name": ["MIT"],
|
29
|
+
"street-address": ["32 Vassar Street"],
|
30
|
+
"extended-address": ["Room 32-G524"],
|
31
|
+
"locality": ["Cambridge"],
|
32
|
+
"region": ["MA"],
|
33
|
+
"postal-code": ["02139"],
|
34
|
+
"country-name": ["USA"],
|
35
|
+
"tel": ["+1 (617) 253 5702"],
|
36
|
+
"email": ["timbl@w3.org"]
|
37
|
+
}
|
38
|
+
}]
|
39
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
+
|
3
|
+
<div class="h-resume">
|
4
|
+
<p class="p-name">Tim Berners-Lee</p>
|
5
|
+
<div class="p-contact h-card">
|
6
|
+
<p class="p-title">Director of the World Wide Web Foundation</p>
|
7
|
+
</div>
|
8
|
+
<p class="p-summary">Invented the World Wide Web.</p>
|
9
|
+
<hr>
|
10
|
+
<div class="p-experience h-event h-card">
|
11
|
+
<p class="p-title">Director</p>
|
12
|
+
<p><a class="p-name p-org u-url" href="http://www.webfoundation.org/">World Wide Web Foundation</a></p>
|
13
|
+
<p>
|
14
|
+
<time class="dt-start" datetime="2009-01-18">Jan 2009</time> – Present
|
15
|
+
<time class="dt-duration" datetime="P2Y11M">(2 years 11 month)</time></p>
|
16
|
+
</div>
|
17
|
+
</div>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
// http://microformat2-node.jit.su/h-resume.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-resume"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Tim Berners-Lee"],
|
8
|
+
"summary": ["Invented the World Wide Web."],
|
9
|
+
"contact": [{
|
10
|
+
"value": "Director of the World Wide Web Foundation",
|
11
|
+
"type": ["h-card"],
|
12
|
+
"properties": {
|
13
|
+
"name": ["Director of the World Wide Web Foundation"],
|
14
|
+
"title": ["Director of the World Wide Web Foundation"]
|
15
|
+
}
|
16
|
+
}],
|
17
|
+
"experience": [{
|
18
|
+
"value": "Director World Wide Web Foundation Jan 2009 - Present (2 years 11 month)",
|
19
|
+
"type": ["h-event", "h-card"],
|
20
|
+
"properties": {
|
21
|
+
"name": ["World Wide Web Foundation"],
|
22
|
+
"org": ["World Wide Web Foundation"],
|
23
|
+
"url": ["http://www.webfoundation.org/"],
|
24
|
+
"start": ["2009-01-18"],
|
25
|
+
"duration": ["P2Y11M"]
|
26
|
+
}
|
27
|
+
}]
|
28
|
+
}
|
29
|
+
},{
|
30
|
+
"type": ["h-card"],
|
31
|
+
"properties": {
|
32
|
+
"name": ["Director of the World Wide Web Foundation"],
|
33
|
+
"title": ["Director of the World Wide Web Foundation"]
|
34
|
+
}
|
35
|
+
},{
|
36
|
+
"type": ["h-event"],
|
37
|
+
"properties": {
|
38
|
+
"name": ["World Wide Web Foundation"],
|
39
|
+
"org": ["World Wide Web Foundation"],
|
40
|
+
"url": ["http://www.webfoundation.org/"],
|
41
|
+
"start": ["2009-01-18"],
|
42
|
+
"duration": ["P2Y11M"]
|
43
|
+
}
|
44
|
+
},{
|
45
|
+
"type": ["h-card"],
|
46
|
+
"properties": {
|
47
|
+
"name": ["World Wide Web Foundation"],
|
48
|
+
"org": ["World Wide Web Foundation"],
|
49
|
+
"url": ["http://www.webfoundation.org/"],
|
50
|
+
"start": ["2009-01-18"],
|
51
|
+
"duration": ["P2Y11M"]
|
52
|
+
}
|
53
|
+
}]
|
54
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
+
|
3
|
+
<div class="h-resume">
|
4
|
+
<p class="p-name">Tim Berners-Lee</p>
|
5
|
+
<div class="p-contact h-card">
|
6
|
+
<p class="p-title">Director of the World Wide Web Foundation</p>
|
7
|
+
</div>
|
8
|
+
<p class="p-summary">Invented the World Wide Web.</p>
|
9
|
+
<hr>
|
10
|
+
<p class="p-education h-event h-card">
|
11
|
+
<span class="p-name p-org">The Queen's College, Oxford University</span>,
|
12
|
+
<span class="p-description">BA Hons (I) Physics</span>
|
13
|
+
<time class="dt-start" datetime="1973-09">1973</time> –
|
14
|
+
<time class="dt-end" datetime="1976-06">1976</time></p>
|
15
|
+
</div>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
// http://microformat2-node.jit.su/h-resume.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-resume"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Tim Berners-Lee"],
|
8
|
+
"summary": ["Invented the World Wide Web."],
|
9
|
+
"contact": [{
|
10
|
+
"value": "Director of the World Wide Web Foundation",
|
11
|
+
"type": ["h-card"],
|
12
|
+
"properties": {
|
13
|
+
"name": ["Director of the World Wide Web Foundation"],
|
14
|
+
"title": ["Director of the World Wide Web Foundation"]
|
15
|
+
}
|
16
|
+
}],
|
17
|
+
"education": [{
|
18
|
+
"value": "The Queen's College, Oxford University, BA Hons (I) Physics 1973 - 1976",
|
19
|
+
"type": ["h-event", "h-card"],
|
20
|
+
"properties": {
|
21
|
+
"name": ["The Queen's College, Oxford University"],
|
22
|
+
"org": ["The Queen's College, Oxford University"],
|
23
|
+
"description": ["BA Hons (I) Physics"],
|
24
|
+
"start": ["1973-09"],
|
25
|
+
"end": ["1976-06"]
|
26
|
+
}
|
27
|
+
}]
|
28
|
+
}
|
29
|
+
},{
|
30
|
+
"type": ["h-card"],
|
31
|
+
"properties": {
|
32
|
+
"name": ["Director of the World Wide Web Foundation"],
|
33
|
+
"title": ["Director of the World Wide Web Foundation"]
|
34
|
+
}
|
35
|
+
},{
|
36
|
+
"type": ["h-event"],
|
37
|
+
"properties": {
|
38
|
+
"name": ["The Queen's College, Oxford University"],
|
39
|
+
"org": ["The Queen's College, Oxford University"],
|
40
|
+
"description": ["BA Hons (I) Physics"],
|
41
|
+
"start": ["1973-09"],
|
42
|
+
"end": ["1976-06"]
|
43
|
+
}
|
44
|
+
},{
|
45
|
+
"type": ["h-card"],
|
46
|
+
"properties": {
|
47
|
+
"name": ["World Wide Web Foundation"],
|
48
|
+
"org": ["World Wide Web Foundation"],
|
49
|
+
"url": ["http://www.webfoundation.org/"],
|
50
|
+
"start": ["2009-01-18"],
|
51
|
+
"duration": ["P2Y11M"]
|
52
|
+
}
|
53
|
+
}]
|
54
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
+
|
3
|
+
<div class="h-resume">
|
4
|
+
<p>
|
5
|
+
<span class="p-name">Tim Berners-Lee</span>,
|
6
|
+
<span class="p-summary">invented the World Wide Web</span>.
|
7
|
+
</p>
|
8
|
+
Skills:
|
9
|
+
<ul>
|
10
|
+
<li class="p-skill">information systems</li>
|
11
|
+
<li class="p-skill">advocacy</li>
|
12
|
+
<li class="p-skill">leadership</li>
|
13
|
+
<ul></ul>
|
14
|
+
</ul>
|
15
|
+
</div>
|
@@ -0,0 +1,12 @@
|
|
1
|
+
// http://microformat2-node.jit.su/h-resume.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-resume"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Tim Berners-Lee"],
|
8
|
+
"summary": ["invented the World Wide Web"],
|
9
|
+
"skill": ["information systems", "advocacy", "leadership"]
|
10
|
+
}
|
11
|
+
}]
|
12
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!-- http://microformat2-node.jit.su/h-resume.html -->
|
2
|
+
|
3
|
+
<div class="h-resume">
|
4
|
+
<p>
|
5
|
+
<span class="p-name">Tim Berners-Lee</span>,
|
6
|
+
<span class="p-summary">invented the World Wide Web</span>.
|
7
|
+
</p>
|
8
|
+
Belongs to following groups:
|
9
|
+
<p>
|
10
|
+
<a class="p-affiliation h-card" href="http://www.w3.org/">
|
11
|
+
<img class="p-name u-photo" alt="W3C" src="http://www.w3.org/Icons/WWW/w3c_home_nb.png"></a>
|
12
|
+
</p>
|
13
|
+
</div>
|
@@ -0,0 +1,27 @@
|
|
1
|
+
// http://microformat2-node.jit.su/h-resume.html
|
2
|
+
|
3
|
+
{
|
4
|
+
"items": [{
|
5
|
+
"type": ["h-resume"],
|
6
|
+
"properties": {
|
7
|
+
"name": ["Tim Berners-Lee"],
|
8
|
+
"summary": ["invented the World Wide Web"],
|
9
|
+
"affiliation": [{
|
10
|
+
"value": "",
|
11
|
+
"type": ["h-card"],
|
12
|
+
"properties": {
|
13
|
+
"name": ["W3C"],
|
14
|
+
"photo": ["http://www.w3.org/Icons/WWW/w3c_home_nb.png"],
|
15
|
+
"url": ["http://www.w3.org/"]
|
16
|
+
}
|
17
|
+
}]
|
18
|
+
}
|
19
|
+
},{
|
20
|
+
"type": ["h-card"],
|
21
|
+
"properties": {
|
22
|
+
"name": ["W3C"],
|
23
|
+
"photo": ["http://www.w3.org/Icons/WWW/w3c_home_nb.png"],
|
24
|
+
"url": ["http://www.w3.org/"]
|
25
|
+
}
|
26
|
+
}]
|
27
|
+
}
|