views:

207

answers:

3

Is there some sort of utility available that will check my jQuery plugins and see if they are the latest version? I understand that there is not an easy way to check the version numbers automatically; but I wonder if anyone has taken a look at this.

+2  A: 

You could always subscribe to the RSS feed or hit the main page and parse out this bit programmatically, using a DOM parser (or regex if you prefer pain):

<p class="jq-version"><strong>Current Release:</strong> v.1.3.2</p>

That said, I think the best solution is to manually check the site every couple of weeks or so. If you automatically update your production jQuery libraries, you will almost certainly face at least one catastrophe.

Also, you could do it with jQuery like so (provided you get jquery homepage via a proxy on your domain):

$('#someDiv').load('proxyOnMyDomain.php?get=www.jquery.com .jq-version');
karim79
Yeah you don't want automatic updates, but I think he just wants to be alerted.
Nosredna
Exactly, I do not want to automatically update them. I just want to be alerted. Watching RSS feeds for maybe 25 plugins would get annoying as well. I'll look in to the last part and see if that is feasible.
patricksweeney
Sorry - I guess I assumed so from the tagline :)
karim79
A: 

Maybe Yahoo Pipes is right for you... it could combine the 25 plugin feeds into one. If not, there are many other feed mashup services out there.

Franz
A: 

What real-world problem are you trying to solve?

Perhaps Google AJAX Libraries API can help you in some way.

roosteronacid