use: Difference between revisions

From Microformats Wiki
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
 
(8 intermediate revisions by 6 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 and their contact information? Then mark those up with [[hCard]].
* 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|relLicense]].  
** Read [[hcard-authoring]] for tips and guidelines on how to best markup existing content with hCard.
* Do you have social networking data? Then mark that up with [http://gmpg.org/xfn/ XFN]. Are you tagging things? Then use [[rel-tag|relTag]] or [[xFolk]].  
* 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]].
* Do you publish press releases? Then use [[hatom|hAtom]].
 
You see, 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.


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.
  • 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: