git.cweiske.de
/
noxon-gateway.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix podcast redirection
[noxon-gateway.git]
/
src
/
podcasts.php
diff --git
a/src/podcasts.php
b/src/podcasts.php
index 3acccbbb2a1713136be5febc605b60f57746a753..bb8f5ce7d675988482cbfe2a4620b216701f3f5e 100644
(file)
--- a/
src/podcasts.php
+++ b/
src/podcasts.php
@@
-21,7
+21,6
@@
function sendPodcast($path)
$sx = simplexml_load_file($cacheFile);
$listItems = array();
$sx = simplexml_load_file($cacheFile);
$listItems = array();
- addPreviousItem($listItems, $path);
foreach ($sx->channel->item as $item) {
$title = (string) $item->title;
foreach ($sx->channel->item as $item) {
$title = (string) $item->title;
@@
-35,7
+34,7
@@
function sendPodcast($path)
'MP3'
);
}
'MP3'
);
}
- sendListItems($listItems);
+ sendListItems($listItems
, buildPreviousItem($path)
);
}
}