background preloader

Web sémantique & formats standards

Facebook Twitter

Microformats vs RDFa vs Microdata « Philip Jägenstedt. Warning: The microdata syntax has changed (e.g. item="foo" is now itemscope itemtype="foo") since this blog post was written.

Microformats vs RDFa vs Microdata « Philip Jägenstedt

Don’t copy the examples. I spent last weekend with my good friend Emil sketching a REST-style interface for his graph database Neo4j. One of the output formats we wanted was plain HTML for easy debugging via the browser. Microformats. DeveloperWorks : XML : Exploring Semantic Web Technologies. DeveloperWorks : XML : Technical library view. Utilisation de microformats - MDC. Cette page vient d'être traduite, mais elle a besoin d'un relecteur différent du traducteur.

Utilisation de microformats - MDC

Pensez également à toujours vérifier le contenu avec sa toute dernière version en anglais. Les microformats permettent aux sites Web de fournir des données sémantiques au navigateur afin que celui-ci puisse présenter un résumé des informations présentes sur une page sans avoir à connaître de manière particulière d'analyser son contenu. Firefox 3 implémente un objet global Microformats permettant d'accéder aux microformats. Cet objet et l'API associée facilitent la recherche et la lecture de microformats. Chargement de l'API des microformats. Using microformats - MDC. Microformats allow web sites to provide semantic data to the browser in order to make it possible to present summaries of the information on a page without having to know how to parse the document itself.

Using microformats - MDC

Firefox 3 implements a global Microformats object that provides access to microformats. This object and its API make finding and reading microformats easy to do. Loading the microformats API The Microformats object is created using the new JavaScript script loader added to Firefox 3. To use the API, you need to first load the object: Operator - Modules pour Firefox. Tails Export. MozCC.

List of microformats

Poshformats. Poshformats are data formats constructed from the use of semantic class names. microformats are the proper subset of poshformats which have been developed via the microformats process and principles. origin.

poshformats

Xmdp. XMDP - XHTML Meta Data Profiles. XMDP™ (XHTML Meta Data Profiles) is a simple XHTML-based format for defining HTML meta data profiles easy to read and write by both humans and machines.

XMDP - XHTML Meta Data Profiles

The markup is a profile of XHTML. To find out how to write and use XMDP, read the following sections: Introduction, Description and Example Introduction to XMDP, description of the format, and an example of an XMDP profile. XMDP: Introduction and Format Description. Author(s) Tantek Çelik Introduction HTML4 has several mechanisms for describing meta data, the most well known being the <meta> element.

XMDP: Introduction and Format Description

Xmdp-fr. Microformats. Microformats-fr. Les.

microformats-fr

Microdata (HTML5) Microdata is a WHATWG HTML specification used to nest metadata within existing content on web pages.[1] Search engines, web crawlers, and browsers can extract and process Microdata from a web page and use it to provide a richer browsing experience for users.

Microdata (HTML5)

Search engines benefit greatly from direct access to this structured data because it allows search engines to understand the information on web pages and provide more relevant results to users.[2][3] Microdata uses a supporting vocabulary to describe an item and name-value pairs to assign values to its properties.[4] Microdata is an attempt to provide a simpler[citation needed] way of annotating HTML elements with machine-readable tags than the similar approaches of using RDFa and microformats. Microdata vocabularies provide the semantics, or meaning of an Item. Web developers can design a custom vocabulary or use vocabularies available on the web. Here is the same markup with added Schema.org[5][6][7] Microdata: Schema.org. Getting Started. Most webmasters are familiar with HTML tags on their pages.

Getting Started

Usually, HTML tags tell the browser how to display the information included in the tag. For example, <h1>Avatar</h1> tells the browser to display the text string "Avatar" in a heading 1 format. However, the HTML tag doesn't give any information about what that text string means—"Avatar" could refer to the hugely successful 3D movie, or it could refer to a type of profile picture—and this can make it more difficult for search engines to intelligently display relevant content to a user.

Schema.org provides a collection of shared vocabularies webmasters can use to mark up their pages in ways that can be understood by the major search engines: Google, Microsoft, Yandex and Yahoo! 1. 1a. FAQ. What is the purpose of schema.org?

FAQ

Why are Google, Bing, Yandex and Yahoo! Collaborating? Aren't you competitors? There are lots of schemas out there. Why create a new one? Is schema.org a standards body like the W3C or IETF ? Schema.org Discussions. Types Full Hierarchy. Data-Vocabulary.org. HTML Microdata. Abstract This specification defines the HTML microdata mechanism. This mechanism allows machine-readable data to be embedded in HTML documents in an easy-to-write manner, with an unambiguous parsing model. It is compatible with numerous other data formats including RDF and JSON. Status of This document This section describes the status of this document at the time of its publication. 5 Microdata — HTML5 (including next generation additions still i. Microdata 5.1 Introduction 5.1.1 Overview This section is non-normative.

Sometimes, it is desirable to annotate content with specific machine-readable labels, e.g. to allow generic scripts to provide services that are customised to the page, or to enable content from a variety of cooperating authors to be processed by a single script in a consistent manner. For this purpose, authors can use the microdata features described in this section. 5.1.2 The basic syntax. HTML Microdata. Microdata rdf.

List of microdatas / RDFa

Microdata support for Rich Snippets. Webmaster Level: All HTML5 is the fifth major revision of HTML, the core language of the World Wide Web. RDFa. RDFa (or Resource Description Framework in Attributes[1]) is a W3C Recommendation that adds a set of attribute-level extensions to HTML, XHTML and various XML-based document types for embedding rich metadata within Web documents.

The RDF data-model mapping enables its use for embedding RDF subject-predicate-object expressions within XHTML documents. It also enables the extraction of RDF model triples by compliant user agents. The RDFa community runs a wiki website to host tools, examples, and tutorials.[2] History[edit] RDFa was first proposed by Mark Birbeck in the form of a W3C note entitled XHTML and RDF,[3] which was then presented to the Semantic Web Interest Group at the W3C's 2004 Technical Plenary.[3] Later that year the work became part of the sixth public Working Draft of XHTML 2.0.[4][5] Although it is generally assumed that RDFa was originally intended only for XHTML 2, in fact the purpose of RDFa was always to provide a way to add a metadata to any XML-based language.

RDFa. Un article de Wikipédia, l'encyclopédie libre. RDFa (pour "Resource Description Framework dans des Attributs") est une recommandation du W3C définissant une syntaxe permettant d'ajouter des données structurées dans une page HTML ou n'importe quel document XML. Ainsi formellement décrites, les données peuvent alors faire l'objet de traitements automatisés complexes, via des outils adaptés. Le code RDFa est invisible pour l'internaute et n'affecte pas ce qui est affiché.

RDFa. RDFa Primer. 1 Introduction The web is a rich, distributed repository of interconnected information organized primarily for human consumption. On a typical web page, an XHTML author might specify a headline, then a smaller sub-headline, a block of italicized text, a few paragraphs of average-size text, and, finally, a few single-word links. Web browsers will follow these presentation instructions faithfully.

However, only the human mind understands that the headline is, in fact, the blog post title, the sub-headline indicates the author, the italicized text is the article's publication date, and the single-word links are categorization labels. The gap between what programs and humans understand is large. What if the browser received information on the meaning of a web page's visual elements? About RDFa. Introduction to RDFa. RDFa (“Resource Description Framework in attributes”) is having its five minutes of fame: Google is beginning to process RDFa and Microformats as it indexes websites, using the parsed data to enhance the display of search results with “rich snippets.” Yahoo! , meanwhile, has been processing RDFa for about a year. With these two giants of search on the same trajectory, a new kind of web is closer than ever before.

The web is designed to be consumed by humans, and much of the rich, useful information our websites contain, is inaccessible to machines. People can cope with all sorts of variations in layout, spelling, capitalization, color, position, and so on, and still absorb the intended meaning from the page. RDFa. RDFa is a way of expressing RDF in XHTML. Creative Commons uses RDFa to express license and other information about works for the semantic web. When you select a license in our license chooser, you are given a snippet of HTML that contains RDFa.

Sites like Thingiverse have implemented RDFa across their platform so that every object uploaded expresses semantic information about itself to machines. By using RDFa, Creative Commons is helping build the semantic web.

Comparisons between semantic web formats

Rich Snippets Testing Tool. U.