Geoff McLane wrote: > He added some new things, which is great, like the mp server > status, but assume this depends on the python to get information, > so this may not be portable, but would certainly like to > incorporate this in my example also, if possible... How > to do it is the question? > A server status feed is here, so you can fetch it with ajax, urlfetch, etc http://fg-online.appspot.com/feeds/ (and need to complete it when I have time - possibly this weekend) If you need help them let me know.
Getting the feed is currently achieved with the following process. 1) cron fires off every minute to fetch this page http://mpmap01.flightgear.org/mpstatus/ 2) Python's "BeautifulSoup" rips out the server relay table 3) then stashes the data in memcached as a json string However, the MpStatus could be wired up to return data in xml + json as well ? So a call to http://mpmap01.flightgear.org/mpstatus/?format=json would return the data. This would be very useful. Who maintains mpmap01/mpstatus server? Pete ... goes to kind the mpstatus code.... ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel