html - Arbitrary table of key/value pairs in a <meta> tag. Any open standard? -
Is there an open standard (microformat 'ish) that specifies an arbitrary table of keys / values in an HTML meta Does the tag exist?
So we say that I have a website about Color, and there was a page about a 5-color palette. I essentially want to express the information shown in the page, in a format that can be messed up by third party services. In this situation, there are five colors to make the palette. Like it:
& lt; Meta name = "data" content = "color1: '#ffff', color 2: '#ffaff', color 3: '#ffffff', color 4: '# 00fff', color5: '# 00ff00'" />
I can roll my own specialty, but I really hate doing so if there is already something present there. There is no need to contaminate the web, which is already a shade of shady standards ...
(PDAs know very well about RDF. I want to specify content in the page .. and there is no need to load another document for data only.)
Also open & lt; Meta & gt;
Content related parameters, but I think if you want all the simple keys / values added, then it will be a good format to use.
& lt; Meta name = 'data' content = '{"key1": "some value", "key 2": "other value"}' />
Comments
Post a Comment