This XHTML+RDFa Exemplar Page is served via
content-negotiation (PHP on the Server side) as Content
Type application/xhtml+xml with XML
declaration to Browsers that recognize that MIME type
and as Content Type text/html without XML
declaration to Microsoft Internet Explorer Browsers,
which do not recognize the Content Type
application/xhtml+xml.
Note: W3C RDFa in XHTML: Syntax and Processing - Conformance Requirements specifies that "XHTML+RDFa documents SHOULD be labeled with the Internet Media Type "application/xhtml+xml"" as defined in RFC3236.
I composed this page to illustrate the use of the XHTML+RDFa Doctype/DTD, and the syntax of three primary RDFa attributes | about | property | typeof | together with example FOAF and Creative Commons constructs -- for those who might want to experiment with creating XHTML+RDFa pages. Check the source code to observe the RDFa syntax and constructs.
Pertinent References and Resources:
- RDFa Wiki - Primary Learning and Help facility.
- W3C RDFa in XHTML: Syntax and Processing.
- W3C RDFa Primer.
- Steven Pemberton's (W3C) RDFa for HTML Authors
- Dublin Core Metadata Initiative.
- FOAF Vocabulary Specification.
- Friend of a Friend (FOAF) project.
- FOAF-a-Matic - FOAF Creation.
Author: James Pickering | Last Update: 2009-07-28 | Validation Results:
- W3C Markup Validation for this page.
- W3C CSS Validation for this page.
- DC RDF Validation for this page (W3C Validator).
- FOAF RDF Validation for this page (W3C Validator).
Note: RDFa elements not yet cataloged for the XML Schema Validator.
Following are depictions of how this page is being served to a representative selection of typical Graphical Browsers:
FOAF example listing - link is to an RDF/XML document:
- Bev Pick - Name.
- Bev - Given Name.
- Pick - Family Name.
- Mrs - Title.
Install the Firefox Tabulator Extension to display the FOAF data tabulation.
Example Creative Commons license:
Creative
Commons Attribution-Share Alike 3.0 United States License.
Attribution: As specified by the License holder (Usually the Web
Page author).
Creative Commons license information can also be included using markup based on that of The Creative Commons Rights Expression Language -- attribution: