掲示板

RSS feed showing html as text

thumbnail
7年前 に Suresh Yadagiri によって更新されました。

RSS feed showing html as text

Junior Member 投稿: 29 参加年月日: 14/03/24 最新の投稿
When we configure RSS feed the entries description showing as html text. Any suggestions? is it a bug in RSS feed?



thumbnail
7年前 に Samuel Kong によって更新されました。

RE: RSS feed showing html as text

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
What's the URL of the RSS feed? In particular, does the URL feed say that it's HTML. If not, the content will be escaped even if it looks like HTML code.
thumbnail
7年前 に Suresh Yadagiri によって更新されました。

RE: RSS feed showing html as text

Junior Member 投稿: 29 参加年月日: 14/03/24 最新の投稿
Thanks for response Samuel. The feed URL is http://rss.cnn.com/rss/cnn_topstories.rss . I don't see any type mentioned there.

We can try any URL mentioned here : http://www.cnn.com/services/rss/

Another issue noticed is, if we add multiple instances of RSS publisher to same page , the accordions not working properly. it's always expand or close top level panel menus. Seems to be panel id is not unique when multiple instances added.
thumbnail
7年前 に Samuel Kong によって更新されました。

RE: RSS feed showing html as text

Liferay Legend 投稿: 1902 参加年月日: 08/03/10 最新の投稿
Unfortunately this is a RSS 2.0 feed. The RSS specifications doesn't specify if the content is HTML or plain text and there's no way to be sure. So for a variety of reasons, the RSS reader in the portal treats the content as plain text. If you provide an Atom feed with HTML content, the RSS portlet should be able to display the HTML content correctly.