[uf-discuss] Possible alternative methods for "include"
guillaume at lebleu.org
Mon Jan 28 16:46:31 PST 2008
Andy Mabbett wrote:
> In message <479A7DE9.9050805 at lebleu.org>, Guillaume Lebleu
> <guillaume at lebleu.org> writes
>> Andy Mabbett wrote:
>>> A brainstorm of possible alternative methods of using include in
>>> microformats, avoiding the use of the problematic "OBJECT" or empty-link
>> What about:
>> <span class="adr" id="myaddress">my address<span>
>> <a href="#myaddress" rev="propertyOf" class="locality">Birmingham</a>
> That seems to presume, wrongly, a 1:1 relationship between the included
> data and the microformat. Consider:
> <span class="adr" id="myaddress">my address<span>
> <span class="adr" id="mysecondaddress">my second address<span>
> <a href="#????" rev="propertyOf" class="locality">Birmingham</a>
Sorry for the late response.
In this case, I would group the two "adr" in a container and have the
href point to that container. For instance:
<div>Our company has offices at two addresses in <a href="#adrlist1"
rev="propertyOf"><span class="locality">San Francisco</span></a>: <ul
id="adrlist1"> <li id="adr1" class="adr"><span
class="street-address">665 3rd Street</span>, and </li><li id="adr2"
class="adr"><span class="street-address">123 Folsom</span></li></ul>.</div>
adr1 and adr2 inherit the property attached to their parent ul.
> It also requires publishers to make a within-page link, where none
> existed previously.
I am not sure what you mean. I don't see why this is such a problem when
we require them to markup content anyhow.
> Furthermore, "rev" is deprecated for use in microformats.
Ok, sorry I had missed point 2.10 in the rel page. I won't push the
above idea further in this case, but since there is not much content in
there that justifies the decision, I'd appreciate any pointer anyone has
about how rev came to be deprecated in microformats.
More information about the microformats-discuss