Last.fm widgets
Posted: Fri Aug 29, 2008 4:29 am
I happen to love music and Last.fm's widgets, so was surprised when their were no plugins for their widgets to be displayed.
I know very little CSS and next to no PHP, so I took the simplest plugin I could find (Creative Commons) updated everything that looked like it needed updating and created two new plugins one for the Music Quilt and one for the Recently Played.
They seem to work just fine, but I think there is likely a far better way to handle the HORRIBLE style-sheet, flash applet code that I simply dumped into a string that gets echoed.
Has anyone looked at the Last.fm widgets and could someone who knows a lot more about PHP than I do suggest a good way to clean up the horrible HTML they provide for embedding their widgets?
I know very little CSS and next to no PHP, so I took the simplest plugin I could find (Creative Commons) updated everything that looked like it needed updating and created two new plugins one for the Music Quilt and one for the Recently Played.
They seem to work just fine, but I think there is likely a far better way to handle the HORRIBLE style-sheet, flash applet code that I simply dumped into a string that gets echoed.
Has anyone looked at the Last.fm widgets and could someone who knows a lot more about PHP than I do suggest a good way to clean up the horrible HTML they provide for embedding their widgets?