User:Dantman/Output Metadata/Example Output

This is an example of the output we hope to make possible with an api to add global metadata to the page.

This page would be generated from extensions desiring to output the following metadata:
 * Global RDFa data:
 * Global Microdata:
 * A http://schema.org/WebPage item with the following data:
 * name[literal]: Example
 * url[url]: http://wiki.example.com/

Note some key important facts:
 * We don't want the api to go implying types based on the format of the data. eg: A  should not implicitly make RDFa or Microdata output give of URL semantics like the use of instead of.
 * Our goal is NOT for this to be the api used for all Microdata and RDFa metadata. It is ONLY meant for global metadata attached to the page itself. Hence there will be no api support for nesting RDFa about's inside of URIs (though technically you won't need an api to make that association to stuff you put in the markup normally) or for the nesting of other itemprop+itemscope items connected to the Microdata added by this api.
 * Given updates in RDFa and our HTML5 support this output would actually use profile not xmlns. But may use xmlns in XHTML mode (as long as we still support that).