[uf-dev] Re: [uf-discuss] Two include-pattern questions
David Janes
davidjanes at blogmatrix.com
Fri Sep 15 07:14:14 PDT 2006
Dev list it is!
I'm going to plug at the implementation for awhile with the simplest
assumptions and see where that takes me.
My superficially observations -- ... I just typed a bunch of stuff,
didn't like it, and deleted it ... is that this is a very difficult
problem ;-)
Regards, etc...
David
On 9/15/06, Brian Suda <brian.suda at gmail.com> wrote:
> there are also a few other outstanding issues on how/what is exactly included.
>
> Senario I
> <p id="var1" class="vcard">
> <span class="fn">brian suda</span>
> </p>
> <p id="var2">
> <a href="#var1" class="include">my hcard</a>
> </p>
>
> This senario takes id="var1" and takes that branch of the tree and
> inserts it as a CHILD of the 'a' element. Therefore you would extract
> the vcard with an fn.
>
> Senario II
> <p id="var1">
> <div class="vcard">
> <span class="fn">brian suda</span>
> </div>
> </p>
> <p id="var2">
> <a href="#var1" class="include"/>
> </p>
>
> The second senario id="var2" REPLACES the 'a' element, therefore, you
> need to have your class values as children of id="var2"
>
> Obviously, there are issues with both. along with things like this:
>
> Senario III
> <p id="var1">
> <span class="fn">brian suda</span>
> </p>
> <p id="var2">
> <a href="#var1" class="include vcard"/>
> </p>
>
> what happens here? it depends on if the included text is a child, or
> replaces, and/or if we want to allow something like this?
>
> I suggest that if this is going to get more technical, we take it to
> the dev-list.
More information about the microformats-dev
mailing list