0

XML Performance Data



Hi, I have bought two of these unit and a bit new to this. One of them is to display times and performances. I want to display the performance and then either by activing a button or at a predetermined time say 5 mins before the scheduled show start I want to trigger a different loop. Now I see I can't use the standard stuff in BrightAuther as the data in RSS form won't be formatted, and text form would be static and not link to the live data. So I was thinking of exported the data to XML (which is how our custom display system works), and then is it posible to write a script to read the XML and understnad the time a performance is scheduled and calculate a time to trigger from that 1 Thanks Ed

7 comments

  • 0
    Avatar
    RokuLyndon


    I don't think I understand clearly what you want to do. What is the export going to look like? Do you have a sample? And, what specifically do you want to do with the data. yes, you could write a script to read an xml file and "do things" based on what's in the file. But, I need to know more about what you're trying to do.
  • 0
    Avatar
    Mako_77


    Hi,

    Okay this is rough but here is say a XML file

    <Performances>
    <Location id=1>Planetarium</Location>
    <Show>Sky at Night</Show>
    <Time>12:30</Time>
    <Seats>60</Seats>
    <Leader>Joe</Leader>
    <Performances>

    So I would want to read this and do two things. Display the TIme and Tital with how many seats. IE Sky at Night 12:30 60 Seats Left

    Then say at either a trigger or 5 mintues before start of performance. Display something like a 5 minutes countdown and Title and the show presenter (Leader).

    The idea is a bit more expanded, IE I would want to display the presenter photo during the countdown. Also there would be say 5 performance dueing a day - so I would want it to display say 5 or 4 etc permances on the first item i metioned.

    Hope that makes it clear <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->

    Thanks

    Ed
  • 0
    Avatar
    RokuLyndon


    THis makes it a little clearer.

    This is the only info in the xml, or will there be multiple entries in one xml?

    Do you have a mockup of what the rest of screen would look look like?

    So, you want the in one line in a text field, like you wrote:

    Sky at Night 12:30 60 Seats Left
  • 0
    Avatar
    Mako_77


    Hi,

    Ill have to mock one up at the weekend. The idea would be the XML would have four or five entries in it. So this data would be repeated for four or five times. The rest of the scene would be loop space images and a clock and date and maybe RSS feed. Stil all up in the air.

    Thanks for the help.

    Ed
  • 0
    Avatar
    Mako_77


    Hi,

    I have managed to make a mockup of the XML file.

    <SessionLocations>
     <Location>Theater</Location>
     <ShowTime>11:00AM</ShowTime>
     <sessionhdr>
       <Show>Night Sky </Show>
       <Seats>8</Seats>
       <Lookups>
         <Presenter>Jo</Presenter>
       </Lookups>
     </sessionhdr>
    </SessionLocations>
    <SessionLocations>
     <Location>Theater</Location>
     <ShowTime> 2:00PM</ShowTime>
     <sessionhdr>
       <Show>Little Stars </Show>
       <Seats>40</Seats>
       <Lookups>
         <Presenter>Jack</Presenter>
       </Lookups>
     </sessionhdr>
    </SessionLocations>

    Basically I want it to look like this on screen:

    11:00AM   Night Sky       8       Jo
    2:00PM     Little Stars     40     Jack

    Then when I trigger something on a webpage I want that show line to flash between the content and a message like Starting in 5 mins.
    When another trigger is sent I want that line to go dull.

    Thanks

    Ed
  • 0
    Avatar
    Mako_77


    *Bump* <!-- s:) --><img src="{SMILIES_PATH}/icon_smile.gif" alt=":)" title="Smile" /><!-- s:) -->

    Anyone can me get started on this ?
  • 0
    Avatar
    RokuLyndon


    Did you ever do that mockup? Can you send it to me at <!-- e --><a href="mailto:support@brightsign.biz">support@brightsign.biz</a><!-- e -->?  And, you want to use brightauthor to do the content updates?
Please sign in to leave a comment.