Pixelpost

Authentic Photoblog Flavour


Go Back   Pixelpost Forum > DEVELOPMENT > Hacks and Modifications

Post Reply
 
Thread Tools
  #1  
Old 05-31-2006, 01:45 PM
starchild7 Offline
forum loafer
 
Join Date: Apr 2006
Posts: 5
Question How to add LAST FM charts?

How(in what way?) can I put the code below(supplied by Last Fm) into the "image_template.html" code so that the chart is will be visible on the homepage? I tried some ways but they did not work, since I am very new to both HTML and PHP.

The code is:

<a href="http://www.last.fm/user/UfukCan/?chartstyle=asimpleblue5"><img src="http://imagegen.last.fm/asimpleblue5/tracks/UfukCan.gif" border="0" /></a>

Last FM tells that it can also be inserted as javascript like that:

<script src="http://imagegen.last.fm/chartjs/asimpleblue5/tracks/UfukCan.js" /></script>

I guess it should be easy but I cannot do it anyway. Any help is highly appreciated
Reply With Quote
  #2  
Old 05-31-2006, 05:15 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
Im doing it like this:
HTML Code:
<p><b>Recently listened music:</b>:<br /><br /><a href="http://www.last.fm/user/GeoS/?chartstyle=blackredwhite"><img src="http://imagegen.last.fm/blackredwhite/recenttracks/GeoS.gif" border="0" /></a></p>
Example:
http://blog.piotrgalas.com/about/
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
  #3  
Old 06-01-2006, 10:13 AM
starchild7 Offline
forum loafer
 
Join Date: Apr 2006
Posts: 5
It did it! Thx a lot!
Reply With Quote
  #4  
Old 06-01-2006, 11:12 AM
Joe[y]'s Avatar
Joe[y]+ Offline
Team Pixelpost
 
Join Date: Mar 2005
Location: UK
Posts: 3,101
Send a message via MSN to Joe[y]
http://www.pixelpost.org/v1/index.ph...ads&details=89 this is better in my opinion
Reply With Quote
  #5  
Old 06-01-2006, 11:06 PM
GeoS's Avatar
GeoS+ Offline
Team Pixelpost
 
Join Date: Apr 2005
Location: Warsaw, Poland
Posts: 3,613
Send a message via ICQ to GeoS Send a message via Skype™ to GeoS
There are many more ways of getting it. They got from some time AJAX based form which helps to creat such "viewer" of what we want and as we want. As long as there is RSS then I can be used in many more ways, like DHTML/AJAX RSS readers or FLASH RSS readers. There is so many ideas for it as many technologies and people.
__________________
photoblog | portfolio | addons | Donate
Reply With Quote
Post Reply


Thread Tools




All times are GMT. The time now is 08:46 AM.

Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd. | Style Design: d3 designs