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?
Last.fm widgets
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Last.fm widgets
Hi!
I think you shouldn't really need a unique plugin for last.fm, because their widgets are embeddable through simply flash/javascript - you can simply create a s9y html nugget plugin instance and paste the code into there.
I agree though that their CSS and embed code does look a bit ugly
Regards,
Garvin
I think you shouldn't really need a unique plugin for last.fm, because their widgets are embeddable through simply flash/javascript - you can simply create a s9y html nugget plugin instance and paste the code into there.
I agree though that their CSS and embed code does look a bit ugly
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Last.fm widgets
Way to burst my bubble!garvinhicking wrote:Hi!
I think you shouldn't really need a unique plugin for last.fm, because their widgets are embeddable through simply flash/javascript - you can simply create a s9y html nugget plugin instance and paste the code into there.
I agree though that their CSS and embed code does look a bit ugly
Regards,
Garvin
I have wondered and wondered what possible use HTML nuggets were, and didn't even think about it here because I didn't understand the concept. Now that I read your post, everything clicks and I understand!