roxen.lists.roxen.general

Subject Author Date
Appendix to: XHTML in Roxen CMS published content Michael D. Muzzie <mdmuzzie[at]Princeton[dot]EDU> 03-10-2006
<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space;
-khtml-line-break: after-white-space; ">During our transition from Roxen 4.0 to
Roxen 4.5, we have been concentrating on establishing a stable, simple
foundation for future templates. One area we are concentrating on is trying to
generate valid XHTML code.<DIV><BR
class="khtml-block-placeholder"></DIV><DIV><DIV>Roxen CMS version 4.5 uses
FCKEditor 2.2, which is quite nice and quite customizable (once you figure
out /roxen-files/cms-templates/cms-fckconfig.js). The Java applet substitute for
Safari, on the other hand, is not so nice, and we are recommending that our
content editors user Firefox, Camino, IE.</DIV><DIV><BR
class="khtml-block-placeholder"></DIV><DIV>Anyway, the code FCKEditor generates
is relatively clean. The code that is saved to the flat files maintains their
&lt;strong&gt; tags, &lt;em&gt; tags, self-closing &lt;br /&gt; tags, etc
(unless they are opened up and saved with that awful Java editor for Safari).
However, when the content is transformed by templates into actual pages, those
tags are turned into HTML 4 tags (&lt;b&gt;, &lt;i&gt;, &lt;br&gt;,
etc.).</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>We have been all
through the templates and have been unable to find where that transformation is
taking place. Has anyone else bothered with (and/or solved) this
problem?</DIV><DIV><BR
class="khtml-block-placeholder"></DIV><DIV>Michael</DIV><DIV><IMG
src="cid:<60C391DF-C6AB-4466-870A-491A0E48D593[at]local>"></DIV></DIV><BR><DIV><SPAN
class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px
0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none;
text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans:
2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN
class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px
0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style:
normal; font-variant: normal; font-weight: normal; letter-spacing: normal;
line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none;
text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans:
2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV>-- <DIV
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;
">Michael D. Muzzie</DIV><DIV style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; ">Web Developer</DIV><DIV
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;
">New Media Center</DIV><DIV style="margin-top: 0px; margin-right: 0px;
margin-bottom: 0px; margin-left: 0px; ">OIT Academic Services</DIV><DIV
style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;
">Princeton University</DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR
class="khtml-block-placeholder"></DIV><BR
class="Apple-interchange-newline"></SPAN></SPAN> </DIV><BR></BODY></HTML>