Last active
December 14, 2015 11:38
-
-
Save jonathantneal/5080478 to your computer and use it in GitHub Desktop.
Microformats 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="h-card"> | |
<div class="p-name"> | |
<div class="p-given-name">Barack</div> | |
<div class="p-family-name">Obama</div> | |
</div> | |
<div class="p-org">United States of America</div> | |
<div class="p-role">President</div> | |
<div class="p-email">president@whitehouse.gov</div> | |
<div class="p-tel">202-456-1111</div> | |
<div class="p-tel-note">Please don't call after 6pm. He's having dinner with his family.</div> | |
<div class="p-adr"> | |
<div class="p-street-address">1600 Pennsylvania Avenue</div> | |
<div class="p-locality">Washington</div> | |
<div class="p-region">DC</div> | |
<div class="p-postal-code">20500</div> | |
</div> | |
<div class="p-adr-note">Look for the large, white building with men hiding in the bushes.</div> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"items": [{ | |
"type": ["h-card"], | |
"properties": { | |
"name": ["Barack Obama"], | |
"given-name": ["Barack"], | |
"family-name": ["Obama"], | |
"org": ["United States of America"], | |
"role": ["President"], | |
"email": ["president@whitehouse.gov"], | |
"tel": ["202-456-1111"], | |
"tel-note": ["Please don't call after 6pm. He's having dinner with his family."], | |
"adr": ["1600 Pennsylvania Avenue Washington DC 20500"], | |
"street-address": ["1600 Pennsylvania Avenue"], | |
"locality": ["Washington"], | |
"region": ["DC"], | |
"postal-code": ["20500"], | |
"adr-note": ["Look for the large, white building with men hiding in the bushes."] | |
} | |
}] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment