July 15, 2018, 01:53:29 PM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://twitter.digitalsignage.com

MediaSignage support forum



Author Topic: RSS Reader does not parse spacing correctly  (Read 544 times)

steveRedMinnow

  • Newbie
  • *
  • Posts: 35
  • Karma: +0/-0
    • View Profile
RSS Reader does not parse spacing correctly
« on: October 13, 2017, 08:39:56 AM »
I have created a script for Google Docs that takes a document and creates an RSS feed from it. It keeps all the formatting: paragraph spacing, paragraph alignment, (right, left, center), text decoration, (bold, italic, underline) and the text is encapsulated in CDATA within the RSS.

All the formatting comes through and displays perfectly in the Digital Signage player. However, I have noticed that if there are extra spaces within a sentence, the DS player does not display it correctly. It only displays one space instead of multiple ones. In doing research online, the first suggestion was to encapsulate all the text as CDATA, which I have done, but the problem still exists. Additional investigation indicates that the RSS reader ultimately handles how to display sentences with multiple spaces, and they can chose to ignore it.

Here is a link to the RSS feed: https://script.google.com/a/redminnow.com/macros/s/AKfycbwosUauZCSiuYPZvkPSKJ-E4TGNn1fAHvPeilU9wmw2Cpmmesdr/exec
You can see the extra spacing from the result, (if you look at the source code and not through a default RSS reader). However the DS player does not display it that way.

Any suggestions or fixes would be appreciated.

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines