Originally Posted by HKChad
I question their skills as writing xml, but whatever, it works.
Heh. Yeah. I would have preferred JSON, but as you say: whatever. For such trivial data the format hardly matters. For my little gnuplot graphing tool I don't even use an XML parser, I just use bash. Literally, it's curl or wget of all.xml piped to this:
while read W N V E R
[ "/$N" = "$E" ] && eval $N=$V
This converts a line of XML like "<FOOD1_SET>1800</FOOD1_SET>" into the executable (vla eval) statement FOOD1_SET=1800.
(If you haven't played with this, no, that's not self-clean mode -- the temps are reported in units of degrees * 10, which is goofy, but whatever.)