This app reads stock quotes from the web and outputs a BBXML document that can be sent to a Betabrite sign.
As always, you need to allocate a TEXT file on the sign to hold the message. See the User's Guide for details. Example:
<alphasign>
<memoryConfig>
<textConfig label="K" size="256"/>
</memoryConfig>
</alphasign>
The script is bbstock. As arguments, list all of the symbols that you want to fetch. Example:
./bbstock AAPL MSFT YHOO GOOG
The output is an XML document.
<alphasign>
<text label="K">
<mode display="compressedRotate"/><green/>
<msg>AAPL <brown/>36.06 <green/>(<dimgreen/>+1.46%<green/>) </msg>
<msg>MSFT <brown/>25.30 <green/>(<dimgreen/>+3.48%<green/>) </msg>
<msg>YHOO <brown/>34.50 <green/>(<dimgreen/>+0.50%<green/>) </msg>
<msg>GOOG <brown/>220.00 <green/>(<dimgreen/>+0.25%<green/>) </msg>
<msg>[4/29/2005 4:00pm]</msg>
</text>
</alphasign>
Send the output to the sign with bbxml:
./bbstock AAPL MSFT YHOO GOOG | bbxml
By default, the output is for TEXT file label "K". You can specify a different file label
with the --label option.
./bbstock --label a AAPL MSFT YHOO GOOG