<div>So should i be able to copy and paste this into the Live clipboard demo:</div>
<div> </div>
<div><?xml version="1.0" encoding="utf-8" ?><liveclipboard version="0.91" xmlns:lc="<a href="http://www.microsoft.com/schemas/liveclipboard%22%3E%3Clc:data%3E%3Clc:format">http://www.microsoft.com/schemas/liveclipboard"><lc:data><lc:format
</a> type="vcard" contenttype="application/xhtml+xml"><lc:item><![CDATA[<DIV class="vcard"><A class="url fn" href="<a href="http://weblog.vb-tech.com/nick">Nick Swan</A">
http://weblog.vb-tech.com/nick">Nick Swan</A</a>><DIV class="org">Dot Net Solutions</DIV><DIV class="adr"><DIV class="street-address">Sheet Street</DIV><SPAN class="locality">Windsor</SPAN> <SPAN class="postal-code">SL4</SPAN> </DIV><DIV class="tel">07866 567042</DIV></DIV>]]></lc:item></lc:format></lc:data></liveclipboard>
<br><br> </div>
<div><span class="gmail_quote">On 4/6/06, <b class="gmail_sendername">Ryan King</b> <<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ryan@technorati.com" target="_blank">ryan@technorati.com</a>> wrote:
</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">On Apr 5, 2006, at 3:59 PM, Nick Swan wrote:<br><br>> Hi all,<br>><br>> noobie hcard question here! Sorry!!!
<br>><br>> So I have my hcard I have created :<br>><br>> <div class="vcard"><br>> <a class="url fn" href="<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://weblog.vb-tech.com/nick" target="_blank">
http://weblog.vb-tech.com/nick </a>">Nick Swan</a><br>> <div class="org">Dot Net Solutions</div><br>> <div class="adr"><br>> <div class="street-address">Sheet Street</div>
<br>> <span class="locality">Windsor</span>,<br>> <span class="region">Berks</span><br>> <span class="postal-code">SL4</span><br>> </div>
<br>> <div class="tel">07866 567042</div><br>> </div><br>><br>> and I want to paste it into Ray Ozzies Live Clipboard demo.<br>><br>> I can't though because the demo splits names up completely
<br>> differently ie:<br>> <div class="n"><br>> <span class="given-name">Nick</span><br>> <span class="family-name">Swan</span><br>> </div>
<br>><br>> For me to consume hcards this is ok as I can parse them many<br>> different ways to see which one works, but how am I supposed to<br>> know which format to copy the data in to be able to paste it<br>
> somewhere else?<br>><br>> I though the idea of hcard was to come up with a standard format?<br><br>It is, don't worry. :D<br><br>What you're encountering here is the implied-n-optimization [http://<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://microformats.org/wiki/hcard#Implied_.22n.22_Optimization" target="_blank">
microformats.org/wiki/hcard#Implied_.22n.22_Optimization</a>]. In the<br>First example, you're using the optimization to express n (the<br>structured name). In the last example, the structure of n is<br>expressed explicitly.
<br><br>Either method should work with a proper hcard parser.<br><br>/me goes back to writing hcard test cases. :D<br><br>-ryan<br>--<br>Ryan King<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:ryan@technorati.com" target="_blank">
ryan@technorati.com</a><br><br>_______________________________________________ <br>microformats-discuss mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:microformats-discuss@microformats.org" target="_blank">
microformats-discuss@microformats.org</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="http://microformats.org/mailman/listinfo/microformats-discuss" target="_blank">http://microformats.org/mailman/listinfo/microformats-discuss
</a><br></blockquote></div><br>