"; echo "\n$rss_main_title\n"; echo "$web_path\n$rss_main_description\n"; echo "$rss_main_copyright"; echo "$today\n$rss_main_language\n"; while ($r = mysql_fetch_object($db_result)) { $song = new Song($r->song_id); $song->format_song(); if (is_object($song)) { $artist = $song->f_artist; $album = $song->get_album_name(); $text = "$artist - $song->f_title played by $r->user"; echo " \n"; echo " <![CDATA[$text]]> \n"; echo " $web_path/albums.php?action=show&album=$song->album\n"; echo " f_title @ $album is played by $r->user]]>\n"; echo " $today\n"; echo "\n"; } } echo "\n"; } // show_now_playingRSS ?>