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:[EMAIL PROTECTED]">[EMAIL PROTECTED]</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:[EMAIL PROTECTED]
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


_______________________________________________
microformats-discuss mailing list
[email protected]
http://microformats.org/mailman/listinfo/microformats-discuss

Reply via email to