Skip to content

Instantly share code, notes, and snippets.

@sbussard
Created June 13, 2013 19:22
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 sbussard/5776558 to your computer and use it in GitHub Desktop.
Save sbussard/5776558 to your computer and use it in GitHub Desktop.
if all meta information was stored in a meta file it would be one step closer toward a more semantic web. meta.json could replace all html meta tags, robots.txt, humans.txt, and add the ability to map pages to ontologies through the use of selectors.
// created for apple.com/contact
"{
'language': 'en-us',
'charset': 'utf-8',
'author': 'Apple Inc.',
'omni_page': 'How to Contact Us',
'publish-date': 'May 12, 2013',
'sitemap': 'http://www.apple.com/sitemap',
'shortcut-icon': 'http://www.apple.com/favicon.ico',
'viewport': 'width=1024',
'robots': [{
'user-agent': '*',
'disallow': []
}],
ontology: {
'url': '',
'address': 'address',
'navigation': '#globalnav'
}
}"
@sbussard
Copy link
Author

ontologies could link to documentation that describes parsing specifications so that developers don't have to use a ridiculous number of tags (like they do using microformats)

@sbussard
Copy link
Author

if all meta information was stored in a meta file it would be one step closer toward a more semantic web. meta.json could replace all html meta tags, robots.txt, humans.txt, and add the ability to map pages to ontologies through the use of selectors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment