2.1 Embedded in a digital object
2.2 Metadata records displayed from databases
Note: Bibliographic databases, digital collections, and digital repositories store metadata records in databases and display the records with a more user-friendly interface. The following examples show how a record could be presented to users and how it is actually encoded or stored in a database.
2.3 Sample records provided by metadata standards or guidelines
Note: Metadata standards usually provide the best practice guides in their specifications. The examples provided focus on the contents rather than the formats. It ensures that metadata elements, structure, and value spaces specified by a standard are correctly understood and controlled when applied to real situations. It is not their intention to provide format guidelines as to how a record should be encoded or displayed.
Note: This is an interactive demo, showing how the webpage's content can be recognized by search engines after embedding semantic metadata.
- Open this file from a text editor or 'view' source' from a browser. (This is the original source code without embedding metadata in the <body> section.) File to open: Code-Before
- Now open this page which added metadata tags. File to open: Code-After
- copy-paste into the Google Testing Tool website again and see what happens.|cached screenshot |
-- the schemas used is schema.org, a search engines-developed collection of many metadata schemas.
- copy-paste into the http://rdfa.info/play/ website again and see what happens. |cached graph view | raw data |
All these can use different syntaxes: HTML5' Microdata, or RDFa
To practice on creating a machine-readable metadata description, check Section 5.