use: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
(http://12abjdhoaz.blogspot.com/ has been moved, it is now a redirect to get-started)
(resave pre-bot/pre-deletion version, different enough from get-started to be worth a simple update)
Tag: Removed redirect
 
Line 1: Line 1:
#REDIRECT:[[get-started]]
= So you wanna use microformats? =
 
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. Many common kinds of content can be marked up in microformats. Chances are, you already have some of them on your site. Start with the obvious ones. For example...
 
* Do you have events information on your site? Then mark those events up with [[hCalendar]].
** Start with the [http://microformats.org/code/hcalendar/creator hCalendar creator].
* Do you have people, organizations, or contact information? Then mark those up with [[hCard]].
** Start with the [http://microformats.org/code/hcard/creator hCard creator] and take a look at the [[hcard-examples]].
** Read [[hcard-authoring]] for tips and guidelines on how to best markup existing content with hCard.
* Do you have an explicit copyright license on your content? Then markup the link to your license with [[rel-license]].
* Do you publish social network / relationship info? Then mark that up with [http://gmpg.org/xfn/ XFN].
* Are you tagging things? Then use [[rel-tag]] (for your own stuff) or [[xFolk]] (for tagging any URL).
* Are you publishing lists or outlines? Then use [[XOXO]].
* Do you publish reviews? Then use [[hReview]].
** Start with the [http://microformats.org/code/hreview/creator hReview creator].
* Do you publish press releases? Then use [[hatom|hAtom]].
 
And here's a few more tips:
 
* Try to produce clean, semantic xhtml. Often this will get you very close to microformats on its own.
** [http://tantek.com/log/2004/07.html#classmeaningnotshow Class for meaning not for show]
** http://microformats.org/wiki/SemanticXHTMLDesignPrinciples
** [http://tantek.com/presentations/20040928sdforumws/semantic-xhtml.html Semantic XHTML]
** [http://tantek.com/presentations/2005/03/elementsofxhtml Meaningful XHTML]
** [http://www.tantek.com/presentations/2004etech/realworldsemanticspres.html Real World Semantics]
** ''need more links here'' --[[User:RyanKing|RyanKing]] 14:42, 17 Jan 2006 (PST)

Latest revision as of 16:50, 28 August 2020

So you wanna use microformats?

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. Many common kinds of content can be marked up in microformats. Chances are, you already have some of them on your site. Start with the obvious ones. For example...

  • Do you have events information on your site? Then mark those events up with hCalendar.
  • Do you have people, organizations, or contact information? Then mark those up with hCard.
  • Do you have an explicit copyright license on your content? Then markup the link to your license with rel-license.
  • Do you publish social network / relationship info? Then mark that up with XFN.
  • Are you tagging things? Then use rel-tag (for your own stuff) or xFolk (for tagging any URL).
  • Are you publishing lists or outlines? Then use XOXO.
  • Do you publish reviews? Then use hReview.
  • Do you publish press releases? Then use hAtom.

And here's a few more tips: