October 01, 2023, 02:29:12 PM
Welcome, Guest. Please login or register
News: Join us for a FREE Webinar this Thursday at http://webinar.digitalsignage.com

MediaSignage support forum



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

steveRedMinnow

  • Jr. Member
  • **
  • Posts: 35
  • Karma: +0/-0
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