summaryrefslogtreecommitdiffstats
path: root/lib/rss.php
diff options
context:
space:
mode:
authorKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-28 20:40:07 +0000
committerKarl 'vollmerk' Vollmer <vollmer@ampache.org>2007-09-28 20:40:07 +0000
commitf4ab9bad1a8bee3b8ed43edceb02d526ede0a7fc (patch)
tree79ee6a780b2dc46de5194bc87a219c3f55815cde /lib/rss.php
parent13852c51ea25a25e3629c7df79894ea51c91f3dd (diff)
downloadampache-f4ab9bad1a8bee3b8ed43edceb02d526ede0a7fc.tar.gz
ampache-f4ab9bad1a8bee3b8ed43edceb02d526ede0a7fc.tar.bz2
ampache-f4ab9bad1a8bee3b8ed43edceb02d526ede0a7fc.zip
fixed rss feeds (Thx Purdyk) and tweaked the truncate_with_ellipse
Diffstat (limited to 'lib/rss.php')
-rw-r--r--lib/rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rss.php b/lib/rss.php
index e5111ad3..4f0b1b9c 100644
--- a/lib/rss.php
+++ b/lib/rss.php
@@ -199,7 +199,7 @@ switch ($type) {
echo "<item>\n";
$song = new Song($item['object_id']);
- $song->format_song();
+ $song->format();
$user = new User($item['user']);
$user->format_user();
echo " <title><![CDATA[$song->title]]></title>\n";
@@ -225,7 +225,7 @@ switch ($type) {
$song = $r['song'];
$user = $r['user'];
- $song->format_song();
+ $song->format();
$artist = $song->f_artist;
$album = $song->get_album_name();
$text = "$artist - $song->f_title played by $user->fullname";