Question

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.

Was it helpful?

Solution

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');

OTHER TIPS

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.

What real-world problem are you trying to solve?

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

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top