Hello Toby

On Fri, 2008-02-08 at 10:58 +0000, Toby A Inkster wrote:
> Such that this:
> 
>         <p class="#foo bar #baz">
>                 x
>         </p>
> 
> is considered equivalent to the following using current existing
> include-
> pattern:
> 
>         <p class="bar">
>                 <a class="include" href="#foo"></a>
>                 x
>                 <a class="include" href="#baz"></a>
>         </p> 

you know instead of trying to "mimic" the current include pattern or
"stuffing" a class try something new and a bit more "microformaty"...

eg: we could use class "data" as a container for what we want to
include.

<span class="vcard">    
        <span class="data">
                <span class="fn">Foo</span>
        </span>
        <a class="email" href="mailto:[EMAIL PROTECTED]">email [EMAIL 
PROTECTED]</a>
</span>

then use an empty span with the class "include data" anywhere you would
like the "data" to appear....

<span class="vcard">
        <span class="include data"></span>
        <a class="email" href="mailto:[EMAIL PROTECTED]">email [EMAIL 
PROTECTED]</a>
</span>

the result could turn out much like this:

<span class="vcard">
        <span class="fn">Foo</span>
        <a class="email" href="mailto:[EMAIL PROTECTED]">email [EMAIL 
PROTECTED]</a>
</span>

Pretty easy on the mind I would say.


Thanks

Martin McEvoy

 

_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to