hlisting-extended-examples: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
m (changed closing-tag on line 38 of the example-code from "state" to "span")
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
Note: the example markup on this page was produced by an early preview of Assaf Arkin's plugin for WordPress. It does not mean that the syntax here is final, or interoperable with, say, CommerceNet's parser (unfortunately!)
Note: the example markup on this page was produced by an early preview of Assaf Arkin's plugin for WordPress. It does not mean that the syntax here is final, or interoperable with, say, CommerceNet's parser (unfortunately!)


Note: some of the examples here show class="hlisting offer-sell", but according to [http://microformats.org/wiki/hcard-faq#nesting-properties this] that shouldn't be the case.
Note: some of the examples here show class="hlisting offer-sale", but according to [http://microformats.org/wiki/hcard-faq#nesting-properties this] that shouldn't be the case.


=== Housing / Craigslist ===
=== Housing / Craigslist ===
Line 119: Line 119:
  <p class='location'><strong>Location</strong>: <div class='adr'><span
  <p class='location'><strong>Location</strong>: <div class='adr'><span
  class='street-address'>1135 Sir Francis Drake Blvd</span><div
  class='street-address'>1135 Sir Francis Drake Blvd</span><div
  class='locality'>Kentfield</div><div><span class='region'>CA</state>
  class='locality'>Kentfield</div><div><span class='region'>CA</span>
  <span class='postal-code'></span></div></div></p>
  <span class='postal-code'></span></div></div></p>
  <p class='contact'><strong>Contact me at</strong>: <span
  <p class='contact'><strong>Contact me at</strong>: <span

Latest revision as of 09:31, 29 March 2007

hListing Extended Examples

These are examples directly copied from then-current listings on public Websites by Craig Donato.

Note: the example markup on this page was produced by an early preview of Assaf Arkin's plugin for WordPress. It does not mean that the syntax here is final, or interoperable with, say, CommerceNet's parser (unfortunately!)

Note: some of the examples here show class="hlisting offer-sale", but according to this that shouldn't be the case.

Housing / Craigslist

version
listing type offer
listing action rent
lister hous-131773022@craigslist.org
dtlisted 2006-02-06, 3:48PM PST
dtexpired
price $1995
location 1135 Sir Francis Drake Blvd, Kentfield, CA
item type housing
item info

photo

QS8vqLbrfj762txcg44ISQIThVta.jpg

VIvHzirAmMtKj2bYMi81Cy4G318F.jpg wmQLa9DmuTJfPqqr8xVNwpVnJbUN.jpg

summary $1995 / 3br - Spacious townhouse private garage, lots of closets
description This is a spacious 3 bedroom 2 bath townhouse/apartment on the Ross border. Easy commute to San Francisco by bus or ferry. Close to bike & hike paths, College of Marin and public transportation. Located in the Kentfield School District.

3BR/2BA Fresh paint and very well maintained

First Floor:

  • Living Room
  • Dining Room
  • Kitchen: Lots of counter space, dishwasher, refrigerator, stove, garbage disposal
  • Full bathroom
  • Bedroom with private balcony, overlooking creek and trees

Second Floor

  • Two large bedrooms, each with walk-in closets
  • Extra walk-in storage closet
  • Full bathroom

EXTRAS

  • Enclosed Parking Garage
  • Cable Ready
  • Shared Laundry Room
  • Creekside deck for picnics
  • Includes water and garbage pick-up

Address: 1135 Sir Francis Drake Blvd, Kentfield Please DO NOT disturb residents.

For more information, or to schedule an appointment to view, please contact (415) 454-2246

tags Apartments, Kentfield
permalink http://www.craigslist.org/nby/apa/131773022.html
 <div class='hlisting offer-rent'>
 <div class='description'><p><span style="font-size: 10pt">This is a
 spacious 3 bedroom 2 bath townhouse/apartment on the Ross border. Easy
 commute to San Francisco by bus or ferry. Close to bike & hike
 paths, College  of Marin and public transportation. Located in the 
 Kentfield  School District.</span></p>
 <p>3BR/2BA Fresh paint and very well maintained</p>
 <p>First Floor:</p>
 <ul>
 <li>Living Room</li>
 <li>Dining Room</li>
 <li>Kitchen: Lots of counter space, dishwasher, refrigerator, stove,
 garbage disposal</li>
 <li>Full bathroom</li>
 <li>Bedroom with private balcony, overlooking creek and trees</li>
 </ul>
 <p>Second Floor</p>
 <ul>
 <li>Two large bedrooms, each with walk-in closets</li>
 <li>Extra walk-in storage closet</li>
 <li>Full bathroom</li>
 </ul>
 <p>EXTRAS</p>
 <ul>
 <li>Enclosed Parking Garage</li>
 <li>Cable Ready</li>
 <li>Shared Laundry Room</li>
 <li>Creekside deck for picnics</li>
 <li>Includes water and garbage pick-up</li>
 </ul>
 <div class='tags'>Tagged: <a href="http://localhost/blog/tag/apartments"
 rel="tag">Apartments</a>, <a href="http://localhost/blog/tag/housing"
 rel="tag">housing</a>, <a href="http://localhost/blog/tag/kentfield"
 rel="tag">Kentfield</a></div></div>
 <p><strong>Price</strong>: <span class='price'>$1995</span></p>
 <p class='location'><strong>Location</strong>: <div class='adr'><span
 class='street-address'>1135 Sir Francis Drake Blvd</span><div
 class='locality'>Kentfield</div><div><span class='region'>CA</span>
 <span class='postal-code'></span></div></div></p>
 <p class='contact'><strong>Contact me at</strong>: <span
 class="hcard">(415) 454-2246</span></p>
 </div>

Notes: @@.

Preview screenshot:

hlisting-housing-aa.png

Product / eBay

version
listing type offer
listing action sell
lister http://feedback.ebay.com/ws/eBayISAPI.dll?ViewFeedback&userid=manganos&iid=5863912155&frm=284
dtlisted Feb-07-06 14:28:35 PST
dtexpired Feb-13-06 15:28:35 PST
price $1
location Church Road, VA United States
item type product
item info

photo

5d_1.JPG

98_0.JPG 34_0.JPG

summary BOUNTY HUNTER 840 *not garrett, minelab, whites*
description You are bidding on a Bounty Hunter 840 VLF/TR. I have never used this but I put batteries in it and it turned on. The unit is in goo cosmetic shape with no signs of wear. I do not know too much about this detector so do your research before bidding. It takes 2 - 9V batteries (not included). Find some treasure or coins in your own back yard. Good luck bidding on this NO RESERVE auction. Unit is sold as is as I have never used it. Thanks and good luck!
tags Used, Metal Detector
permalink http://cgi.ebay.com/BOUNTY-HUNTER-840-not-garrett-minelab-whites_W0QQitemZ5863912155QQcategoryZ67775QQrdZ1QQcmdZViewItem
 <div class='hlisting offer-sale'>
 <div class='summary'>BOUNTY HUNTER 840 *not garrett, minelab, whites*</div>
 <div class='description'>
 <p>You are bidding on a Bounty Hunter 840 VLF/TR. I have never used this
 but I put batteries in it and it turned on. The unit is in goo cosmetic
 shape with no signs of wear. I do not know too much about this detector
 so do your research before bidding. It takes 2 - 9V batteries (not
 included). Find some treasure or coins in your own back yard. Good luck
 bidding on this NO RESERVE auction. Unit is sold as is as I have never
 used it. Thanks and good luck!</p>
 <p><img src="http://i8.ebayimg.com/02/i/06/32/24/5d_1.JPG" /></p>
 <p><img src="http://i10.ebayimg.com/05/i/06/31/1b/98_0.JPG" /></p>
 <p><img src="http://i2.ebayimg.com/02/i/06/33/81/34_0.JPG" /></p>
 <div class='tags'>Tagged: <a
 href="http://localhost/blog/tag/metal_detector" rel="tag">Metal
 Detector</a>, <a href="http://localhost/blog/tag/used"
 rel="tag">Used</a></div></div>
 <p><strong>Price</strong>: <span class='price'>$1</span></p>
 <p><strong>Listed</strong>: <abbr class='dtlisted'
 title='20060702T142835-0800'>Feb-07-06 14:28:35 PST</abbr></p>
 <p><strong>Expires</strong>: <abbr class='dtexpired'
 title='20060213T152835-0800'>Feb-13-06 15:28:35 PST</abbr></p>
 </div>
 </div>

Notes: @@.

Personal / Match.com

version
listing type wanted
listing action meet
lister http://www.match.com/doubleblind/emailform.aspx?lid=41&uid=AEMclhclaughal
dtlisted
dtexpired
price
location Burlingame, CA 94010 United States
item type person
item info

photo

37954408A.jpeg
summary Let me show you the world in my eyes
description The only true way to get to know me is to chat with me.

I am looking for a guy who is honest and does not play games, takes care of himself, likes to laugh, can communicate, is confident, but not full of himself.

What do I like? I love spending time with my family, cooking, watching professional football and scuba diving.

tags WSM, blackhair, browneyes, confident, cooking, diving, family, football, honest, runner, running, scuba, walking, weights
permalink http://www.match.com/profile/showprofile.aspx?lid=18&RN=4&PI=1&TP=S&UID=HvAaOKJuTF4j9tqE%2bYDQoQ%3d%3d&Handle=puuikena&DO=2
 <div class='hlisting listing-meet'>
 <div class='description'><p>The only true way to get to know me is to
 chat with me.</p>
 <p>I am looking for a guy who is honest and does not play games, takes
 care of himself, likes to laugh, can communicate, is confident, but not
 full of himself.</p>
 <p>What do I like? I love spending time with my family, cooking,
 watching professional football and scuba diving.</p>
 <p><img src="http://pictures.match.com/pictures/44/08/37954408A.jpeg"
/></p></div>
 <div class='tags'>Tagged: <a href="http://localhost/blog/tag/blackhair"
 rel="tag">blackhair</a>, <a href="http://localhost/blog/tag/browneyes"
 rel="tag">browneyes</a>, <a href="http://localhost/blog/tag/confident"
 rel="tag">confident</a>, <a href="http://localhost/blog/tag/cooking"
 rel="tag">cooking</a>, <a href="http://localhost/blog/tag/diving"
 rel="tag">diving</a>, <a href="http://localhost/blog/tag/family"
 rel="tag">family</a>, <a href="http://localhost/blog/tag/football"
 rel="tag">football</a>, <a href="http://localhost/blog/tag/honest"
 rel="tag">honest</a>, <a href="http://localhost/blog/tag/runner"
 rel="tag">runner</a>, <a href="http://localhost/blog/tag/running"
 rel="tag">running</a>, <a href="http://localhost/blog/tag/scuba"
 rel="tag">scuba</a>, <a href="http://localhost/blog/tag/walking"
 rel="tag">walking</a>, <a href="http://localhost/blog/tag/weights"
 rel="tag">weights</a></div>
 <p class='location'><strong>Location</strong>: Burlingame, CA 94010
United States</p>
 </div>

Notes: missing permalink, additional adr structure for location, WSM tag.

Preview screenshot:

hlisting-personal-aa.png