afsdfdlecosdfsfdcco
14-09-2007, 17:11
Mi sono da poco fatto il blog su wordpress e vorrei inserire i miei ultimi ascolti registrati su last.fm.
Vado sul sito ed ottengo questo codice da mettere nel mio blog:
<style type="text/css">table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmHead a:hover {background:url(http://cdn.last.fm/widgets/images/en/header/chart/recenttracks_regular_blue.png) no-repeat 0 0 !important;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmEmbed object {float:left;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmFoot td.lfmConfig a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat 0px 0 !important;;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmFoot td.lfmView a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -85px 0 !important;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmFoot td.lfmPopup a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -159px 0 !important;}</style>
<table class="lfmWidgetc11a6f8f5b4a111fa6c0264b879267de" cellpadding="0" cellspacing="0" border="0" style="width:184px;"><tr class="lfmHead"><td><a title="alecocco: Recently Listened Tracks" href="http://www.last.fm/user/alecocco/" target="_blank" style="display:block;overflow:hidden;height:20px;width:184px;background:url(http://cdn.last.fm/widgets/images/en/header/chart/recenttracks_regular_blue.png) no-repeat 0 -20px;text-decoration:none;"></a></td></tr><tr class="lfmEmbed"><td><object width="184" height="199" style="float:left;" data="http://cdn.last.fm/widgets/chart/friends_4.swf" type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"> <param name="movie" value="http://cdn.last.fm/widgets/chart/friends_4.swf" /> <param name="flashvars" value="type=recenttracks&user=alecocco&theme=blue&lang=en&widget_id=c11a6f8f5b4a111fa6c0264b879267de" /> <param name="bgcolor" value="#6598cd" /> <param name="quality" value="high" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowNetworking" value="all" /> <embed src="http://cdn.last.fm/widgets/chart/friends_4.swf" flashvars="type=recenttracks&user=alecocco&theme=blue&lang=en&widget_id=c11a6f8f5b4a111fa6c0264b879267de" bgcolor="#6598cd" width="184" height="199" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" allowScriptAccess="sameDomain" allowNetworking="all"> </embed> </object></td></tr><tr class="lfmFoot"><td style="background:url(http://cdn.last.fm/widgets/images/footer_bg/blue.png) repeat-x 0 0;text-align:right;"><table cellspacing="0" cellpadding="0" border="0" style="width:184px;"><tr><td class="lfmConfig"><a href="http://www.last.fm/widgets/?colour=blue&chartType=recenttracks&user=alecocco&chartFriends=1&from=code&widget=chart" title="Get your own widget" target="_blank" style="display:block;overflow:hidden;width:85px;height:20px;float:right;background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat 0px -20px;text-decoration:none;"></a></td><td class="lfmView" style="width:74px;"><a href="http://www.last.fm/user/alecocco/" title="View alecocco's profile" target="_blank" style="display:block;overflow:hidden;width:74px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -85px -20px;text-decoration:none;"></a></td><td class="lfmPopup"style="width:25px;"><a href="http://www.last.fm/widgets/popup/?colour=blue&chartType=recenttracks&user=alecocco&chartFriends=1&from=code&widget=chart&resize=1" title="Load this chart in a pop up" target="_blank" style="display:block;overflow:hidden;width:25px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -159px -20px;text-decoration:none;" onclick="window.open(this.href + '&resize=0','lfm_popup','height=299,width=234,resizable=yes,scrollbars=yes'); return false;"></a></td></tr></table></td></tr></table>
Vado nella sezione widget di wordpress, aggiungo una casella di testo, ci copio dentro il codice e salvo. Problema: non succede nulla anzi, mezzo codice sparisce e nella casella vedo solo testo :|
Lo stesso codice sul blog di un amico invece viene interpretato correttamente. Cosa ho sbagliato?
edit:
questo e' quello che appare:
http://img108.imageshack.us/img108/7141/picture136iv0.jpg
grazie :)
http://img174.imageshack.us/img174/1102/tommysmile1hxxt3.gif
Vado sul sito ed ottengo questo codice da mettere nel mio blog:
<style type="text/css">table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de td {margin:0 !important;padding:0 !important;border:0 !important;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmHead a:hover {background:url(http://cdn.last.fm/widgets/images/en/header/chart/recenttracks_regular_blue.png) no-repeat 0 0 !important;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmEmbed object {float:left;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmFoot td.lfmConfig a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat 0px 0 !important;;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmFoot td.lfmView a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -85px 0 !important;}table.lfmWidgetc11a6f8f5b4a111fa6c0264b879267de tr.lfmFoot td.lfmPopup a:hover {background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -159px 0 !important;}</style>
<table class="lfmWidgetc11a6f8f5b4a111fa6c0264b879267de" cellpadding="0" cellspacing="0" border="0" style="width:184px;"><tr class="lfmHead"><td><a title="alecocco: Recently Listened Tracks" href="http://www.last.fm/user/alecocco/" target="_blank" style="display:block;overflow:hidden;height:20px;width:184px;background:url(http://cdn.last.fm/widgets/images/en/header/chart/recenttracks_regular_blue.png) no-repeat 0 -20px;text-decoration:none;"></a></td></tr><tr class="lfmEmbed"><td><object width="184" height="199" style="float:left;" data="http://cdn.last.fm/widgets/chart/friends_4.swf" type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0"> <param name="movie" value="http://cdn.last.fm/widgets/chart/friends_4.swf" /> <param name="flashvars" value="type=recenttracks&user=alecocco&theme=blue&lang=en&widget_id=c11a6f8f5b4a111fa6c0264b879267de" /> <param name="bgcolor" value="#6598cd" /> <param name="quality" value="high" /> <param name="allowScriptAccess" value="sameDomain" /> <param name="allowNetworking" value="all" /> <embed src="http://cdn.last.fm/widgets/chart/friends_4.swf" flashvars="type=recenttracks&user=alecocco&theme=blue&lang=en&widget_id=c11a6f8f5b4a111fa6c0264b879267de" bgcolor="#6598cd" width="184" height="199" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" quality="high" allowScriptAccess="sameDomain" allowNetworking="all"> </embed> </object></td></tr><tr class="lfmFoot"><td style="background:url(http://cdn.last.fm/widgets/images/footer_bg/blue.png) repeat-x 0 0;text-align:right;"><table cellspacing="0" cellpadding="0" border="0" style="width:184px;"><tr><td class="lfmConfig"><a href="http://www.last.fm/widgets/?colour=blue&chartType=recenttracks&user=alecocco&chartFriends=1&from=code&widget=chart" title="Get your own widget" target="_blank" style="display:block;overflow:hidden;width:85px;height:20px;float:right;background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat 0px -20px;text-decoration:none;"></a></td><td class="lfmView" style="width:74px;"><a href="http://www.last.fm/user/alecocco/" title="View alecocco's profile" target="_blank" style="display:block;overflow:hidden;width:74px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -85px -20px;text-decoration:none;"></a></td><td class="lfmPopup"style="width:25px;"><a href="http://www.last.fm/widgets/popup/?colour=blue&chartType=recenttracks&user=alecocco&chartFriends=1&from=code&widget=chart&resize=1" title="Load this chart in a pop up" target="_blank" style="display:block;overflow:hidden;width:25px;height:20px;background:url(http://cdn.last.fm/widgets/images/en/footer/blue.png) no-repeat -159px -20px;text-decoration:none;" onclick="window.open(this.href + '&resize=0','lfm_popup','height=299,width=234,resizable=yes,scrollbars=yes'); return false;"></a></td></tr></table></td></tr></table>
Vado nella sezione widget di wordpress, aggiungo una casella di testo, ci copio dentro il codice e salvo. Problema: non succede nulla anzi, mezzo codice sparisce e nella casella vedo solo testo :|
Lo stesso codice sul blog di un amico invece viene interpretato correttamente. Cosa ho sbagliato?
edit:
questo e' quello che appare:
http://img108.imageshack.us/img108/7141/picture136iv0.jpg
grazie :)
http://img174.imageshack.us/img174/1102/tommysmile1hxxt3.gif