implement: Difference between revisions
Jump to navigation
Jump to search
AndyMabbett (talk | contribs) m (]]) |
(noted get started page, added link to higher level semantic XHTML page) |
||
Line 1: | Line 1: | ||
<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 20: | Line 22: | ||
* 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: | ||
** [[semantic | ** [[POSH]] | ||
** [[semantic XHTML]] | |||
** [http://tantek.com/presentations/20040928sdforumws/semantic-xhtml.html Semantic (X)HTML] | ** [http://tantek.com/presentations/20040928sdforumws/semantic-xhtml.html Semantic (X)HTML] | ||
** [http://tantek.com/presentations/2005/03/elementsofxhtml Meaningful (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] |
Revision as of 19:25, 21 October 2007
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:
- Try to produce clean, semantic (X)HTML. Often this will get you very close to microformats on its own.
- Read some background material: