Skip to content

Instantly share code, notes, and snippets.

@JeniT
Created August 16, 2011 22:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JeniT/1150357 to your computer and use it in GitHub Desktop.
Save JeniT/1150357 to your computer and use it in GitHub Desktop.
microdata document metadata
<html>
<head itemscope itemid=".">
<base href="http://www.example.org/jo/blog" />
<title>Jo's Friends and Family Blog</title>
<link itemprop="http://xmlns.com/foaf/0.1/primaryTopic" href="#bbq" />
<meta itemprop="http://purl.org/dc/terms/creator" content="Jo" />
</head>
<body>
...
</body>
</html>
{
"items": [
{
"id": "http://www.example.org/jo/blog",
"properties": {
"http://xmlns.com/foaf/0.1/primaryTopic": [
"http://www.example.org/jo/blog#bbq"
],
"http://purl.org/dc/terms/creator": [
"Jo"
]
}
}
]
}
{
"items": [
{
"id": "http://foolip.org/microdatajs/live/",
"properties": {
"http://xmlns.com/foaf/0.1/primaryTopic": [
"http://foolip.org/microdatajs/live/#bbq"
],
"http://purl.org/dc/terms/creator": [
"Jo"
]
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment