patricksweeney
patricksweeney

Reputation: 4022

Is there an automatic jQuery plugin updater?

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.

Upvotes: 2

Views: 641

Answers (3)

cllpse
cllpse

Reputation: 21727

What real-world problem are you trying to solve?

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

Upvotes: 0

fbuchinger
fbuchinger

Reputation: 4514

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.

Upvotes: 0

karim79
karim79

Reputation: 342635

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

Upvotes: 2

Related Questions