RSS Feed Description Text not word wrapping

Asked by Iris Hofle Williams

I can't seem to get word wrap to work on my rss feeds.

 I've enclosed the description tag as I've encoded them below:
<description><![CDATA[<p>blah, blah, lots of words here, blah </p>]]></description>

I don't see where to set anything inside the Layout Designer, nor can I find anything on line to do it in the rss code.

 I see how to do it with a css file:
.break-word {
  word-wrap: break-word;
}

But I can't see how to add a css file into the rss.....but this seems like I'm going down the 'wrong' hole.

 I don't want to hard wire the line breaks, but instead I'd like to dynamically do it based on the ticker width....what am I missing.

I'm using the latest build 1.3.2. Can you help me.... again? :)

Question information

Language:
English Edit question
Status:
Solved
For:
Xibo Edit question
Assignee:
No assignee Edit question
Solved by:
Iris Hofle Williams
Solved:
Last query:
Last reply:
Revision history for this message
Alex Harrington (alexharrington) said :
#1

What settings have you put on the ticker?

Two possibilities come to mind:

1. You have it scrolling left or right - in which case the client will do all it can to keep your content on one line and not break lines.

2. You've formatted your text placeholders (eg [Description]) using a style that prevents linebreaks (preformatted, heading etc).

Alex

Revision history for this message
Iris Hofle Williams (iwilliams) said :
#2

Still stuck on getting word wrap to work.
Here are my ticker settings: link:\\"somepath" Direction Up Scroll Speed 60 Number of Items (blank) CopyRight (Blank) Duration 60 Update Interval (mins) 1 fromthe start of the feed duration is per item (unchecked.

My rss feed is below. Do you see something obviously wrong?

<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title>Walk The Wesley Way</title>
<description>The purpose of Walk the Wesley Way is to publicly acknowledge employees for daily actions of going the extra mile to create a positive experience for residents and/or other employees. Residents and employees at all levels of the organization are encouraged to participate in recognizing and publically thanking an employee for their actions that make a positive difference in the life of a resident or employee.</description>
<link>http://http://www.wesleyhomes.org/</link>
<pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate>
<item>
<title>Walk The Wesley Way</title>
<description>The purpose of Walk the Wesley Way is to publicly acknowledge employees for daily actions of going the extra mile to create a positive experience for residents and/or other employees. Residents and employees at all levels of the organization are encouraged to participate in recognizing and publically thanking an employee for their actions that make a positive difference in the life of a resident or employee.</description>
<link>http://http://www.wesleyhomes.org/</link>
<pubDate>Mon, 06 Sep 2009 16:45:00 +0000 </pubDate>
</item>
</channel>
</rss>

Revision history for this message
Dan Garner (dangarner) said :
#3

Nothing obviously wrong with your feed - I would suggest you try two things...

1. Selecting all the text in your ticker media item and removing all formatting - its the eraser on the top row of icons.
2. If that doesn't work, change the feed URL (and nothing else) to http://xibo.org.uk/feed (we can see if it is your feed or your template causing the problem).

Revision history for this message
Iris Hofle Williams (iwilliams) said :
#4

1. I cleared all the formatting and it still showed just one line - running off the right side of the screen.

2. So, it still shows one line ... like this:

As most of our followers are aware the 1.3 series development preview release has been a long time in the [more]

The [more] is clickable. Which doesn't make sense in my deployment type,which will be a static monitor hanging on a wall.

Still, it brings up the question... why is your feed showing the [more] and mine is not?

I'll continue to investigate and thank you so much for helping me with this.

Iris

Revision history for this message
Dan Garner (dangarner) said :
#5

Our feed shows the more because our feed outputs the more in the description tag (not very good I know!).

I think we need ro have a look at what's happening inside, how the template it being saved, etc. For this we will need to get the layout XLF file from the client. This will be named for the layoutid and appear in the local client library.

If you could upload that file somewhere, I'll take a look and see if anything looks wrong.

It would also be good if you could run the client with enable mouse switched on from options, you should then be able to right click on the ticket text and 'view source' , if you could save and paste the resulting file somewhere too, then that would be good.

Revision history for this message
Iris Hofle Williams (iwilliams) said :
#6

I've removed all extraneous backgrounds. I looked at the xlf file and nothing jumps out at me. Hopefully you can figure it out. Since I have to deploy the first phase of the signage by Friday, I'm going to make a stagnant page in the mean time.

Thanks in advance for your help.

Iris Hofle Williams
Software Engineer
Wesley Homes

Iris Williams

Wesley Homes
RETIREMENT COMMUNITIES - HEALTH SERVICES - FOUNDATION
for people who love lifeTM

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Dan Garner
Sent: Monday, June 25, 2012 11:41 PM
To: Iris Williams
Subject: Re: [Question #201227]: RSS Feed Description Text not word wrapping

Your question #201227 on Xibo changed:
https://answers.launchpad.net/xibo/+question/201227

    Status: Open => Needs information

Dan Garner requested more information:
Our feed shows the more because our feed outputs the more in the description tag (not very good I know!).

I think we need ro have a look at what's happening inside, how the template it being saved, etc. For this we will need to get the layout XLF file from the client. This will be named for the layoutid and appear in the local client library.

If you could upload that file somewhere, I'll take a look and see if anything looks wrong.

It would also be good if you could run the client with enable mouse switched on from options, you should then be able to right click on the ticket text and 'view source' , if you could save and paste the resulting file somewhere too, then that would be good.

--
To answer this request for more information, you can either reply to this email or enter your reply at the following page:
https://answers.launchpad.net/xibo/+question/201227

You received this question notification because you asked the question.

Revision history for this message
Dan Garner (dangarner) said :
#7

You dont attach the XLF?

Revision history for this message
Iris Hofle Williams (iwilliams) said :
#8

So I'm sure it's user error, but I can't see how to word wrap text inside an rss feed. The work around I'm using is to use Javascript to scroll the page, which actually gives me more flexibility in the long run, since I'm pulling the data from a SQL database and having to format it anyway.