| ThinkDigit Home |
|
||||||||||||
|
|||||||||||||
|
|||||||||||||
|
||||||||||||
|
Twitter provides an online tool to build a widget catering to your specifications. It allows you to create a widget showcasing your profile, one running a search query, displaying your favourites or a list. While this widget is intended to be embedded in a website or webpage, we can easily use it to create a desktop widget.
Visit the Twitter widget creation page at http://twitter.com/goodies/widgets and create a widget according to your specifications. When you are done configuring the parameters, click the “Finish & Grab Code” button to get the code for the widget.



Now we need to place this code in a a basic html page. For this, all you need to do is use a tool such as notepad or notepad++ and type in the following:
<html> <head> <title>Twitter Widget</title> </head> <body> <!-- Insert the widget code here --> </body> </html>
Paste the widget code you just generated inside the body tag. If you save this file as a “.html” file and open it with your browser, you should be able to see the widget you created in action.



