[uf-discuss] hRecipe example

Kazuhito Kidachi kazuhito at gmail.com
Tue Oct 14 19:39:01 PDT 2008


I feel that you're missing root element for hRecipe. It may any kind
of block level elemet with class="herecipe" or something. In case you
add the root element, some properties like recipe-title and
recipe-summary can be more simpler, dropping such a prefix of
"recipe-".

...My two cents.

Kazuhito

2008/10/15 Thomas Loertsch <loertsch.thomas at guj.de>:
> Hi,
>
> I've put together an example of a very simple (h)recipe. It would be great
> if people could check this. If it's okay or if I get no responses I'll put
> it up on the wiki and generate a more involved example. Btw: what would be
> the right page to do so? Brainstorming? Or a new "Examples"-page?
>
> Cheers,
> Thomas
>
>
> <!-- recipe-title -->
> <h1 class="recipe-title">Pommes Frites</h1>
>
> <!-- recipe-summary -->
> <p class="recipe-summary">Pommes frites come from the outer space. They are
> served hot. This recipe is only an example. Don't try this at home!</p>
>
> <!-- author -->
> <p class="vcard"><span class="fn">Thomas Loertsch</span></p>
>
> <!-- published -->
> <p>Published <abbr class="published" title="2008-10-14T10:05:37-01:00">14.
> Oct 2008</abbr></p>
>
> <!-- photo -->
> <img src="/img/pommes.png" class="photo" />
>
> <!-- ingredient -->
> <p class="ingredient">
>
> <span class="hmeasure">
> <!-- quantity -->
> <span class="quantity"><span class="num">500</span> <span
> class="unit">gramme</span></span>
>
> <!-- item -->
> <span class="item">potatoes</span>,
> </span>
>
> <!-- note -->
> <span class="note">hard cooking</span>,
>
> <!-- optional -->
> <span class="optional">or use frozen pommes frites from the supermarket
> instead</span>.
> </p>
>
> <!-- method -->
> <ul class="method">
>    <li>First wash the potatoes.</li>
>    <li>Then slice and dice them and put them in boiling fat.</li>
>    <li>After a few minutes take them out again.</li>
> </ul>
>
> <!-- yield -->
> <p>Enough for <span class="yield">12</span> children.</p>
>
> <!-- preparation-time -->
> <p class="preparation-time">Preparation time is approximately <span
> class="h">1</span> hour <span class="min">30</span> minutes.</p>
>
> <!-- tags -->
> <p>This recipe is <span href="http://www.eut.de/tags/difficulty/easy"
> rel="tag">easy</span> and <span
> href="http://www.eut.de/tags/tastyness/delicious"
> rel="tag">delicious</span>.</p>
>
> <!-- license -->
> <p>This recipe licensed under <a
> href="http://creativecommons.org/licenses/by/2.0/" rel="license">cc by
> 2.0</a>.</p>
>
>
>
>
>
>
> .
> Thomas Lörtsch
> Living at Home Multi Media GmbH
> Redaktion Online
> ..
> Stubbenhuk 5
> 20459 Hamburg
> ...
> eMail: loertsch.thomas at guj.de
>
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss
>



-- 
Kazuhito Kidachi
mailto:kazuhito at gmail.com



More information about the microformats-discuss mailing list