Difference between revisions of "question-answer-brainstorming"

From Microformats Wiki
Jump to navigation Jump to search
Line 15: Line 15:
  
 
:<nowiki><a </nowiki>'''class="question answer-at"'''<nowiki> href="/england/noappointmentneeded/walkincentres/walkincentreservices.cmsx">What services does a Walk-in Centre offer?</a></nowiki>
 
:<nowiki><a </nowiki>'''class="question answer-at"'''<nowiki> href="/england/noappointmentneeded/walkincentres/walkincentreservices.cmsx">What services does a Walk-in Centre offer?</a></nowiki>
 +
 +
More about this possible solution:
 +
 +
(FAQ-LIST)
 +
:<nowiki><ul class="faq-list"></nowiki>
 +
:<nowiki><li><a class="question answer-at" href="faq1.htm">What are the microformats?</a></li></nowiki>
 +
:<nowiki><li><a class="question answer-at" href="faq2.htm">Who can use the microformats? </a></li></nowiki>
 +
:<nowiki><li><a class="question answer-at" href="faq3.htm">How can we use the microformats? </a></li></nowiki>
 +
:<nowiki></ul></nowiki>
 +
 +
(FAQ-PAGE)
 +
:<nowiki><div class="faq"></nowiki>
 +
:<nowiki><h1 class="question">What are the microformats?</h1></nowiki>
 +
:<nowiki><p class="answer">Microformats are an implementation...</p></nowiki>
 +
:<nowiki></div></nowiki>
 +
 +
(FAQ-NAVIGATION-MENU)
 +
:<nowiki><ul class="faq-navigation"></nowiki>
 +
:<nowiki><li><a href="faq1.htm" class="faq-previous question answer-at">What are the microformats?</a> (Previous in faq-list)</li></nowiki>
 +
:<nowiki><li><a href="faq3.htm" class="faq-next question answer-at">How can we use the microformats?</a> (Next in faq-list)</li></nowiki>
 +
:<nowiki></ul></nowiki>
  
 
==hFeed==
 
==hFeed==

Revision as of 10:10, 29 August 2007

Questions and Answers

Purpose

The "question-answer" microformat proposes to formalize the relationships between questions and answers (including "FAQs") published within a single HTML document (and possibly a set of documents). Such formalization should allow for reuse of questions and answers in new contexts, e.g. search engines, IM bots, etc.

Multi-page FAQs

Based on [1] (extraneous detail omitted)

Current mark-up:

<a href="/england/noappointmentneeded/walkincentres/walkincentreservices.cmsx">What services does a Walk-in Centre offer?</a>

Possible solution (tentative class-names):

<a class="question answer-at" href="/england/noappointmentneeded/walkincentres/walkincentreservices.cmsx">What services does a Walk-in Centre offer?</a>

More about this possible solution:

(FAQ-LIST)

<ul class="faq-list">
<li><a class="question answer-at" href="faq1.htm">What are the microformats?</a></li>
<li><a class="question answer-at" href="faq2.htm">Who can use the microformats? </a></li>
<li><a class="question answer-at" href="faq3.htm">How can we use the microformats? </a></li>
</ul>

(FAQ-PAGE)

<div class="faq">
<h1 class="question">What are the microformats?</h1>
<p class="answer">Microformats are an implementation...</p>
</div>

(FAQ-NAVIGATION-MENU)

<ul class="faq-navigation">
<li><a href="faq1.htm" class="faq-previous question answer-at">What are the microformats?</a> (Previous in faq-list)</li>
<li><a href="faq3.htm" class="faq-next question answer-at">How can we use the microformats?</a> (Next in faq-list)</li>
</ul>

hFeed

FAQs could be marked up as, or using a variant of, hAtom, with the question being the entry title and the answer the content. Andy Mabbett

hfeed (hAtom) is a good candidate, however, one thing is lacking...the key concept of a q/a. The value of a q/a format is for agregating questions and answers. If hAtom can indicate that it's contents are q/a it would be perfect. Taylor Cowan

See also