implement: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (link)
(reverting spam)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
=So you want to implement microformats?=
acellaeltmo
<h1>So you want to implement microformats?</h1>
 
'''This page needs updating.  See [[get-started]].'''


Microformats are designed to be similar to current markup styles. This means that it is quite possible that you won't have to do much work to produce microformats on your site.
Microformats are designed to be similar to current markup styles. This means that it is quite possible that you won't have to do much work to produce microformats on your site.
Line 8: Line 11:
* Do you have people, or organisation,s and their contact information? Then mark those up with [[hcard|hCard]].  
* Do you have people, or organisation,s and their contact information? Then mark those up with [[hcard|hCard]].  
* Do you publish waypoints, or other coordinates? Mark them up with [[geo|Geo]].
* Do you publish waypoints, or other coordinates? Mark them up with [[geo|Geo]].
* Do you have an explicit copyright license on your content? Then markup the link to your license with [[rel-license|rel=license]].  
* Do you have an explicit copyright license on your content? Then mark up the link to your license with [[rel-license|rel=license]].  
* Do you have social networking data? Then mark that up with [http://gmpg.org/xfn XFN]. Are you using tagging? Then use [[rel-tag|rel=tag]] or [[xfolk|xFolk]].  
* Do you have social networking data? Then mark that up with [http://gmpg.org/xfn XFN]. Are you using tagging? Then use [[rel-tag|rel=tag]] or [[xfolk|xFolk]].  
* Are you publishing lists? Then use [[xoxo|XOXO]].  
* Are you publishing lists? Then use [[xoxo|XOXO]].  
Line 20: Line 23:
* Try to produce clean, semantic [[(X)HTML]]. Often this will get you very close to microformats on its own.
* Try to produce clean, semantic [[(X)HTML]]. Often this will get you very close to microformats on its own.
* Read some background material:
* Read some background material:
** http://microformats.org/wiki/SemanticXHTMLDesignPrinciples
** [[POSH]]
** [http://tantek.com/presentations/20040928sdforumws/semantic-xhtml.html Semantic XHTML]
** [[semantic XHTML]]
** [http://tantek.com/presentations/2005/03/elementsofxhtml Meaningful XHTML]
** [http://tantek.com/presentations/20040928sdforumws/semantic-xhtml.html Semantic (X)HTML]
** [http://tantek.com/presentations/2005/03/elementsofxhtml Meaningful (X)HTML]
** [http://www.tantek.com/presentations/2004etech/realworldsemanticspres.html Real World Semantics]
** [http://www.tantek.com/presentations/2004etech/realworldsemanticspres.html Real World Semantics]

Latest revision as of 22:39, 20 December 2008

acellaeltmo

So you want to implement microformats?

This page needs updating. See get-started.

Microformats are designed to be similar to current markup styles. This means that it is quite possible that you won't have to do much work to produce microformats on your site.

For example:

  • Do you publish events information on your site? Then mark those events up with hCalendar.
  • Do you have people, or organisation,s and their contact information? Then mark those up with hCard.
  • Do you publish waypoints, or other coordinates? Mark them up with Geo.
  • Do you have an explicit copyright license on your content? Then mark up the link to your license with rel=license.
  • Do you have social networking data? Then mark that up with XFN. Are you using tagging? Then use rel=tag or xFolk.
  • Are you publishing lists? Then use XOXO.
  • Do you publish reviews? Then use hReview.
  • Do you publish feeds? Then use hAtom.

You see many common kinds of content can be marked up in microformats and chances are you already have some of them on your site. Start with the obvious ones.

Here are a few more tips: