[uf-discuss] mixing vocabularies

Brian Suda brian.suda at gmail.com
Fri Jun 26 17:24:10 PDT 2009


On Fri, Jun 26, 2009 at 11:40 PM, Peter Mika<pmika at yahoo-inc.com> wrote:
> Hmm... what could possibly be the purpose of an hCard inside an ingredient?
> I discard cannibalism at this point.

--- i think people are confusing the notion that the two must be
connected. It is just semantic mark-up so for instance i could have:

<p class="vcard ingredient">You will need to add <span class="unit">3
table spoons</span> of <span class="value">specially ground
spice</span> which can be picked up at <span class="fn org">XYZ
specialty shop</span></p>

Now, an hCard aware parser will find the shop, an hRecipe parser will
find the ingredient. The fact that both are on the <p> is irrelevant
in this situation.

This goes for any mixing of vocabularies. Microformats do not force
people to mark-up their html in any special way, so there will be
overlap which have no meaning to each other.

-brian

-- 
brian suda
http://suda.co.uk


More information about the microformats-discuss mailing list