Radionomy - Board

[HTML Code] Tracklist "Last Played"
Page 1 of 1

Author:  Jamie [ Tue Jul 02, 2013 12:42 am ]
Post subject:  [HTML Code] Tracklist "Last Played"

Undoubtedly, you have set up the caching script on your site and now are wondering how to get the gobbledygook that it outputs to look nice on your site.

What you must do is use your old script that you use to display your last played chart, and change the portion that is this:
 $xml = @simplexml_load_file("");

You must change the URL from to the path to your uploaded script from here. The script in this topic emulates the Radionomy API.

In case you don't have a script to display the tracklist, here's one: (remember to change the url that is called to reflect the url to your script):

   // All settings now in call_api.php, download from
   // Script by Jamie Welch
         <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <link rel="stylesheet" href="style.css" type="text/css">
        <div class="main">
          <div class="inner">
            <h3>Last 50 Songs Played</h3>
            <div style="text-align:center; padding-left:10px; margin-top:20px;">
                  $xml = @simplexml_load_file("");
                   echo '<table-->';
                     foreach ($xml-&gt;track as $value){
                        print "".$value-&gt;title."";
                        print $value-&gt;artists."";
                   echo '';
                   echo 'Error with the call_api.php!';

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group