"; 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(); $user = get_user_byid($r->user_id); if (is_object($song)) { $artist = $song->f_artist; $album = $song->get_album_name(); $text = "$artist - $song->f_title"; echo " "; echo " <![CDATA[$text]]> "; echo " $web_path/albums.php?action=show&album=$song->album"; echo " $rss_song_description"; echo " $today"; echo ""; } } echo "\n"; } // show_now_playingRSS ?>