Microformat

From Wikipedia, the free encyclopedia

(Redirected from Microformats)
Jump to: navigation, search
Microformat logo
Microformat logo

A microformat (sometimes abbreviated μF or uF) is a web-based[1] data formatting approach that seeks to re-use existing content as metadata, using only XHTML and HTML classes[2] and attributes.[3] This approach is intended to allow information intended for end-users (such as contact information, geographic coordinates, calendar events, and the like) to also be automatically processed by software.

Although the content of web pages is technically already capable of "automated processing," and has been since the inception of the web, there are certain limitations. This is because the traditional markup tags used to display information on the web do not describe what the information means.[4] Microformats are intended to bridge this gap by attaching semantics, and thereby obviate other, more complicated methods of automated processing, such as natural language processing or screen scraping. The use, adoption and processing of microformats enables data items to be indexed, searched for, saved or cross-referenced, so that information can be reused or combined.[4]

Current microformats allow the encoding and extraction of events, contact information, social relationships and so on. More are being developed. Version 3 of the Firefox browser,[5] as well as version 8 of Internet Explorer[6] are expected to include native support for microformats.

Contents

Microformats emerged as part of a grassroots movement[4] to make recognizable data items (such as events, contact details or geographical locations) capable of automated processing by software, as well as directly readable by end-users.[4][7] Link-based microformats emerged first. These include vote links that express opinions of the linked page, which can be tallied into instant polls by search engines.[8]

As the microformats community grew, CommerceNet, a nonprofit organization that promotes electronic commerce on the Internet, helped sponsor and promote the technology and support the microformats community in various ways.[8] CommerceNet also helped co-found the microformats community site microformats.org.[8]

Neither CommerceNet nor Microformats.org is a standards body. The microformats community is an open wiki, mailing list, and Internet relay chat (IRC) channel.[8] Most of the existing microformats were created at the Microformats.org wiki and associated mailing list, by a process of gathering examples of web publishing behaviour, then codifying it. Some other microformats (such as rel=nofollow and unAPI) have been proposed, or developed, elsewhere.

XHTML and HTML standards allow for semantics to be embedded and encoded within the attributes of markup tags. Microformats take advantage of these standards by indicating the presence of metadata using the following attributes:

  • class
  • rel
  • rev (in one case, otherwise deprecated in microformats[3])

For example, in the text "The birds roosted at 52.48,-1.89" is a pair of numbers which may be understood, from their context, to be a set of geographic coordinates. By wrapping them in spans (or other HTML elements) with specific class names (in this case geo, latitude and longitude, all part of the geo microformat specification):

The birds roosted at
    class="geo">
      class="latitude">52.48>,
      class="longitude">-1.89>
   >

machines can be told exactly what each value represents and can then perform a variety of tasks such as indexing it, looking it up on a map and exporting it to a GPS device.

In this example, the contact information is presented as follows:

>
   >Joe Doe>
   >The Example Company>
   >604-555-1234>
    href="http://example.com/">http://example.com/>
 >

With hCard microformat markup, that becomes:

 class="vcard">
    class="fn">Joe Doe>
    class="org">The Example Company>
    class="tel">604-555-1234>
    class="url" href="http://example.com/">http://example.com/>
 >

Here, the formatted name (fn), organisation (org), telephone number (tel) and web address (url) have been identified using specific class names and the whole thing is wrapped in class="vcard", which indicates that the other classes form an hCard (short for "HTML vCard)") and are not merely coincidentally named. Other, optional, hCard classes also exist. It is now possible for software, such as browser plug-ins, to extract the information, and transfer it to other applications, such as an address book.

For annotated examples of microformats on live pages, see HCard#Live example and Geo (microformat)#Three_classes.

Several microformats have been developed to enable semantic markup of particular types of information.

Among the many proposed microformats,[9] the following are undergoing active development:

  • citation - for citing references
  • currency - for amounts of money
  • geo extensions - for places on Mars, The Moon, and other such bodies; for altitude; and for collections of waypoints marking routes or boundaries
  • species - For the names of living things.
  • measurements - For physical quantities, structured data-values.

Using microformats within HTML code provides additional formatting and semantic data that can be used by applications. These could be applications that collect data about on-line resources, such as web crawlers, or desktop applications such as e-mail clients or scheduling software.

Several browser extensions, such as Operator, provide the ability to detect microformats within an HTML document and export them into formats compatible with contact management and calendar utilities, such as Microsoft Outlook.

Microsoft expressed a desire to incorporate Microformats into upcoming projects;[10] as have other software companies.

In Wikipedia - and more generally in MediaWiki - microformats are used as part of templates like {{coord}}.

Various commentators have offered review and discussion on the design principles and practical aspects of microformats. Additionally, microformats have been compared to other approaches that seek to serve the same or similar purpose.[11] From time to time, there is criticism of a single, or all, microformats.[11] Documented efforts to advocate both the spread and use of microformats are known to exist as well.[12] [13] Håkon Wium Lie has said we will see "a bunch of microformats being developed, and that’s how the semantic web will be built." [14]

Rohit Khare has stated that reduce, reuse, and recycle is "shorthand for several design principles" that motivated the development and practices behind microformats.[8][15] These aspects can be summarized as follows:

  • Reduce: favor the simplest solutions and focus attention on specific problems;
  • Reuse: work from experience and favor examples of current practice;
  • Recycle: encourage modularity and the ability to embed, valid XHTML can be reused in blog posts, RSS feeds, and anywhere else you can access the web.[8]

Because some microformats make use of title attribute of HTML's abbr element to conceal machine-readable data (particularly date-times and geographical coordinates) in the "abbr design pattern", the plain text content of the element is inaccessible to those screenreaders that expand abbreviations.[16]

As part of the open participation model of the microformats community, some claim a hard-and-fast rule for participation has been that any specifications resulting from community participation be free from restrictions on use based on intellectual property. This means that microformats must not be limited by copyrights licenses or patents, and must be royalty-free. It is not clear what enforceability, if any, the 'no intellectual property' rule has.

Microformats are not the only solution for providing "more intelligent data" on the web. Alternative approaches exist and are under development as well. For example, the use of XML markup and standards of the semantic web are cited as alternative approaches. [8] Some contrast these with microformats in that they do not necessarily coincide with the design principles of "reduce, reuse, and recycle", at least not to the same extent.[8]

One advocate of microformats, Tantek Çelik, characterized a problem with alternative approaches:

Here's a new language we want you to learn, and now you need to output these additional files on your server. It's a hassle. (Microformats) lower the barrier to entry.[4]

For some applications the use of other approaches may be valid. If one wishes to use microformat-style embedding but the type of data one wishes to embed does not map to an existing microformat, one can use RDFa to embed arbitrary vocabularies into HTML. An example of this would be embedding domain-specific scientific data on the Web like zoological or chemical data, where no microformat for such data exists. Furthermore, standards such as W3C's GRDDL allow microformats to be converted into data compatible with the Semantic Web.[17]

Another advocate of microformats, Ryan King, put the compatibility of microformats with other approaches this way:

Microformats provide an easy way for many people to contribute semantic data to the web. With GRDDL all of that data is made available for RDF Semantic Web tools. Microformats and GRDDL can work together to build a better web. [17]

  1. ^ Microformats may be used in web pages and also any other context that supports HTML and XHTML. This includes RSS.
  2. ^ http://microformats.org/wiki/existing-classes
  3. ^ a b http://microformats.org/wiki/rel-faq
  4. ^ a b c d e “What’s the Next Big Thing on the Web? It May Be a Small, Simple Thing — Microformats,” Knowledge@Wharton, 27 July 2005; http://knowledge.wharton.upenn.edu/index.cfm?fa=printArticle&ID=1247
  5. ^ Microformats (Mozilla Wiki) (2007-05-24). Retrieved on 2007-06-03.
  6. ^ Bounds, Darren (2007-05-02). Microsoft drops hints about Internet Explorer 8. Retrieved on 2007-05-02.
  7. ^ In this context, the definition of "End-user" includes a person reading a web page on a computer screen or mobile device, or an assistive technology software program such as a screen reader.
  8. ^ a b c d e f g h Khare, Rohit. "Microformats: The Next (Small) Thing on the Semantic Web?". IEEE Internet Computing 10 (1): 68-75. 
  9. ^ Microformats' exploratory discussions
  10. ^ Bill Gates at Mix06 - "We need microformats"
  11. ^ a b criticism - microformats. Retrieved on 2007-08-15.
  12. ^ advocacy - microformats. Retrieved on 2007-08-15.
  13. ^ spread-microformats. Retrieved on 2007-08-15.This includes community resources for marketing microformats such as buttons, banners, wallpaper / desktop screens, logo graphics, etc.
  14. ^ future of the web. Retrieved on 2007-11-18.Hakon Wium Lie, who proposed the concept of Cascading Style Sheets, included microformats as components of the future web together with HTML, CSS, JavaScript and DOM.
  15. ^ See, e.g. The Next (Small) Thing on the Semantic Web? pp 71-72.
  16. ^ .hAccessibility. Web Standards Project Accessibility Task Force article (2007-04-27). Retrieved on 2007-08-16.
  17. ^ a b W3C GRDDL Recommendation Bridges HTML/Microformats and the Semantic Web. XML Coverpages (13 September 2007). Retrieved on 2007-11-23.

Advanced Search
Included Web Search Engines


Safe Search

close

Top Matching Results

Occasionally Search.com will highlight specialized results that are based on the context of your query. Examples of specialized results include specific links to news, images, or video.

Top Matching Results may highlight information from other Search.com pages, content from the CNET Network of sites, or third party content. The listings are based purely on relevance. Search.com does not receive payment for listings in this section but our partners that provide this data may get paid for listing these products.

Sponsored Links

This section contains paid listings which have been purchased by companies that want to have their sites appear for specific search terms and related content. These listings are administered, sorted and maintained by a third party and are not endorsed by Search.com.

Search Results

Search.com sends your search query to several search engines at one time and integrates the results into one list which has been sorted by relevance using Search.com's proprietary algorithm. You can customize the list of search engines included in your metasearch from the preferences.

The search engines that are used in your metasearch may allow companies to pay to have their Web sites included within the results. To view the Paid Inclusion policy for a specific search engine, please visit their Web site. Search.com does not accept payment or share revenue with any search engine partner for listings in this section.