roxen.lists.roxen.general

Subject Author Date
XHTML in Roxen CMS published content Michael D. Muzzie <mdmuzzie[at]Princeton[dot]EDU> 03-10-2006
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.

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.

Anyway, the code FCKEditor generates is relatively clean. The code  
that is saved to the flat files maintains their <strong> tags, <em>  
tags, self-closing <br /> 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 (<b>, <i>, <br>, etc.).

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?

Michael

-- 
Michael D. Muzzie
Web Developer
New Media Center
OIT Academic Services
Princeton University