hlisting-challenges: Difference between revisions

From Microformats Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
=hListing Challenge Problems=
=hListing Challenge Problems=
These are some scenarios that are more difficult or advanced challenges for an hListing format to accomodate
These are some scenarios that are more difficult or advanced challenges for an hListing format to accomodate
=== Multiple Listing ===
<blockquote style="border: 1px dashed grey; padding: 1em">
<h3>I need more space!</h3>
The time has come for me to reclaim some precious bookshelf space :(
{|
|[http://www.amazon.com/gp/product/0201567768/qid=1139367288/sr=1-4/ref=sr_1_4/002-6666096-8147227?s=books&v=glance&n=283155 Amiga Hardware Reference Manual]
|465pp, paperback
|ISBN: 0201567768
|$0.99 + s/h
|-
|[http://www.amazon.com/gp/product/0201177528/qid=1139367430/sr=1-1/ref=sr_1_1/002-6666096-8147227?s=books&v=glance&n=283155 Apple //c Technical Reference Manual]
|543pp
|ISBN: 0201177528
|$5 ($3 s/h)
|-
|[http://www.amazon.com/gp/product/0201158515/qid=1139367631/sr=1-4/ref=sr_1_4/002-6666096-8147227?s=books&v=glance&n=283155 The NeXT Book]
|by Bruce F. Webster
| ''priceless''
|}
Posted by: Dr. Rohit Khare at 4:20 PM under garage-sale, books, programming
</blockquote>


=== Minimal Classified Ad ===
=== Minimal Classified Ad ===
Line 56: Line 31:


[Note: the listing above does not specify a dtlisted; and is unclear about how to handle overlap between summary, description, and item name; it does not use category tags at all ]
[Note: the listing above does not specify a dtlisted; and is unclear about how to handle overlap between summary, description, and item name; it does not use category tags at all ]
=== Multiple Listing ===
<blockquote style="border: 1px dashed grey; padding: 1em">
<h3>I need more space!</h3>
The time has come for me to reclaim some precious bookshelf space :(
{|
|[http://www.amazon.com/gp/product/0201567768/qid=1139367288/sr=1-4/ref=sr_1_4/002-6666096-8147227?s=books&v=glance&n=283155 Amiga Hardware Reference Manual]
|465pp, paperback
|ISBN: 0201567768
|$0.99 + s/h
|-
|[http://www.amazon.com/gp/product/0201177528/qid=1139367430/sr=1-1/ref=sr_1_1/002-6666096-8147227?s=books&v=glance&n=283155 Apple //c Technical Reference Manual]
|543pp
|ISBN: 0201177528
|$5 ($3 s/h)
|-
|[http://www.amazon.com/gp/product/0201158515/qid=1139367631/sr=1-4/ref=sr_1_4/002-6666096-8147227?s=books&v=glance&n=283155 The NeXT Book]
|by Bruce F. Webster
| ''priceless''
|}
Posted by: Dr. Rohit Khare at 4:20 PM under garage-sale, books, programming
</blockquote>

Revision as of 04:13, 8 February 2006

hListing Challenge Problems

These are some scenarios that are more difficult or advanced challenges for an hListing format to accomodate

Minimal Classified Ad

2 cute puppies need a new home in Noe Valley before this weekend. Call 415-555-1212 or email dont@litter.com.

<p class="hlisting offer">2 <span class="item fn">cute puppies</span>
 need a new home in <span class="adr locality">Noe Valley</span> before
 <abbr title="20050206" class="dtexpired">this weekend</abbr>.
 <span class="lister">Call <span class="tel">415-555-1212</span> or 
  <a href="mailto:dont@litter.com" class="email">dont@litter.com</span>
 </span>
</p> 

[Note: the example above is dangerously incomplete, requiring the consumer of the microformatted data block to infer the dtlisted from the enclosing blog post or HTTP last-modified date; to infer that Noe Valley is in San Francisco, CA; and that the location of the item may not have any bearing on the location of the lister. Oh, and tel is missing an enclosing vcard...]

Structured CFP

Wanted: Yacht charter from Bahamas to Miami during the first week in April; must sleep 11 and should have its own helipad. Please submit bids care of Dewey, Cheathem & Howe, 1 Harvard Square, Cambridge, MA 02139 before the end of February.

<div class="hlisting wanted">Wanted: <span class="summary">Yacht charter
  from <span class="location adr country">Bahamas</span> to Miami 
  during the first week in April</span>; <span class="description">must sleep 11
  and should have its own helipad.</span> Please submit bids care of
   <span class="lister vcard"><span class="org fn"> Dewey, Cheathem & Howe</span>,
   <span class="adr street">1 Harvard Square</span>, 
   <span class="adr locality">Cambridge</span>, <span class="adr region">MA</span> 
   <span class="adr postal-code">02139</span> before the 
   <span class="dtexpired" title="20060228">end of February</span>.
 </div>

[Note: the listing above does not specify a dtlisted; and is unclear about how to handle overlap between summary, description, and item name; it does not use category tags at all ]

Multiple Listing

I need more space!

The time has come for me to reclaim some precious bookshelf space :(

Amiga Hardware Reference Manual 465pp, paperback ISBN: 0201567768 $0.99 + s/h
Apple //c Technical Reference Manual 543pp ISBN: 0201177528 $5 ($3 s/h)
The NeXT Book by Bruce F. Webster priceless

Posted by: Dr. Rohit Khare at 4:20 PM under garage-sale, books, programming