Translate

Image of RHCE Red Hat Certified Engineer Linux Study Guide (Exam RH302) (Certification Press)
Image of Linux Kernel Development (3rd Edition)
Image of Android Wireless Application Development
Image of Operating System Concepts

GNOME Shell Weather Extension

The current version of the GNOME shell does not come with a built-in weather application. As a result I, and at least two other developers that I am aware of, have written GNOME Shell extensions to provide this functionality. In this post, I show you how to write a simple weather extension for the GNOME Shell using the free weather data from World Weather Online (WWO). What is different about this particular weather extension is that it displays 5 days’ worth of forecast data and uses the weather data suppliers’ images instead of GNOME icons to display a pictorial representation

JavaScript E4X

In previous posts, I discussed the SpiderMonkey command line shell js and how to add support to it to enable full access (read, write, create, copy, delete, etc.) to the local filesystem via the File object and the NSPR library. While rumaging around in the source code and documentation for js, I found that js partially supported the EX4 XML extension via a user configurable option. This post looks at what it takes to load an XML document into js from your local filesystem, process it and write out the resulting document to your local filesystem using File objects and