Hello DW guys,
I am trying to make an XSLT that could parse all that News and convert them into RSS.
This RSS MUST have special format.... that is why I am using this this module to achieve this.
Here is the xslt file (see file attached).
Everything works fine except for <description> tag. This tag must return just plain text.
Instead it returns "<p>abc</p>åøæ" - in short words it returns RitchTextEditor content - as that where this value is being taken.
what RSS feed validator sees:
<description>I ugerne 44, 45, 46, 47 og 48 f&aring;r abc bes&oslash;g af brobygningselever. Alle er fra tiende ydelse.&nbsp; <br /> <br /> Se n&aelig;rmere info herom i under.</description>
So - I found the way to get rid of HTML elements ">" and "<" etc... But even bigger problem is how can I transform "&aring;" into "å".
Long story short - the value I am getting from RitchTextEditor I must convert it to just plain text.
encoding does not really help utf-8 or 16...
disable-output-escaping helps a bit, it converts nordic "æ" caracters to "æ
" but than the problem the problem is all HTML lements like here:
<h2 class="h2">Hjælp <br /> </h2> <img alt="" width="400" height="264" src="/files/billeder/Diverse/a.jpg" /><br /> <br /> Onsdag d. 3. november Dagsværk. I år er der,. <br />
I think this is the way to go, just not sure how can I remove all that RitchTextEditor markup...
Can anyone please help me here? :-(
Kind regards,
Dmitrij