Archive for mai, 2007

Wordpress Last.fm plugin (recent tracks) broken and fixed !

Mercredi, mai 16th, 2007

UPDATE !!!
The author of the Last.fm wordpress plugin has updated it to make it work !!!

Well, it was…until I found out what was actually going wrong !
“last.fm recent tracks” Wordpress plugin by Tijs Teulingsdoesn’t work anymore due to Last.fm new XML syntax.
In the file lastfm.php which comes with the plugin, and which may be located at the /wp-content/plugins directory (relatively to your wordpress installation directory), you have to change, line 92 :
$findme = '<track>'; by
$findme = '<track';
to make it work !
Yeah it’s as simple as that, the XML output of Last.fm has changed and the tag <track> has now an attribute, and often becomes <track streamable=”true”> (which doesn’t match <track> but always matches <track).

If you’re too lazy (or if you don’t want to open a file editor..) you can download the fixed version of lastfm.php

Working version of the lastfm.php file from “last.fm recent tracks” Wordpress plugin compatible with the new Last.fm XML syntax

Utiliser le Linksys WRT 54G en pont wifi sur WPA avec OpenWRT

Dimanche, mai 6th, 2007

Alors vous utilisez désormais le modem routeur wifi de votre FAI, vous n’avez pas de carte wifi sur tous vos PC, et vous vous demandez à quoi sert désormais votre Linksys WRT 54G ?
Pourquoi ne pas le transformer en un pont Wifi, qui se connecterait à votre AP, et qui ensuite permettrait à tous vos ordinateurs, consoles de jeux, etc… à se connecter sur un de ses 4 ports ethernet ?
Pour cela, il faut installer OpenWRT, firmware libre et motorisé par Linux pour votre Linksys WRT54G, qui une fois installé, vous permettra d’installer les logiciels nécessaires pour devenir un pont Wifi.
Comme la documentation est excellente, mais parfois dure à trouver ( en tout cas pour cetet utilisation là), je vous propose dans ce billet de procéder aux étapes suivantes (qui m’ont permis après un LONG moment de faire fonctionner ce pont)
PS : la compréhension de l’anglais est obligatoire…