You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@forrest.apache.org by Jens Fendler <jf...@polytechnic.edu.na> on 2007/03/23 10:05:35 UTC

Problem with rss2document transformation

Hi All,

I'm currently evaluating Forrest (0.7) as a new platform for our
departmental website.
One problem I'm experiencing is the conversion from RSS news feeds to
xdocs format using the rss2document.xsl stylesheet.

Most of the feeds I'd like to include on the site include HTML elements
within CDATA sections. I'm aware that there's no 1-1 mapping between
xdoc elements and HTML elements and some elements might not have their
counterparts in xdocs, but I'd like to preserve at least anchors and
simple formatting like <br>, <em> or <b> tags. 

Although the stylesheet uses disable-output-escaping="yes", Forrest
seems to perform another conversion later on that replaces the inline
HTML tags with their text entities (ie. &lt;em&gt; instead of <em>)
(which gives quite an annoying look in the sections' text).

Could somebody give me a hint as to where to look and change this
behaviour for the rss pages I'm generating?

Thanks a lot,
	Jens

-- 
Jens Fendler <jf...@polytechnic.edu.na>             13 Storch Street
Lecturer, Department of Software Engineering          Private Bag 13388 
School of Information Technology                      Windhoek, Namibia
Polytechnic of Namibia                            Fax: +264-61-207-2051    
http://se.polytechnic.edu.na                      Tel: +264-61-207-2546