Skip to content

Commit 83e5e69

Browse files
committed
Cleaned $ from price examples, added priceCurrency properties.
1 parent 0682d29 commit 83e5e69

File tree

1 file changed

+47
-27
lines changed

1 file changed

+47
-27
lines changed

data/examples.txt

Lines changed: 47 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1066,7 +1066,7 @@ by <a itemprop="author" href="/author/jd_salinger.html">J.D. Salinger</a>
10661066
</div>
10671067

10681068
<div itemprop="offers" itemscope itemtype="http://schema.org/Offer">
1069-
Price: <span itemprop="price">$6.99</span>
1069+
Price: <span itemprop="price" content="6.99">$6.99</span>
10701070
<meta itemprop="priceCurrency" content="USD" />
10711071
<link itemprop="availability" href="http://schema.org/InStock">In Stock
10721072
</div>
@@ -1124,7 +1124,7 @@ by <a property="author" href="/author/jd_salinger.html">J.D. Salinger</a>
11241124
</div>
11251125

11261126
<div property="offers" typeof="Offer">
1127-
Price: <span property="price">$6.99</span>
1127+
Price: <span property="price" content="6.99">$6.99</span>
11281128
<meta property="priceCurrency" content="USD" />
11291129
<link property="availability" href="http://schema.org/InStock">In Stock
11301130
</div>
@@ -1182,7 +1182,7 @@ JSON:
11821182
"offers": {
11831183
"@type": "Offer",
11841184
"availability": "http://schema.org/InStock",
1185-
"price": "$6.99",
1185+
"price": "6.99",
11861186
"priceCurrency": "USD"
11871187
},
11881188
"publisher": "Little, Brown, and Company",
@@ -7816,7 +7816,8 @@ JSON:
78167816
"@type": "Book",
78177817
"name": "Outliers"
78187818
},
7819-
"price": "US$ 50"
7819+
"price": "50",
7820+
"priceCurrency": "USD"
78207821
}
78217822
</script>
78227823

@@ -7881,7 +7882,8 @@ JSON:
78817882
"@type": "Person",
78827883
"name": "John"
78837884
},
7884-
"price": "US$ 10",
7885+
"price": "10",
7886+
"priceCurrency": "USD"
78857887
"recipient": {
78867888
"@type": "Person",
78877889
"name": "Steve"
@@ -7950,7 +7952,8 @@ JSON:
79507952
"@type": "Person",
79517953
"name": "John"
79527954
},
7953-
"price": "US$ 1,500",
7955+
"price": "1500",
7956+
"priceCurrency": "USD",
79547957
"purpose": {
79557958
"@type": "Flight",
79567959
"name": "AA123"
@@ -7987,7 +7990,8 @@ JSON:
79877990
"@type": "Flight",
79887991
"name": "AA123"
79897992
},
7990-
"price": "US$ 1,500"
7993+
"price": "1500",
7994+
"priceCurrency": "UDC"
79917995
}
79927996
</script>
79937997

@@ -8088,7 +8092,8 @@ JSON:
80888092
"@type": "Person",
80898093
"name": "John"
80908094
},
8091-
"price": "US$ 10",
8095+
"price": "10",
8096+
"priceCurrency": "USD"
80928097
"recipient": {
80938098
"@type": "Person",
80948099
"name": "Steve"
@@ -8265,7 +8270,8 @@ JSON:
82658270
"@type": "Person",
82668271
"name": "John"
82678272
},
8268-
"price": "US$ 10",
8273+
"price": "10",
8274+
"priceCurrency": "USD"
82698275
"recipient": {
82708276
"@type": "Person",
82718277
"name": "Steve"
@@ -9107,7 +9113,8 @@ MICRODATA:
91079113
<div class="event-time">9:30 PM</div>
91089114

91099115
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
9110-
<div class="event-price" itemprop="price">$13.00</div>
9116+
<div class="event-price" itemprop="price" content="13.00">$13.00</div>
9117+
<span itemprop="priceCurrency" content="USD" />
91119118
<a itemprop="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
91129119
</span>
91139120
</div>
@@ -9132,8 +9139,9 @@ RDFA:
91329139
<div class="event-time">9:30 PM</div>
91339140

91349141
<span property="offers" typeof="Offer">
9135-
<div class="event-price" property="price">$13.00</div>
9136-
<a property="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
9142+
<div class="event-price" property="price" content="13.00">$13.00</div>
9143+
<span property="priceCurrency" content="USD" />
9144+
<a property="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
91379145
</span>
91389146
</div>
91399147

@@ -9157,7 +9165,8 @@ JSON:
91579165
"name": "Typhoon with Radiation City",
91589166
"offers": {
91599167
"@type": "Offer",
9160-
"price": "$13.00",
9168+
"price": "13.00",
9169+
"priceCurrency": "USD",
91619170
"url": "http://www.ticketfly.com/purchase/309433"
91629171
},
91639172
"startDate": "Sat Sep 14"
@@ -9210,7 +9219,8 @@ MICRODATA:
92109219
<div class="event-time">9:30 PM</div>
92119220

92129221
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
9213-
<div class="event-price" itemprop="price">$13.00</div>
9222+
<div class="event-price" itemprop="price" content="13.00">$13.00</div>
9223+
<span itemprop="priceCurrency" content="USD" />
92149224
<a itemprop="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
92159225
</span>
92169226
</div>
@@ -9262,7 +9272,8 @@ JSON:
92629272
"name": "CANCELLED - Typhoon with Radiation City",
92639273
"offers": {
92649274
"@type": "Offer",
9265-
"price": "$13.00",
9275+
"price": "13.00",
9276+
"priceCurrency": "USD",
92669277
"url": "http://www.ticketfly.com/purchase/309433"
92679278
},
92689279
"startDate": "Sat Sep 14"
@@ -9310,8 +9321,9 @@ MICRODATA:
93109321
</div>
93119322
<div class="event-time">10:00 PM</div>
93129323
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
9313-
<div class="event-price" itemprop="price">$13.00</div>
9314-
<a itemprop="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
9324+
<div class="event-price" itemprop="price" content="13.00">$13.00</div>
9325+
<span itemprop="priceCurrency" content="USD" />
9326+
<a itemprop="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
93159327
</span>
93169328
</div>
93179329

@@ -9334,8 +9346,9 @@ RDFA:
93349346
</div>
93359347
<div class="event-time">10:00 PM</div>
93369348
<span property="offers" typeof="Offer">
9337-
<div class="event-price" property="price">$13.00</div>
9338-
<a property="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
9349+
<div class="event-price" property="price" content="13.00">$13.00</div>
9350+
<span property="priceCurrency" content="USD" />
9351+
<a property="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
93399352
</span>
93409353
</div>
93419354

@@ -9358,7 +9371,8 @@ JSON:
93589371
},
93599372
{
93609373
"@type": "Offer",
9361-
"price": "$13.00",
9374+
"price": "13.00",
9375+
"priceCurrency": "USD",
93629376
"url": "http://www.ticketfly.com/purchase/309433"
93639377
}
93649378
]
@@ -9408,8 +9422,9 @@ MICRODATA:
94089422
<span itemprop="offers" itemscope itemtype="http://schema.org/Offer">
94099423
<meta itemprop="availability" content="http://schema.org/SoldOut">
94109424

9411-
<div class="event-price" itemprop="price">$13.00</div>
9412-
<a itemprop="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
9425+
<div class="event-price" itemprop="price" content="13.00">$13.00</div>
9426+
<span itemprop="priceCurrency" content="USD" />
9427+
<a itemprop="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
94139428
</span>
94149429
</div>
94159430

@@ -9435,7 +9450,8 @@ RDFA:
94359450
<span property="offers" typeof="Offer">
94369451
<meta property="availability" content="http://schema.org/SoldOut">
94379452

9438-
<div class="event-price" property="price">$13.00</div>
9453+
<div class="event-price" property="price" content="13.00">$13.00</div>
9454+
<span property="priceCurrency" content="USD" />
94399455
<a property="url" href="http://www.ticketfly.com/purchase/309433">Tickets</a>
94409456
</span>
94419457
</div>
@@ -9461,7 +9477,8 @@ JSON:
94619477
"offers": {
94629478
"@type": "Offer",
94639479
"availability": "http://schema.org/SoldOut",
9464-
"price": "$13.00",
9480+
"price": "13.00",
9481+
"priceCurrency": "USD",
94659482
"url": "http://www.ticketfly.com/purchase/309433"
94669483
},
94679484
"startDate": "Sat Sep 14"
@@ -10533,7 +10550,8 @@ MICRODATA:
1053310550

1053410551
<div itemprop="offers" itemscope="" itemtype="http://schema.org/Offer">
1053510552
<link itemprop="url" href="/examples/ticket/12341234" />
10536-
<meta itemprop="price" content="$40"/>
10553+
<meta itemprop="price" content="40"/>
10554+
<meta itemprop="priceCurrency" content="USD" />
1053710555
<meta itemprop="availability" href="http://schema.org/InStock"/>
1053810556
</div>
1053910557

@@ -10600,7 +10618,8 @@ RDFA:
1060010618

1060110619
<div property="offers" typeof="Offer">
1060210620
<link property="url" href="/examples/ticket/12341234"/>
10603-
<meta property="price" content="$40"/>
10621+
<meta property="price" content="40"/>
10622+
<meta property="priceCurrency" content="USD" />
1060410623
<meta property="availability" href="http://schema.org/InStock"/>
1060510624
</div>
1060610625

@@ -10664,7 +10683,8 @@ JSON:
1066410683
"offers": {
1066510684
"@type": "Offer",
1066610685
"url": "/examples/ticket/12341234",
10667-
"price": "$40",
10686+
"price": "40",
10687+
"priceCurrency": "USD",
1066810688
"availability": "http://schema.org/InStock"
1066910689
},
1067010690
"performer": [

0 commit comments

Comments
 (0)