use: Difference between revisions
Jump to navigation
Jump to search
(resave pre-bot/pre-deletion version, different enough from get-started to be worth a simple update) Tag: Removed redirect |
|||
(9 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
= So you wanna use microformats? = | = 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. | 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... | ||
For example... | |||
* Do you have events information on your site? Then mark those events up with [[hCalendar]]. | * 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]. | ** Start with the [http://microformats.org/code/hcalendar/creator hCalendar creator]. | ||
* Do you have people | * 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]]. | ** Start with the [http://microformats.org/code/hcard/creator hCard creator] and take a look at the [[hcard-examples]]. | ||
* Do you have an explicit copyright license on your content? Then markup the link to your license with [[rel-license | ** Read [[hcard-authoring]] for tips and guidelines on how to best markup existing content with hCard. | ||
* Do you | * 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]]. | * Are you publishing lists or outlines? Then use [[XOXO]]. | ||
* Do you publish reviews? Then use [[hReview]]. | * Do you publish reviews? Then use [[hReview]]. | ||
** Start with the [http://microformats.org/code/hreview/creator hReview creator]. | ** 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: | And here's a few more tips: |
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.
- Start with the hCalendar creator.
- Do you have people, organizations, or contact information? Then mark those up with hCard.
- Start with the 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 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 hReview creator.
- Do you publish press releases? Then use 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.
- Class for meaning not for show
- http://microformats.org/wiki/SemanticXHTMLDesignPrinciples
- Semantic XHTML
- Meaningful XHTML
- Real World Semantics
- need more links here --RyanKing 14:42, 17 Jan 2006 (PST)