weight

From IndieWeb
Jump to: navigation, search


weight is a type of metrics post documenting the weight of a person at a specific time.

IndieWeb Examples

Aaron Parecki

Aaron currently publishes his weight on his site as a list of h-entry posts (example).

In addition to a human-readable text version of the measurement, the values are marked up with custom properties to make the parsed version machine readable.

HTML:

"Weighed <data class="p-weight">153.2lbs</data> (<data class="p-weight">69.7kg</data>) <data class="p-bodyfat" value="0.1691">16.9%</data> body fat"

Parsed JSON:

"name": [
  "Weighed 153.2lbs (69.7kg) 16.9% body fat"
],
"weight": [
  "153.2lbs",
  "69.7kg"
],
"bodyfat": [
  "0.1691"
],
"published": [
  "2013-10-09T08:19:00-07:00"
],

Ben Roberts

Ben publishes his weight on his site as a list of h-entry posts (feed) as of 2016-12-27 https://ben.thatmustbe.me/weight/2016/12/27/9/ with backfilled data to the previous week.

<h2 class="h-measure p-weight">
  Weight: <data class="p-num" value="247.4">247.4</data><data class="p-unit" value="lbs">lbs</data>
</h2>

IndieWebCat

Dora publishes her weight on her site as a list of h-entry posts

https://indiewebcat.com/weight