Showing posts with label Gadgets. Show all posts
Showing posts with label Gadgets. Show all posts

Tuesday, July 21, 2009

Since Blogger updated the API for gadgets, I've been hard at work creating new and useful gadgets for Blogger users.



My first two successful gadgets made use of the google.blog function in order to retrieve and parse post and comment feeds for the blog in which they are installed. These gadgets are now available for installation through the Blogger gadget directory and have even been featured on Blogger's official Featured Gadgets blog!







These Recent Posts and Recent Comments are very easy to install: simply follow the links for the gadget you would like to add, and choose how many posts/comments you would like to display:





When you press "Update" you will be presented with an example of how the gadget will appear in your blog, and can then proceed to save your gadget.





Recent posts with thumbnails

Aneesh from Blogger Plugins has created a wonderful "Recent posts with thumbnails" widget which displays the media:thumbnail for each post.



This is a wonderful and very user-friendly gadget which even includes details of comments! Install the Recent Posts with Thumbnails gadget by following this link.





Known Bugs

As the API is still rather new, there are a few minor bugs with my gadgets. These are the issues I'm currently aware of, which will be updated with new information once it's available:



Need to press "Update" to ensure preferences are configured

This is an issue with all gadgets which should be resolved quite soon.



Some gadgets don't display in Chrome


Several people have emailed me about this, and to be honest I don't know why this is happening. I'm pretty certain the Blogger team are aware of this issue and hope for a fix soon.



Gadgets may "spill over" in customized templates

The width of gadgets is determined by the width of the sidebar, and sometimes ignores any padding/margins applied to the "widget content" section. I've tried many ways to fix this, but so far my only solution would be to apply margins within the gadget, making it narrower (and unsightly) for those who use regular templates.





Any bugs/other issues?

Please let me know if you have any other problems with my gadgets by leaving your comments below.

Saturday, July 18, 2009

Over the past few weeks, I've been working with Bloggers improved API for Gadgets and have now completed work on several useful gadgets which can be installed with just a few clicks.



I've found that the Gadget API offers a much better interface to the end-user than HTML/Javascript widgets (although it takes me far longer to create Gadgets than widgets!). While they are a little more difficult to create, I think the end-product is worth the effort:

  • Gadgets can be added from within the Blogger dashboard (so we don't need to use search engines, or visit the owner's site to install).

  • Gadgets are easily customized, and can be easily reconfigured after installation

  • The new API includes the ability to include Blogger post and comment feeds for the blog in which they are installed.

  • Developers can ensure gadgets blend with the theme in which they are installed using "Skins" parameters.



How to install Gadgets in your Blogger blog

Gadgets are as easy to install as Blogger's default widgets. Simply go to Layout>Page Elements in your Blogger dashboard and click the "Add a Gadget" link in the area where you want to install your gadget.



A pop-up screen like this will appear:



From here, you can browse gadgets in the directory, search for gadgets of interest, or add a gadget using the URL where it is hosted.



Once you have chosen a gadget to add, you should be presented with a configuration screen like this:



There will be different options here, depending on the gadget you have chosen to install. This example shows the configuration options for my Twitter Updates gadget.



At the very least, you should be able to alter the title of the gadget, however most gadgets have other configuration options available. A preview of how the gadget will look in your blog will appear below these options (do bear in mind that the width of the gadget may be wider when displayed in your blog if the area in which it is added has larger dimensions than the preview screen).



Once you've changed any settings, be sure to click the "Update" link in order to see the changes appear before you save. The gadget will then appear in your blog, and it's position can be changed in the Page Elements section of your dashboard.





Blogger's Featured Gadgets

The Blogger team have created The Featured Gadgets blog which details gadgets of particular interest. Some of these gadgets are also included in the Featured Gadgets section of the Gadget directory (available when you choose to add a new gadget through your dashboard).



I'm thrilled to find four of my own gadgets are "featured": Recent Posts, Recent Comments, Picasa Photostream and Twitter Updates, and look forward to seeing the efforts of other Blogger developers in the future.





Developing Blogger Gadgets

The Blogger team have created extensive documentation for those hoping to develop gadgets for use with Blogger in addition to the extensive resources for creating Google gadgets.



I've also begun a three-part series for creating Blogger gadgets over at Blogging Tips to explain the basics including how to utilize Blogger feeds in our gadgets, use skinning parameters and user preferences for customizable gadget utilities.



Once you've created a Blogger gadget, you can add it to the Blogger Gadget directory using this link. Your gadget should appear in the public directory within about 30 minutes of successful submission and the best gadgets will be featured in the Featured Gadgets blog.





Gadgets I'm working on now

In addition to the four gadgets mentioned above, I have a further three gadgets which are almost ready for public release: a Flickr Photostream Gadget (install with your Flickr username, not the URL of your feed); a TwitPic gadget (to display your recent TwitPic updates) and a Juitter gadget, for real-time updates which mention your username or other search terms.



Over the next few days, I'll update with posts for all my gadgets with full details of functions and installation so you can add and enjoy these gadgets in your Blogger powered blogs.





Your thoughts?

I hope you will enjoy using Blogger gadgets which use this improved API and look forward to seeing gadgets which other developers create.



If you've created a gadget for Blogger or if there's a particular gadget you'd like me to create, please let me know by leaving your comments below.