measure-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (move new (and more cmplex) examples after earlier examples)
Line 2: Line 2:


This page collects examples of measures on the Web.
This page collects examples of measures on the Web.
== [http://www.ebay.com eBay] ==
Search for "feet", "mpg", "mph", "sec" on eBay, you will find examples similar to the following ones:
<pre>
<h1 class="itemTitle">S-Video TV Out 1.5m 5 Feet Extension S Video DVD Cable</h1>
</pre>
<pre>
<li>Measures 60" (1.5m) long</li>
<li>Extend your S-video cable by 1.5m long</li>
</pre>
<pre>
<DIV><BR><STRONG>Power:<BR></STRONG>
<LI>620 hp @ 5,200 rpm
<LI>650 lb-ft @ 4,000 rpm <BR><BR><B>Performance:</B>
<LI>0 - 60 mph: 3.7 sec. * </LI></DIV>
<DIV>
<LI>1/4 mile: 12.1 sec. @ 114 mph</LI></DIV>
<DIV>
</pre>
== [http://www.royalpalmshotel.com/ Royal Palms Hotel] ==
* Use of "hightemp" as class name
* Link to a page with detailed weather
<pre>
<div id="nav-weather-footer">
  Local Time: <span id="localtime">11:52 am</span><br />Local Temp: <a href="weather.php"><span class="hightemp">88F/31</span>C</a> </div>
</pre>
On the [http://www.royalpalmshotel.com/weather.php web page] with detailed weather.
* Use of "temp" as class name
* Use of "high" for high temperature (this would be more relevant for a weather forecast microformat)
* Use of "low" for low temperature (this would be more relevant for a weather forecast microformat)
<pre>
<td class="temp">
  <br/>
  Rain Showers Likely
  <div class="high">Hi: 88&deg;F</div>
  <div class="low">Lo: 67&deg;F</div>
</td>
</pre>
== [http://physics.nist.gov/cuu/Constants/index.html National Institute of Standards and Technology] ==
== [http://physics.nist.gov/cuu/Constants/index.html National Institute of Standards and Technology] ==
un-POSH Table-based template, the measurement and its uncertainity are on separate table rows:
un-POSH Table-based template, the measurement and its uncertainity are on separate table rows:
Line 64: Line 113:
</td>
</td>
</tr>
</tr>
</pre>
== [http://www.ebay.com eBay] ==
Search for "feet", "mpg", "mph", "sec" on eBay, you will find examples similar to the following ones:
<pre>
<h1 class="itemTitle">S-Video TV Out 1.5m 5 Feet Extension S Video DVD Cable</h1>
</pre>
<pre>
<li>Measures 60" (1.5m) long</li>
<li>Extend your S-video cable by 1.5m long</li>
</pre>
<pre>
<DIV><BR><STRONG>Power:<BR></STRONG>
<LI>620 hp @ 5,200 rpm
<LI>650 lb-ft @ 4,000 rpm <BR><BR><B>Performance:</B>
<LI>0 - 60 mph: 3.7 sec. * </LI></DIV>
<DIV>
<LI>1/4 mile: 12.1 sec. @ 114 mph</LI></DIV>
<DIV>
</pre>
== [http://www.royalpalmshotel.com/ Royal Palms Hotel] ==
* Use of "hightemp" as class name
* Link to a page with detailed weather
<pre>
<div id="nav-weather-footer">
  Local Time: <span id="localtime">11:52 am</span><br />Local Temp: <a href="weather.php"><span class="hightemp">88F/31</span>C</a> </div>
</pre>
On the [http://www.royalpalmshotel.com/weather.php web page] with detailed weather.
* Use of "temp" as class name
* Use of "high" for high temperature (this would be more relevant for a weather forecast microformat)
* Use of "low" for low temperature (this would be more relevant for a weather forecast microformat)
<pre>
<td class="temp">
  <br/>
  Rain Showers Likely
  <div class="high">Hi: 88&deg;F</div>
  <div class="low">Lo: 67&deg;F</div>
</td>
</pre>
</pre>



Revision as of 13:49, 15 December 2007

Measure Examples

This page collects examples of measures on the Web.

eBay

Search for "feet", "mpg", "mph", "sec" on eBay, you will find examples similar to the following ones:

<h1 class="itemTitle">S-Video TV Out 1.5m 5 Feet Extension S Video DVD Cable</h1>
<li>Measures 60" (1.5m) long</li>
<li>Extend your S-video cable by 1.5m long</li>
<DIV><BR><STRONG>Power:<BR></STRONG>
<LI>620 hp @ 5,200 rpm 
<LI>650 lb-ft @ 4,000 rpm <BR><BR><B>Performance:</B> 
<LI>0 - 60 mph: 3.7 sec. * </LI></DIV>
<DIV>
<LI>1/4 mile: 12.1 sec. @ 114 mph</LI></DIV>
<DIV>

Royal Palms Hotel

  • Use of "hightemp" as class name
  • Link to a page with detailed weather
<div id="nav-weather-footer">
   Local Time: <span id="localtime">11:52 am</span><br />Local Temp: <a href="weather.php"><span class="hightemp">88F/31</span>C</a>	</div>

On the web page with detailed weather.

  • Use of "temp" as class name
  • Use of "high" for high temperature (this would be more relevant for a weather forecast microformat)
  • Use of "low" for low temperature (this would be more relevant for a weather forecast microformat)
<td class="temp">
   <br/>
   Rain Showers Likely
   <div class="high">Hi: 88°F</div>
   <div class="low">Lo: 67°F</div>
</td>

National Institute of Standards and Technology

un-POSH Table-based template, the measurement and its uncertainity are on separate table rows:

<tr valign="bottom">
	<td bgcolor="#cce2f3" align="right">
		Value</td>
	<td nowrap="" bgcolor="#cce2f3">
		<font size="4" color="red">
			<tt><b>
			9.109 382 15 x 10 <sup>-31</sup>kg</b>
			</tt>
		</font>
	</td>
</tr>
<tr valign="bottom">
	<td bgcolor="#cce2f3" align="right">
		Standard uncertainty</td>
	<td bgcolor="#cce2f3">
		<font size="4" color="black">
			<tt><b>0.000 000 45 x 10 <sup>-31</sup>kg</b>
			</tt>
		</font>
	</td>
</tr>

bbc.co.uk 5-days weather forecast

<abbr> title attribute to describe the unit-measure.

<td class="weathertext" bgcolor="#ffffcc" align="center" headers="w2">
	<div class="tempsym">
		<span class="temptxt">
			15 
				<abbr title="Day Temperature in degrees Celsius">
					°C
				</abbr>
		</span>
	</div>
</td>

a Scientific Journal, Experimental Thermal and Fluid Science

HTML articles only available to subscribers, Unit-measures are present only in the table headers, which are not connected with the data-values with the correct semantic headers/scope HTML arguments. Many similar HTML-Tables found in other scientific journals.

In order to skip HTML parsing, data is often shared by means of extra txt/csv files, a measure microformat would be most useful in such cases.

<tr valign="top">
	<td>
	</td>
	<td>
		0.030 (m)
	</td>
	<td>
		0.0002
	</td>
	<td align="char" char=".">
		0.7
	</td>
	<td align="char" char=".">
		0.7
	</td>
</tr>

XML solutions/proposals for measures

And finally...

Other units of measurement

See also