1 | Index: modules/tv/tmpl/default/recorded.php |
---|
2 | =================================================================== |
---|
3 | --- modules/tv/tmpl/default/recorded.php (revision 23755) |
---|
4 | +++ modules/tv/tmpl/default/recorded.php (working copy) |
---|
5 | @@ -20,7 +20,7 @@ |
---|
6 | $headers[] = '<link rel="stylesheet" type="text/css" href="'.skin_url.'/tv_recorded.css">'; |
---|
7 | |
---|
8 | // Rss links |
---|
9 | - $headers[] = '<link rel="alternate" type="application/rss+xml" href="'.str_replace(root_url, root_url.'rss/', $_SERVER['REQUEST_URI']).'">'; |
---|
10 | + $headers[] = '<link rel="alternate" type="application/rss+xml" href="'.str_replace(root, root.'rss/', $_SERVER['REQUEST_URI']).'">'; |
---|
11 | |
---|
12 | // Print the page header |
---|
13 | require 'modules/_shared/tmpl/'.tmpl.'/header.php'; |
---|
14 | @@ -472,8 +472,7 @@ |
---|
15 | '<span id="diskfree">'.nice_filesize(disk_size - disk_used).'</span>' |
---|
16 | ) |
---|
17 | .'</div>'; |
---|
18 | + echo '<div id="feed_buttons"><a href="'.str_replace(root, root.'rss/', $_SERVER['REQUEST_URI']).'"><img src="'.skin_url.'/img/rss2.0.gif"></a></div>'; |
---|
19 | |
---|
20 | - echo '<div id="feed_buttons"><a href="rss'.$_SERVER['REQUEST_URI'].'"><img src="'.skin_url.'/img/rss2.0.gif"></a></div>'; |
---|
21 | - |
---|
22 | // Print the page footer |
---|
23 | require 'modules/_shared/tmpl/'.tmpl.'/footer.php'; |
---|
24 | Index: modules/tv/tmpl/rss/recorded.php |
---|
25 | =================================================================== |
---|
26 | --- modules/tv/tmpl/rss/recorded.php (revision 23755) |
---|
27 | +++ modules/tv/tmpl/rss/recorded.php (working copy) |
---|
28 | @@ -25,7 +25,7 @@ |
---|
29 | $item->setLink(root_url.'tv/detail/'.$show->chanid.'/'.$show->recstartts); |
---|
30 | $item->setDate($show->starttime); |
---|
31 | $item->setDescription($show->description); |
---|
32 | - |
---|
33 | + $item->setEncloser($show->url, $show->filesize, "video/*"); |
---|
34 | $Feed->addItem($item); |
---|
35 | } |
---|
36 | |
---|