MediaSignage support forum

community support => SignageStudio => Topic started by: solerous on November 29, 2010, 08:46:03 AM

Title: Reading from a text file/XML?
Post by: solerous on November 29, 2010, 08:46:03 AM
I was wondering if it's possible to read data from a text file into a signageplayer, specifically an xml file.  I have the file available as a URL and want to just map it into various labels/boxes on a screen.  The only thing I see under components that looks like it might do this is Catalog Item but I don't know how that works or if that's even the way to go.  Is this even possible with this software?
Title: Re: Reading from a text file/XML?
Post by: admin on November 29, 2010, 09:44:58 AM
If the XML is of a format of RSS, yes you can use our RSS news or custom RSS and point to the feed.
If it's not, you should look into making a custom SWF to read the data, we do have some samples.

See these videos:

http://mediasignage.com/html/signage_video.html?videoNumber=customRSS

http://mediasignage.com/html/signage_video.html?videoNumber=flashSDK
Title: Re: Reading from a text file/XML?
Post by: solerous on November 29, 2010, 12:11:09 PM
Thanks, those examples look promising.  On the one where it showed the xml for the file the swf was using though, I was wondering if you edit the xml directly, will it reflect the changes in SignagePlayer each time it reloads the timeline (every minute or whatever it's set to)?  It seems like it would but that wasn't mentioned in the video and I'm unfamiliar with how swf files work.  The video only showed how to edit the entries with SignageStudio and we'd like for our users to be able to just edit the (external/stand-alone) text file directly and load it from a URL into the swf
Title: Re: Reading from a text file/XML?
Post by: solerous on November 29, 2010, 01:05:39 PM
Actually, it looks like just re-formatting the XML to be RSS compatible would be the least painful of the two options.  I think I'll give that a try.