
{"id":24,"date":"2004-01-14T04:29:00","date_gmt":"2004-01-14T04:29:00","guid":{"rendered":"http:\/\/www.starcoder.com\/wordpress\/?p=52"},"modified":"2021-10-30T20:08:37","modified_gmt":"2021-10-30T20:08:37","slug":"xrg-weather-server","status":"publish","type":"post","link":"https:\/\/www.starcoder.com\/wordpress\/2004\/01\/xrg-weather-server\/","title":{"rendered":"XRG Weather Server"},"content":{"rendered":"<p>During the past couple of weeks, I have been trying to add functionality to XRG that breaks beyond the bounds of the application itself.  One area that I&#8217;ve finished is adding contextual menu&#8217;s for each graph with additional statistics and links to other applications and web sites.  For the weather module, I wanted to link to an online weather site, but most sites go off of US zip codes and not the international standard ICAOs that XRG uses.  I finally found a <a href=\"http:\/\/www.hamweather.com\/\">company online<\/a> that offers free CGI weather server software as long as you have a link to their web site on your server. I gave it a go and modified the templates to match the XRG web page. You can check out the <a href=\"http:\/\/weather.starcoder.com\/cgi-bin\/hw3.cgi\">XRG Weather Server here<\/a>.<\/p>\n<p>Contextual menu support will be included with the upcoming release of XRG 0.5.0.  I still have a ways to go before I finish 0.5.0, but it&#8217;s looking pretty nice so far.  I want to get some feedback on the contextual menus before the release though just in case there is something blatantly obvious that I&#8217;m missing.  Here&#8217;s a list of the menus for each module:<\/p>\n<ul>\n<li>CPU Graph:  Shows top 5 processes&#8217; CPU usage, and a link to Apple&#8217;s Activity Monitor.<\/li>\n<li>Memory Graph:  Shows top 5 processes&#8217; Memory usage.<\/li>\n<li>Battery Graph:  Link to open the Energy Saver System Preferences.<\/li>\n<li>Network Graph:  Shows separate total RX and TX stats for each network interface and links to open the Network System Preferences, Internet Connect, Network Utility, and NetInfo Manager.<\/li>\n<li>Disk Graph:  Link to open Apple&#8217;s Disk Utility.<\/li>\n<li>Weather Graph:  Shows more detailed current weather statistics and links to the XRG Weather Server for your configured ICAO.<\/li>\n<li>Stock Graph:  Links to detailed web stock information for configured stock symbols.<\/li>\n<\/ul>\n<p>Am I missing anything?  I&#8217;m sure I&#8217;ll get comments on it after the 0.5.0 release, but I&#8217;d like the menus to be as good as they can be for the initial release.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>During the past couple of weeks, I have been trying to add functionality to XRG that breaks beyond the bounds of the application itself. One area that I&#8217;ve finished is adding contextual menu&#8217;s for each graph with additional statistics and links to other applications and web sites. For the weather module, I wanted to link [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-24","post","type-post","status-publish","format-standard","hentry","category-uncategorized","post-preview"],"_links":{"self":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/24","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/comments?post=24"}],"version-history":[{"count":1,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/24\/revisions"}],"predecessor-version":[{"id":766,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/posts\/24\/revisions\/766"}],"wp:attachment":[{"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/media?parent=24"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/categories?post=24"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.starcoder.com\/wordpress\/wp-json\/wp\/v2\/tags?post=24"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}