Snip
|
Microdata is a proposed feature of HTML 5 that allows se... information to be embedded within the markup of a web pa...
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
Microdata is a proposed feature of HTML 5 that allows semantically relevant information to be embedded within the markup of a web page. This allows one to create a secondary structure and meaning for the content of a page.
One of the most interesting features of the Microdata spec for me, is the idea of API access to data in a web page. Basically, using simple Microdata constructs, one can embed the structure required for API access to the data on the page.
The library allows one to parse out the structured Microdata from a page and return it as XML or JSON, essentially meaning that if one builds a site using microdata, one can instantly produce an API that gives people access to the data in that site, without maintaining a separate code base for th e API.
HTML |
<p>Microdata is a proposed feature of HTML 5 that allows semantically relevant information to be embedded within the markup of a web page. This allows one to create a secondary structure and meaning for the content of a page.</p> <h2>Why PHP Microdata?</h2> <p>One of the most interesting features of the Microdata spec for me, is the idea of API access to data in a web page. Basically, using simple Microdata constructs, one can embed the structure required for API access to the data on the page. </p> <p>The library allows one to parse out the structured Microdata from a page and return it as XML or JSON, essentially meaning that if one builds a site using microdata, one can instantly produce an API that gives people access to the data in that site, without maintaining a separate code base for th e API.</p> |
---|