[uf-discuss] Re: Exporting Hcard data

Dmitry Baranovskiy dmitry.baranovskiy at gmail.com
Mon Nov 20 14:59:10 PST 2006


Hi,
Just small notice: why duplicate data?
Instead of
> <span class="n" style="display:none">
> <span class="family-name"><%=rs("LastName") %></span>
> <span class="given-name"><%=rs("FirstName") %></span> </span>
> <div class="fn"><%= rs("FirstName") %>&nbsp; <%= rs("LastName") %></ 
> div>

You could write

<div class="fn n">
	<span class="given-name"><%=rs("FirstName") %></span>
	<span class="family-name"><%=rs("LastName") %></span>
</div>

And what this &nbsp; is for?

best regards,
Dmitry Baranovskiy


On 18/11/2006, at 4:17 AM, Michelle Tarby wrote:

> OK, I'm making progress - I wasn't passing any kind of ID, so  
> that's why X2V would just spin away.
>
> What I have noticed is that it looks like the vCard that's  
> generated adds a bunch of extra commas, so I'm guessing I don't  
> have my page formatted correctly.
>
> <div  class="vcard">
> <span class="n" style="display:none">
> <span class="family-name"><%=rs("LastName") %></span>
> <span class="given-name"><%=rs("FirstName") %></span> </span>
> <div class="fn"><%= rs("FirstName") %>&nbsp; <%= rs("LastName") %></ 
> div>
> <div class="title"><%= rs("Title") %></div>
> <div class="org"><%= rs("Department") %></div>
> <div class="adr">
> <div class="street-address"><%= rs("Street1") %>&nbsp; <%= rs 
> ("Street2") %></div></div>
> <div class="tel"><%= rs("Phone") %></div>
> <a class="email" href="mailto:<%= rs("SchoolEmail") %>"><%= rs 
> ("SchoolEmail") %></a>
> </div>
>
> I'm wondering if I'm confusing where to use div vs. span or if that  
> makes a difference.  Any information would be appreciated!
>
>
>> I'm pretty most of what goes through X2V is pulled from a  
>> database,  so that really shouldn't be an issue.  Can you give a  
>> URL for hCards  failing to transform with X2V?
>>
>> Peace,
>> Scott
>
> _______________________________________________
> microformats-discuss mailing list
> microformats-discuss at microformats.org
> http://microformats.org/mailman/listinfo/microformats-discuss



More information about the microformats-discuss mailing list