HTML list tags in ticker

Hi all,

Firstly, well done on Xibo. I’ve been using it since about 2010 and it does a great job.

I’m moving our main display layout from sourcing it’s RSS content from Sharepoint to now sourcing it from a different commercial system and I’m having a few problems with the RSS output from that system, which allows more formatting than Sharepoint did. Every bit of text formatting that Xibo doesn’t like seems to cause it to revert to a small black font. So far I’ve had to strip out these tags to ensure my overridden formatting is adhered to (otherwise, a small black font is produced) - a,p,s,span,blockquote,h1,h2,h3,h4,sub,tbody,table,tr,td,ol,img,ul,li.
This keeps it within my formatting but I’d like to allow a few of those tags through, particularly lists - ul, ol and li. Unfortunately if I don’t strip those it produces a list with a little black font rather than the white Arial font it’s supposed to use. It also does that if I don’t strip any tags at all.

So, is there a way to allow HTML lists in the RSS and have them formatted correctly?

I’m using 1.7.4 with Windows clients, some further information about the RSS is below.

The part of the feed itself with the list tags looks like this:

<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>News</title>
    <link>http://server.com/feed/news-school-rss.php?user=8b1c7da7e05fdcc14dc4a9892</link>
    <description>Recent news items from Product</description>
    <language>en-us</language>
    <lastBuildDate>Thu, 24 Aug 2017 10:47:12 +1000</lastBuildDate>
    <ttl>1</ttl>
    <atom:link href="http://server.com/feed/news-school-rss.php" rel="self" type="application/rss+xml" />
    <item>
      <title>Some testing of UL&#039;s.</title>
      <description><![CDATA[<ul><li>point1</li>
	<li>point2</li>
	<li>point3</li>
</ul><p> </p>
]]></description>

A snippet of the HTML output by Xibo looks like this:

<span style=\"font-family: Arial, Verdana, sans-serif; font-size: 48px;\">Some testing of UL's.<\/span><\/span><\/strong><\/p>\n\n<p style=\"font-family: Arial, Verdana, sans-serif;\"><span style=\"color: rgb(255, 255, 255); font-size: 48px;\">point1\n\tpoint2\n\tpoint3\n\u00a0<\/span>

My template override code in the CMS is very basic and looks like this:

<p style="font-family: Arial, Verdana, sans-serif;">&nbsp;</p>

<p style="font-family: Arial, Verdana, sans-serif;"><strong><span style="color:#00FFFF;"><span style="font-family: Arial, Verdana, sans-serif; font-size: 48px;">[Title]</span></span></strong></p>

<p style="font-family: Arial, Verdana, sans-serif;"><span style="color: rgb(255, 255, 255); font-size: 48px;">[Description]</span></p>

Many thanks, any help would be appreciated. If you need more information please don’t hesitate to ask.

L8r.

Hi,

Can anyone provide come help on this one please?

Cheers,
Hal.

I’m not sure, but it could be that you would need to apply some javascript to display it the way you want.

We do use different rss parser in 1.8 series as well, although I do not know how does it handle lists in the feed.

Is the feed available over the internet so I could try it here locally?

Hi Peter,

I’ve messaged you with some of the details. it would be great if you could take a look.

Many thanks.

I’ve replied with possible solution to your private message.