I just posted an update to the GhostXML plugin on
GitHub. Several things going on here, but the big news is
support for JSON data sources. This needs to be run through its paces a bit before calling it an official enhancement, but it has been working well for me. You may still see references here and there to XML (not least of which is the name of the plugin) and those will go away over time. If you don't want to risk new bugs, don't download this update.
A summary of the changes contained in this pre-release, unofficial update:
plugin.pysupports JSON
consolidated most of the runConcurrentThread stuff under the refreshDataMenu() method, and renames to disassociate it with being only a menu item method.
starts to eliminate last vestiges of XML (movement to a more data-type-agnostic naming convention.)
moves the last of the XML-specific stuff out of the comm method (getTheData.)
updates comm method to use subprocess.popen curl over urllib2.
updates sleep method to account for user config changes to update interval.
Fixes error in code moving to the new debug method.
more housekeeping
Devices.xmlstarts to eliminate last vestiges of XML (movement to a more data-type-agnostic naming convention.)
PluginConfig.xmlfixes bug in configMenuPollInterval that used to account for the 5 second sleep in runConcurrentThread.
Please report bugs here. Enjoy!
Dave