You are here

private function Playlist::getRSSXML in MediaFront 6

Same name and namespace in other branches
  1. 6.2 players/osmplayer/player/playlist/Playlist.php \Playlist::getRSSXML()
  2. 7 players/osmplayer/player/playlist/Playlist.php \Playlist::getRSSXML()

Returns the full playlist in RSS XML format.

Parameters

- The track contents.:

1 call to Playlist::getRSSXML()
Playlist::getPlaylist in players/osmplayer/player/playlist/Playlist.php
Returns the playlist in XML form.

File

players/osmplayer/player/playlist/Playlist.php, line 447

Class

Playlist
Playlist Class

Code

private function getRSSXML($content) {
  $output = '<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss">';
  $output .= "\n";
  $output .= '<channel>';
  $output .= "\n";
  $output .= $content;
  $output .= '</channel>';
  $output .= "\n";
  $output .= '</rss>';
  return $output;
}