Widget Version Checker Utility

by Mike Spisak

This Widget is an example of a reusable method that facilitates synchronizing a Widget with the latest version. This Widget contains a library that other Widget developers can incorporate into their code to make sure folks are using the latest version of their Widget.

This library supports two methods:
- Widgets hosted on a public web server
- Widgets hosted in the Konfabulator Widget gallery

This Widget includes sample code, sample usage, and docs in the comments.
Current Version: 1.0

Sorted by Newest

Sort by Most helpful
Please sign in if you'd like to review.
  1. Brendan Bellina
    November 22, 2006 · version 1.0 Brendan Bellina
    A. McBain,

    Read down a comment. The version I use in my Doppler! widgets does this. Just dl one of my widgets and get it from there.

    Regards.

  2. A.McBain
    November 20, 2006 · version 1.0 A.McBain
    Nice!

    Any chance of a third function that checks "widgets.yahoo.com/view.php?widget=......"?
    Maybe you can tell me what to change in your regExp.
    (I prefer using widgetgallery.com, but from what I can tell from the forums, it might not stay forever)

    Like kwilliam, I edited it to return a value rather than popup.

  3. Brendan Bellina
    June 05, 2006 · version 1.0 Brendan Bellina
    I've updated this class and used it in my eduCam! and Doppler Weather widgets (IndianaDoppler!, TexasDoppler!, KansasDoppler!, etc.) so that it now checks the Yahoo Widget Gallery instead of the Konfabulator widget and also includes the suggestions of Roert and kwilliam below.

  4. Robert Guico
    November 28, 2005 · version 1.0 Robert Guico
    This is a wonderful addition to the library. I've implemented it in Weather Warning, and as I get around to it, hopefully my other ones as well.

    I added a passive/active flag to one of your constructors so that I can determine whether I want to generate a popup (for example, I don't want a popup every time at launch, but I do in the context menu). If you want the code for this let me know, or you can just to add it to your codebase for future use on your own. It's not too hard. :-)

  5. kwilliam
    October 05, 2005 · version 1.0 kwilliam
    Mike, this is great! I'd change the text some, from "Error: ouch, there was a problem..." to "VersionChecker: There was a problem..." just so the origin of the error is more clear. :-)
    2ndly, it would be nice if you could add a more discrete form of the .checkVersion function for times when you want to check for updates without the alert() popups. I wrote one (.checkForUpdates) by replacing the 'alert(...);' lines with 'return [value];' to make it a func More

Get It!

Avg. Rating:

StarStarStarStarStar (4)

Your Rating:

It's:

Version:

1.0

Updated:

2005-09-30

Downloads:

8,587
Windows & Mac

More tagged widgets

WidgetDockMod

Downloads: 132,829
StarStarStarStarStar (161)

Widget Gallery Mo…

Downloads: 14,362
StarStarStarStarStar (10)

Widget Drop

Downloads: 32,750
StarStarStarStarStar (20)

The Widgets Widget

Downloads: 9,053
StarStarStarStarStar (8)

Widget Control Ce…

Downloads: 33,159
StarStarStarStarStar (12)

More by Mike Spisak

Widget Version Ch…

Downloads: 8,587
StarStarStarStarStar (4)

timePiece

Downloads: 22,285
StarStarStarStarStar (6)

SOAP Client Example

Downloads: 7,485
StarStarStarStarStar (2)

Copyright © 2008 Yahoo! Inc. All rights reserved. · Copyright Policy · Terms of Service · Suggestions

NOTICE: We collect personal information on this site. To learn more about how we use your information, see our Privacy Policy.