Gadget Feed for Vista Sidebar.


Gadget Feed for Vista Sidebar
I completely switched to Windows Vista, and thus far without any harms.
A thing I especially like in Vista is the Sidebar, and the Gadgets you can have there. It is anything but difficult to make a device, it is only a small website page, I read on numerous nerdpages, so I chose to try it out.

What's more, certain, it is anything but difficult to assemble your own particular Vista Sidebar Widget.

In this post I will clarify how I manufactured a basic contraption that shows the 5 latest post from the Beautiful Beta food.
Now if you desire to install the gadget, click this link.  
Save the file to your desktop, and check that its extension is .gadget. If the file extension shows up as .zip, change it to .gadget. Doubleclick the downloaded file to install the gadget. From your Vista Sidebar, add the gadget.

If you want to see how it works, follow the next tutorial.

1. Check your neighborhood contraption organizer

You can locate the introduced device by squeezing [windows] + R on your console, to raise the 'Run'- dialog. In the inputbox enter

%userprofile\AppData\Local\Microsoft\Windows Sidebar\Gadgets and click OK. This will convey you to your organizer with nearby sidebar contraptions (neighborhood implies: just accessible to you, not to different clients of your PC).

Presently you will see your new contraption, it's called BloggerFeed.gadget
2. Examine the gadget structure
Open the BloggerFeed.gadget folder. In it there are 2 files and 3 folders.
The first file, BloggerFeed.html, is the gadget code, in html. Open it in Windows Notepad and examine it. You can see some familiar code here, calling the blogger JSON-feed for BeautifulBeta. If you like, change "beautifulbeta" to the name of your own blog to view your own feed.
The second file, gadget.xml, is called the Gadget Manifest, and contains meta-data about the gadget. This data is displayed in the Gadget Window when you try to add a new gadget to your sidebar.
The CSS-folder contains the stylesheet for the gadget, defining fonttype, fontsize, colrs, and so on. Not much different from your ordenary blog or website, isn't it?
The JS-folder contains the javascript-code for retrieving and parsing the JSON-feed. This code is also used in my Blogger Widget, a hack you have most likely used yourself.
The IMAGES-folder contains the icon (I copied this one from a standard Microsoft gadget).

3. Try it and modify it!
It is as easy as this. Please try it yourself, change the looks, or the blog, or whatever you like, and share your experience!

4. Things to do

This is just a first straightforward methodology. Things I like to add to it later on:

- Fly-out to show food substance

- Setup screen to change the blogname and different settings

- Auto-invigorate

Take pleasure in!

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...

More From Webworld