[uf-discuss] X2V hCard question

Faust Faust at LeeMarvin.com
Mon May 15 09:21:51 PDT 2006


Hi,

I am trying to set up some Dreamweaver templates that will support 
microformats without making the user specify all of the classes and am 
running into a few parsing problems.

I have the following hCard 
<http://prototype.luther.edu/men/football/season2005/coaches/>:

> <!-- InstanceBeginRepeatEntry -->
> <div class="vcard">
> <h2 class="n"><span class="fn"><span class="given-name"><!-- 
> InstanceBeginEditable name="given-name" -->Paul<!-- 
> InstanceEndEditable --></span> <span class="family-name"><!-- 
> InstanceBeginEditable name="family-name" -->Hefty<!-- 
> InstanceEndEditable --></span></span></h2>
> <!-- InstanceBeginEditable name="photo" --><img src="images/Hefty.jpg" 
> alt="" width="100" height="150" class="photo" /><!-- 
> InstanceEndEditable -->
> <div class="title"><!-- InstanceBeginEditable name="title" -->Head 
> Coach/Offensive Coordinator<!-- InstanceEndEditable --></div>
> <!-- InstanceBeginEditable name="email" --><a class="email" 
> href="mailto:blanchda at luther.edu">email at luther.edu</a><!-- 
> InstanceEndEditable -->
> <div class="description"><!-- InstanceBeginEditable name="description" 
> -->
>   <ul>
>     <li>Begins fourth season as head coach</li>
>     <li>Led Norse to first back-to-back winning seasons since 1991-92 
> seasons</li>
>     <li>1986 graduate of Luther College</li>
>     <li>Offensive coordinator at Aurora University from 1997-2001</li>
>     <li>Offensive coordinator for the Norse from 1991-97</li>
>     <li>Three-time all-conference quarterback for the Norse</li>
>     <li>Iowa Conference MVP 1986</li>
>     <li>Inducted into the Luther Athletic Hall of Fame in 2001</li>
>     <li>Hometown: Milledgeville, Ill.</li>
>   </ul>
>   <!-- InstanceEndEditable --></div>
> </div>
> <!-- InstanceEndRepeatEntry -->

and X2V gives me the following:

> BEGIN:VCARD
> PRODID:-//suda.co.uk//X2V 0.7.16 (BETA)//EN
> SOURCE:http://prototype.luther.edu/men/football/season2005/coaches/
> NAME:The Coaching Staff
> VERSION:3.0
> N;LANGUAGE=en;CHARSET=UTF-8:Hefty;Paul;;;
> FN;LANGUAGE=en;CHARSET=UTF-8:\nPaul\n \nHefty\n
> EMAIL:blanchda at luther.edu
> TITLE;LANGUAGE=en;CHARSET=UTF-8:InstanceBeginEditable name="title" 
> Head Coach/Offensive Coordinator InstanceEndEditable
> PHOTO;VALUE=uri:http://prototype.luther.edu/men/football/season2005/coaches/images/Hefty.jpg
> END:VCARD

How can I get rid of the "\n" in the FN?

Is the content of the HTML comments supposed to be picked up in TITLE?


Thanks in advance,

Faust




More information about the microformats-discuss mailing list