existing-classes: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 55: Line 55:
<td></td>
<td></td>
<td>[[hresume|hResume]]</td>
<td>[[hresume|hResume]]</td>
<td>Current contact info of the object. The <code class="element">&lt;address&gt;</code> with [[hCard]].</td>
<td>Current contact info of the object. The <code class="element">
</tr>
<tr>
<td>country-name </td>
<td>adr, value </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Name of the country for this particular address. </td>
</tr>
<tr>
<td>description</td>
<td>hreview</td>
<td></td>
<td>[[hreview|hReview]] </td>
<td>Full text of the description. (Not to be confused with the much longer &quot;summary&quot;)</td>
</tr>
<tr>
<td>dtend </td>
<td>vevent </td>
<td></td>
<td>[[hcalendar|hCalendar]] </td>
<td>Ending date of the object. </td>
</tr>
<tr>
<td>dtreviewed</td>
<td>hreview</td>
<td></td>
<td>[[hreview|hReview]] </td>
<td>Date the review was written, NOT necessarily when the review took place. </td>
</tr>
<tr>
<td>dtstart</td>
<td>vevent </td>
<td></td>
<td>[[hcalendar|hCalendar]] </td>
<td>Starting date of the object. (Not to be confused with bday) </td>
</tr>
<tr>
<td>education</td>
<td>hresume </td>
<td></td>
<td>[[hresume|hResume]]</td>
<td>Is applied to an hcalendar event to indicate time spent being educated.</td>
</tr>
<tr>
<td>entry-content</td>
<td>hentry</td>
<td></td>
<td>[[hatom|hAtom]]</td>
<td>Content of a weblog/microcontent entry</td>
</tr>
<tr>
<td>entry-summary</td>
<td>hentry</td>
<td></td>
<td>[[hatom|hAtom]]</td>
<td>Summary of a weblog/microcontent entry</td>
</tr>
<tr>
<td>entry-title</td>
<td>hatom</td>
<td></td>
<td>[[hatom|hAtom]]</td>
<td>Title of weblog/microcontent entry</td>
</tr>
<tr>
<td>email </td>
<td>vcard, hreview </td>
<td> type, value</td>
<td>[[hcard|hCard]] </td><td>This object's email address. </td>
</tr>
<tr>
<td>experience</td>
<td>hresume </td>
<td></td>
<td>[[hresume|hResume]]</td>
<td>Is applied to an hcalendar event. Job titles/positions should use an hCard.</td>
</tr>
<tr>
<td>extended-address</td>
<td>adr, value </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Extended address for this particular address.</td>
</tr>
<tr>
<td>fn</td>
<td>vcard, hreview </td>
<td></td>
<td>[[hcard|hCard]]</td>
<td>The name of the object. </td>
</tr>
<tr>
<td>geo </td>
<td>vcard</td>
<td>latitude, longitude </td>
<td>[[hcard|hCard]] </td>
<td>Geographical coordinates of the object.  </td>
</tr>
<tr>
<td>hentry</td>
<td>*webpage, hfeed</td>
<td>entry-title, entry-content, entry-summary, author, updated, published</td>
<td>[[hatom|hAtom]]</td>
<td>A weblog/microcontent entry</td>
</tr>
<tr>
<td>hfeed</td>
<td>*webpage</td>
<td>hentry</td>
<td>[[hatom|hAtom]]</td>
<td>A container for hentrys</td>
</tr>
<tr>
<td>hresume </td>
<td>*webpage</td>
<td>affiliation, contact, education, experience, publications, skill, summary </td>
<td>[[hresume|hResume]]</td>
<td>The resume of some object. </td>
</tr>
<tr>
<td>hreview </td>
<td>*webpage</td>
<td></td>
<td>[[hreview|hReview]]</td>
<td>A review of some object.  </td>
</tr>
<tr>
<td>item </td>
<td>hreview</td>
<td></td>
<td>[[hreview|hReview]] </td>
<td>The item that the object exists for. For example, a review about Coca-Cola would list &quot;Coca-Cola&quot; as the item. </td>
</tr>
<tr>
<td>key </td>
<td>vcard</td>
<td>type, value </td>
<td>[[hcard|hCard]] </td>
<td>Public key of the object</td>
</tr>
<tr>
<td>label </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Formatting to be used by a delivery address label. </td>
</tr>
<tr>
<td>latitude </td>
<td>geo</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>The latitude coordinates of the object.  </td>
</tr>
<tr>
<td>locality </td>
<td>adr, value </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Locality for this particular address. </td>
</tr>
<tr>
<td>location</td>
<td>vevent </td>
<td></td>
<td>[[hcalendar|hCalendar]] </td>
<td>Intended venue of object. (Not to be confused with adr) </td>
</tr>
<tr>
<td>logo </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Object's logo.  </td>
</tr>
<tr>
<td>longitude</td>
<td>geo</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>The longitude coordinates of the object. </td>
</tr>
<tr>
<td>mailer </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Email software used by the object.  </td>
</tr>
<tr>
<td>n </td>
<td>vcard</td>
<td> additional-name, family-name, given-name, honorific-prefix, honorific-suffix, nickname</td>
<td>[[hcard|hCard]] </td><td>The name of the unit </td>
</tr>
<tr>
<td>note </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Supplemental information about the object.  </td>
</tr>
<tr>
<td>org </td>
<td>vcard</td>
<td>organization-name, organization-unit</td>
<td>[[hcard|hCard]] </td><td>The organization or company of the object. </td>
</tr>
<tr>
<td>organization-name </td>
<td>org</td>
<td></td>
<td>[[hcard|hCard]] </td><td>The name of the organization or company of the object. </td>
</tr>
<tr>
<td>organization-unit </td>
<td>org</td>
<td></td>
<td>[[hcard|hCard]] </td><td>The unit or department of the object. </td>
</tr>
<tr>
<td>permalink </td>
<td>hreview</td>
<td></td>
<td>[[hreview|hReview]] </td>
<td>A link to the object. This link should never become invalid. Used in &lt;a&gt; </td>
</tr>
<tr>
<td>photo </td>
<td>vcard, hreview </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>A photo of the object.  Used in &lt;img&gt; </td>
</tr>
<tr>
<td>post-office-box </td>
<td>adr, value </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Post office box number of this particular address.  </td>
</tr>
<tr>
<td>postal-code</td>
<td>adr, value</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Postal code for this particular address. </td>
</tr>
<tr>
<td>profile</td>
<td>*webpage</td>
<td></td>
<td>XMDP</td>
<td>Contains metadata types and definitions. Used in &lt;dl&gt; </td>
</tr>
<tr>
<td>publications</td>
<td>hresume </td>
<td></td>
<td>[[hresume|hResume]]</td>
<td>Publications the object has produced.  Just use <code class="element">&lt;cite&gt;</code>.  When there is a [[citation]] microformat, then that can be used in combination with the cite element to further markup the components of the citation.</td>
</tr>
<tr>
<td>published</td>
<td>hentry</td>
<td></td>
<td>[[hatom|hAtom]]</td>
<td>Publish date of a weblog/microcontent entry</td>
</tr>
<tr>
<td>rating </td>
<td>hreview</td>
<td></td>
<td>[[hreview|hReview]] </td>
<td>Rating of 1-5 or 0-10 of the object. </td>
</tr>
<tr>
<td>region</td>
<td>adr, value </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Region of this particular address. </td>
</tr>
<tr>
<td>rev </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]]</td>
<td>Specifies revision of the [[hcard|hCard]]. </td>
</tr>
<tr>
<td>reviewer </td>
<td>hreview</td>
<td>vcard</td>
<td>[[hreview|hReview]] </td>
<td>Person that wrote the review of the object. </td>
</tr>
<tr>
<td>role </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Information regarding the role of the object. </td>
</tr>
<tr>
<td>skill</td>
<td>hresume </td>
<td></td>
<td>[[hresume|hResume]]</td>
<td>Phrases or keywords, using the rel-tag microformat with the class name 'skill', to indicate certain skills or abilities the object posseses.</td>
</tr>
<tr>
<td>sort-string </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]] </td><td>String used to sort this object in an alphabetical list. </td>
</tr>
<tr>
<td>sound </td>
<td>*any</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Audio reading back another element's content. By default, the &quot;fn&quot;.  </td>
</tr>
<tr>
<td>street-address </td>
<td>adr, value </td>
<td></td>
<td>[[hcard|hCard]]</td>
<td>Street address of this particular address. </td>
</tr>
<tr>
<td>summary </td>
<td>vevent , hreview, hresume </td>
<td></td>
<td>[[hcalendar|hCalendar]] </td>
<td>A short summary or subject for the object.  </td>
</tr>
<tr>
<td>tel </td>
<td>vcard</td>
<td> type, value</td>
<td>[[hcard|hCard]] </td>
<td>Telephone number of the object </td>
</tr>
<tr>
<td>title </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Job title or functional position of the object.</td>
</tr>
<tr>
<td>type </td>
<td>adr, email, tel </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Defines a type of the parent element. For instance a type of telephone number such as  home or work..  Used in conjunction with "value". </td>
</tr>
<tr>
<td>tz </td>
<td>vcard</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>The timezone the object is in. </td>
</tr>
<tr>
<td>uid </td>
<td>*any</td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Globally unique identifier associated with the object, or one of the object's properties. </td>
</tr>
<tr>
<td>updated</td>
<td>hentry</td>
<td></td>
<td>[[hatom|hAtom]]</td>
<td>Last updated date of a weblog/microcontent entry</td>
</tr>
<tr>
<td>url </td>
<td>vcard, vevent , hreview </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>A link to the this object's home page or extended profile.  Used in &lt;a&gt; </td>
</tr>
<tr>
<td>value </td>
<td>adr, email, tel </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Used in conjunction with "type". The actual value of a particular type. For instance a telephone number of type work such as +1.415.555.1212.  </td>
</tr>
<tr>
<td>vcalendar</td>
<td>*webpage</td>
<td>vevent</td>
<td>[[hcalendar|hCalendar]] </td>
<td>A list of calendar events.  </td>
</tr>
<tr>
<td>vcard </td>
<td>*webpage, vevent </td>
<td></td>
<td>[[hcard|hCard]] </td>
<td>Indicates that this element and all containing elements are part of the [[hcard|hCard]] microformat. </td>
</tr>
<tr>
<td> vevent  </td>
<td>*webpage, vcalendar </td>
<td></td>
<td>[[hcalendar|hCalendar]]</td>
<td>Indicates that this element and all contained elements are part of the [[hcalendar|hCalendar]] format. </td>
</tr>
<tr>
<td>version</td>
<td>hreview</td>
<td></td>
<td>[[hreview|hReview]] </td>
<td>Version of the format used for the object.  </td>
</tr>
<tr>
<td>xoxo </td>
<td>*webpage</td>
<td></td>
<td>[[xoxo|XOXO]]</td>
<td>An outline of data. Used in &lt;ul&gt; and &lt;ol&gt;. </td>
</tr>
</table>
 
= See Also =
 
* [[naming-principles|microformats naming principles]] to understand how semantic class names are selected

Revision as of 18:12, 23 June 2007

Class Names Across All Microformats

Term Parents Children Origin Quick Definition
adr vcard country-name, extended-address, locality, postal-code, post-office-box, street-address,region, type, value hCard Address of the object.
affiliation hresume hResume Is used along with an hcard of the organization to indicate a relationship or affiliation.
author hentry hAtom Author of a weblog/microcontent entry
bday vcard hCard The birth date of the object.
category vcard, hreview hCard Application category of the object.
class vcard hCard The access classification of the object. For example, public or private.
contact hresume hResume Current contact info of the object. The