1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 01:39:28 +02:00

Add new display_home plugin category

Add RSS View plugin
This commit is contained in:
Afterster 2014-10-02 23:51:39 +02:00
parent bef75fd05a
commit e92c41c652
25 changed files with 228 additions and 33 deletions

View file

@ -264,11 +264,12 @@ class Ampache_RSS
$album->format();
$xml_array = array('title' => $album->f_name,
'link' => $album->f_link_src,
'description' => $album->f_artist_name . ' - ' . $album->f_name,
'image' => Art::url($album->id, 'album'),
'comments' => '',
'pubDate' => $album->get_addtime_first_song());
'link' => $album->f_link_src,
'description' => $album->f_artist_name . ' - ' . $album->f_name,
'image' => Art::url($album->id, 'album'),
'comments' => '',
'pubDate' => date("c", $album->get_addtime_first_song())
);
$results[] = $xml_array;
} // end foreach