UnitFormat

By Ivan Rivera Last update Aug 2, 2008 — Installed 332 times. Daily Installs: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 0
Script Summary:
Parses a web page for microformat-enabled measurement units and provide automatic conversions in a non-intrusive way.

Remotely hosted version

Script homepage

Recently Updated TopicsPosts
Archived Comments2

this script has 1 topic, 2 posts

This script has no reviews.

Provides automatic conversions for measurement units marked up as in this example:

<abbr class="unit USD/mi EUR/km" title="0.45"> 45 cents per mile </abbr>

Conversion results look like this (currency conversions are live on the real thing):

45 cents per mile*

New version: Supports null units to perform base conversions (decimal, binary, octal & hex) and conversions from/to roman numerals:

<abbr class="unit hex decimal" title="0xFF">0xFF</abbr>

This script depends on Google Calculator. Please have a look at Greasemonkey and Microformats (or just look around Brucknerite, my blog) for more documentation.