Tag Archives: html

chicche software

Firefox in carne e ossa

La Repubblica ha pubblicato una serie di immagini di un Firefox, ovvero di un esemplare di Panda Rosso.

code web

Twitter badge script updated

I just made a small update to the twitter script hosted on this website. For further details read the original post.

PS: For those who don’t know what it is about, very bad! It’s a great, magnificent and brilliant effort to improve the original Twitter Html/JavaScript based badge.

code web

Clickable links in Twitter html/js badge

In standard Twitter badges, web addresses you write in your posts are not clickable and you need to copy and paste the link in the address bar to visit them. I partly modified the Twitter html/js badge javascript code to automatically recognize the http addresses and change them to proper links.

Twitter linkable badge

If you want to use it, you only need to change the code of your html badger, substituting “http://twitter.com/javascripts/blogger.js” in “http://www.soccio.it/code/twitter/blogger.js“.

Twitter code edit

If you want you can also download the file and place it in another place, or just copy the code and insert it inside your html code.

Magnificent Update!

Alan Hogan made an excellent work on the original script solving a bug and also making the @user clickable as well! Now everytime you address a twit to another user, the script will automatically insert a link to the addressed user twitter page. A great applause to Alan!

@User clickable

The old script has been updated: if you hot-linked it, you won’t need to change anything and it will start working automatically. Otherwise download it again.

Small Update [23 August 2008]

As asked by Jimmy in a comment, the script has been modified to handle links which are written without the classic http://. Now the script also recognizes addresses starting by www. So if you post an address remember to write the www at the beginning (unless there is already a http or other protocols prefix).

This is a quick and dirty edit maybe could be improved. if you hot-linked it, you won’t need to change anything and it will start working automatically. Otherwise download it again.

License [25 October 2008]

Alan and I were asked about the license. We decided the better license for this snippet is the BSD License. This means you can modify and distribute this code in both source and binary form, as long as you keep the copyright notice. A copy of the license is available as standalone file and is also included in the blogger.js file itself.