[uf-discuss] mama

Derrick Lyndon Pallas derrick at pallas.us
Wed Oct 22 08:20:55 PDT 2008


Toby A Inkster wrote:
>> A query of <classtag:xfolk> should find documents where
>> "xfolk" is used in a class somewhere in the document. ~D
>
> Though that doesn't tell you much, as the xFolk root class name is 
> "xfolkentry". ;-)
>
> Does it cope with multiple class names in one attribute, like 
> class="contact vcard mine"?
>

Oops! You're correct, xfolkentry not xfolk.

That operator is connected to a search-only field in the index that 
records all classes used in documents. It works for all NMTOKENs in the 
class attribute. For what it's worth, there is an equivalent field 
called RelTag for the rel attribute.

I looked at doing RevTag but the field was mostly full of auto-generated 
garbage. There were too few common revs and too many meaningless ones, 
which meant it was too big to justify its uselessness.

~D



More information about the microformats-discuss mailing list