item-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
Line 26: Line 26:


* URI: http://corkd.com/
* URI: http://corkd.com/
* Example: http://corkd.com/wine/view/13482
* class="item": the item being reviewed
* class="fn": the name of the item being reviewed
* Note that class="description" are not part of the item, they're part of the review!
* [[hreview|hReview]] used for each user review: <pre><nowiki>
&lt;div id="review_9285" class="hreview">
  &lt;h5 class="item">&lt;span class="fn">Cellarium Bisencii 2005 Muškát moravský&lt;/span>&lt;/h5>
  &lt;abbr class="dtreviewed" title="20061118">
  (about 2 hours ago)&lt;/abbr>
  &lt;span class="reviewer vcard">
    &lt;img class="photo" src="/img/icon-user-64.gif" height="48" width="48" alt="buddy icon" />
    &lt;a class="url fn" href="/people/cruster">cruster&lt;/a>
  &lt;/span>
  &lt;abbr class="rating" title="2">&lt;img src="/img/icon-rate2.gif" alt="**" />&lt;/abbr>
  &lt;blockquote class="description">When you'll see the bottle for the very first time, you'll ask: "This wine has no color, or what?". It has very light green color and not too expressive flavour, nor the scent.&lt;/blockquote>
  &lt;p class="tags">Tasting Tags:
&lt;a href="/tags/light" rel="tag" class="rel-tag" title="view all wines with this tag">light&lt;/a>
&lt;/p>
&lt;/div>
</nowiki></pre>
* Note:
** "vcard" is used to represent the wine, even though it isn't a person or an organization
** there is no photo of wine


== Yahoo Local (hReview) ==
== Yahoo Local (hReview) ==

Revision as of 13:47, 18 November 2006

Thing Examples

This page is for documenting real world examples of how "things" are actually marked up and represented on the web.

In Existing Microformats

hReview and hListing are applicable to things (as well as people marked up as hCards).

EdgeIO (hListing)

Note that EdgeIO using [hlisting|hListing] for individual items but not for the lists of itens.

Deal Tagger (hListing)

Cork'd (hReview)

<div id="review_9285" class="hreview"> <h5 class="item"><span class="fn">Cellarium Bisencii 2005 Muškát moravský</span></h5> <abbr class="dtreviewed" title="20061118"> (about 2 hours ago)</abbr> <span class="reviewer vcard"> <img class="photo" src="/img/icon-user-64.gif" height="48" width="48" alt="buddy icon" /> <a class="url fn" href="/people/cruster">cruster</a> </span> <abbr class="rating" title="2"><img src="/img/icon-rate2.gif" alt="**" /></abbr> <blockquote class="description">When you'll see the bottle for the very first time, you'll ask: "This wine has no color, or what?". It has very light green color and not too expressive flavour, nor the scent.</blockquote> <p class="tags">Tasting Tags: <a href="/tags/light" rel="tag" class="rel-tag" title="view all wines with this tag">light</a> </p> </div>

  • Note:
    • "vcard" is used to represent the wine, even though it isn't a person or an organization
    • there is no photo of wine

Yahoo Local (hReview)

  • URI: http://local.yahoo.com/
  • attempts to download pages outside of a browser are blocked, which is not very friendly to analysis!

Yahoo UK Movie Reviews

Not sure if this is within scope (i.e. is a movie a thing?)

In Google Base

Attributes in Google Base are open ended. For each of the following Item Types, we're identifying the attributes that Google Base displays when one attempts to edit an entry; there's also a broader list of applicable attributes, and then there's the open to add anything to a listing.

Housing

Primary Attribute Types (see for all):

Products

Primary Attribute Types (see for all):

Vehicles

Primary Attribute Types (see for all):

  • title - listing title
  • description (text)
  • photos
  • price - US dollars per
  • price type - "fixed", "negotiable" (doesn't seem to have a formal definition)
  • quantity - a number
  • year
  • make - e.g. ford
  • vehicle type - e.g. car
  • condition - e.g. used

Want Ads

This Item Type may not be totally applicable, but it is about "things" for sale. Primary Attribute Types (see for all):

Primary Attribute Types (see for all):

  • title - listing title
  • description (text)
  • photos

Google expects users of its Want Ads system to define all the appropriate attributes themselves. Further research needed here to see this actually in use.

Other Sites

Craigslist

These examples are taken from listing-examples

  • For Sale
    • email
    • duration (implied)
    • date
    • category
    • title
    • description
    • location
    • condition
    • images
    • price
    • availability
  • Wanted
    • email
    • duration
    • date
    • category
    • title
    • description
    • location
    • condition
    • images
    • price
  • Housing
    • category (rent, sale, temp)
    • date
    • duration (implied)
    • contact info
    • location
    • title
    • description
    • size
      • bedrooms
    • rent
    • photos
    • pet policy
    • fee/no-fee
    • broker/non-broker

MLS.ca (housing)

Attributes:

  • (no title)
  • MLS listing number
  • description
  • photos
  • address (including a "district")
  • sales people
  • property type
  • category
  • house style
  • age
  • bedrooms
  • bathrooms
  • fireplace
  • central a/c
  • pool
  • waterfront
  • workshop
  • house size
  • lot size

AutoTrader (vehicles)

Need ...

Books, ...?

See Also