3raser Posted October 20, 2010 Share Posted October 20, 2010 It's very possible, and I've seen a website that's done it (http://www.zybez.net/radio/) - They are able to include the recent songs played on there website. The information can be obtained from right here: http://68.168.100.60:7942/played.html But I'm not sure if thats where they get it from. If I login to my Admin section, there will be an option that says get XML stats. But I'm not sure if that shows the recent songs played like it would at http://68.168.100.60:7942/played.html (Everytime I refresh the page, the stats/data/info in the XML change) 1250001522Rockhttp://srbuckey.listen2myradio.comMusicPEAK - RockKings of Leon - Radioactive N/AN/AN/A226153140audio/mpeg1.9.86201901701119000000004013207.144.125.60NSPlayer/11.0.6001.7006 WMFSDK/11.0026101521287587284Kings of Leon - Radioactive 1287586919Three Days Grace - Riot 1287586542Alice In Chains - Here Comes The Rooster 1287586281Green Day - Boulevard of Broken Dreams 1287586277down 1287586075Green Day - American Idiot 1287586044Metallica - Enter Sandman 1287585836ACDC Highway To Hell.mp3 1287585449Metallica - 04 The Unforgiven I.MP3 1287585448[HTTP/1.1 200 OK] http://www.ventsi.com/Music/MetallicA/1991 - Black Album/Metallica - 04 The Unforgiven I.MP3 Quote Link to comment https://forums.phpfreaks.com/topic/216340-anyway-to-display-the-data-on-my-website/ Share on other sites More sharing options...
trq Posted October 20, 2010 Share Posted October 20, 2010 I'm not sure what the question actually is here. Quote Link to comment https://forums.phpfreaks.com/topic/216340-anyway-to-display-the-data-on-my-website/#findComment-1124262 Share on other sites More sharing options...
3raser Posted October 21, 2010 Author Share Posted October 21, 2010 I don't see how it could be anymore clearer... How can I get the recent songs list displayed on my website? Example: http://www.zybez.net/radio/ Quote Link to comment https://forums.phpfreaks.com/topic/216340-anyway-to-display-the-data-on-my-website/#findComment-1124763 Share on other sites More sharing options...
trq Posted October 21, 2010 Share Posted October 21, 2010 Store each played track within a database along with a timestamp indicating when it was played. Then execute a query that gets the top 10 (or whatever) sorted by timestamp. Quote Link to comment https://forums.phpfreaks.com/topic/216340-anyway-to-display-the-data-on-my-website/#findComment-1124786 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.