1 users online. Create an account or sign in to join them.Users

Search

For a client I need to display an rss feed on the homepage. Unfortunately, the rss feed contains html tags in it’s description (links, mostly).

The datasource currently encodes those links, so it shows up in plain text.

Is there a way to make the links appear as links? I have tried disable-output-encoding, but that doesn’t seem to work.

All help appreciated!

Couldn’t you parse the feed with PHP and use the output as new source?

Yes, I could, but I find it weird the ds does so in the first place.

The description field (in the rss, where the html is inserted) contains CDATA tags, so I would assume symphony leaves those alone..

The strange thing is, in the ds, the CDATA tags are also removed.

Argh, just found another thread about roughly the same issue, it appears disable-output-encoding only works in value-of, whereas I used copy-of..

Thanks for the help!

Create an account or sign in to comment.

Symphony • Open Source XSLT CMS

Server Requirements

  • PHP 5.2 or above
  • PHP's LibXML module, with the XSLT extension enabled (--with-xsl)
  • MySQL 5.0 or above
  • An Apache or Litespeed webserver
  • Apache's mod_rewrite module or equivalent

Compatible Hosts

Sign in

Login details