technorati tag septembre 24, 2006
Posted by Oldcola in simple, technorati tag.add a comment
Ecrire le code pour un tag Technorati peut-être tellement fastidieux qu’on ne prenne pas le temps de le faire. Un mini-script à placer dans le menu scripts peut faciliter la vie :
set toto to the clipboard
set titi to every word of toto as list
set AppleScript’s text item delimiters to “+”
set thetag to “[a href=\"http://technorati.com/tag/" & (every item of titi as string) & "\" rel \"tag\"][font color=\"#390\"]” & toto & “[/font][/a]“
set the clipboard to thetag
beep
Voila, c’est tout… Abusez-en
Ah oui ! le mode d’emploi :
- copier ce qui sera le tag
- lancez le script
- collez le code où nécessaire