I wrote a new jQuery plugin: extservice.
It allows you to add embedded items for external services to a webpage easily and with a consistent syntax.
Currently supported services:
It looks pretty much like this:
// Find the element with id=digg and replace its contents (if any) with the // “digg it” button. $('#digg').loadDigg (); // Load Google Analytics. $.loadGoogleAnalytics ('UA-0123456-1');
© 2011 Johan Kiviniemi
The image of a giraffe is from Wikimedia Commons