Live Gadget "Job Openings"
What is it for?
Get the latest job openings from your preferred online recruitment resource. By setting filter criteria like location and job description this gadget always displays the latest job openings on your Live homepage.
The latest job openings on your Live homepage
What do you need?
Register on www.live.com or your local Live page and customize your Windows Live homepage. Go to "Add stuff", select “Advanced options” and add the gadget by entering its URL. Subscribe to it.
How is it done?
The Job Openings gadget is an inline gadget and uses some undocumented functions to access the built in menu system. Please notice that only gadgets that are hosted by Microsoft for Premium Partners are allowed to use the inline mode. If you want to try them out or develop an inline gadget, you have to host it on a webserver that runs on localhost and change an option in the gadget manifest. Please refer to the Live Gadget SDK for further information.

The gadget shows a list of job openings and allows the user to filter them by two criteria - the location of the job and the type of job. The jobs and the filter data are loaded dynamically. All content is added to the gadget using DOM methods. If the user selects a new filter, it is saved to the preferences.

Using the request functions of the framework, the job openings are loaded from an external RSS feed using the rss proxy. The filters are applied server side and can be passed using GET parameters. When the download of the RSS feed has been completed, the gadget uses the built in RSS parser to convert it into an easy readable data structure, and then adds the entries to the DOM.

Because the possible values for the filters will change in the future, they are also loaded from an external source, defined in the manifest for live.com to preload them. The fact that the gadget is run in inline mode gives us the possibility to use the menu system for the filters. This is done with the undocumented binding classes in the Start namespace which makes it very easy to add a dropdown list where all entries from the external data are added. To see how this is exactly done, please read the provided source code.
Sorry, the xml file is not yet available on a live server. You can already get familiar with the source code and run the gadget on a local host.
© 2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement