Documentation

XML Output

Last Updated: Sep 17, 2017 6:57 pm

With Live Score 1.6.6 and above, it's possible to export a XML file of your current game data.
The resulting file can then be used as an input source in other applications or systems.

  1. Sample File
  2. Enable the XML Output
  3. Updating Data


Sample File

This is a sample xml text for the MMA sport.
It contains current game data along with game configuration like max-rounds and max-round-time.

<game>
    <game_state>1</game_state>
     <team_away>John</team_away>
     <team_home>David</team_home>
     <round>2</round>
     <time>02:45</time>
     <max_rounds>3</max_rounds>
     <round_time>05:00</round_time>
</game>


Enable the XML Output


We start by enabling and configuring the XML Output feature.
This can be done in the settings of Live Score.

Here you can activate the feature, and set the filepath for your file.



Updating Data

Live Score will automatically update your xml file every time your scoreboard is being updated.
So you always get the latest scoreboard data in your file.
Software that support this feature, watch for changes on this file, and reload it as soon as the file has changed.





Do you like this page? Help us and share it with your friends