Don Robertson wrote:
Greetings,
I have set up a Drupal sub-site and would like the RSS feed from the
site to be displayed as a 'whats new' panel on our main page.
Easy little XSL script I thought. The RSS feed has all the html in the
'description' tag escaped. I have used disable-output-escaping="yes" to
display the html, but I really need to be able to manipulate some of the
tags - the img tags in particular - I'd like to either remove or reduce
the width of the images (it is mostly user documentation for the
WebOPAC).
Is there any way I can do this or do I need to pre-process the rss feed
before I feed it into the XSL transformer thingy.
I have read a lot of the archives about output escaping and recognise
there are arguments as to why it is not a 'good thing' but I still want
to do it anyway. I just don't believe I am the first person to have this
problem :-)
You are aware that if you do that and do *not* filter the HTML, the RSS
feed can inject arbitrary script and HTML code into your main page???
Best regards,
Julian
--~------------------------------------------------------------------
XSL-List info and archive: http://www.mulberrytech.com/xsl/xsl-list
To unsubscribe, go to: http://lists.mulberrytech.com/xsl-list/
or e-mail: <mailto:xsl-list-unsubscribe(_at_)lists(_dot_)mulberrytech(_dot_)com>
--~--