Skip to content

Commit

Permalink
Corrects some podcast data
Browse files Browse the repository at this point in the history
  • Loading branch information
dleffler committed Feb 25, 2011
1 parent bb4694a commit 63488c9
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions site_rss.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@
$rss->ttl = $ttl;
$rss->link = "http://".HOSTNAME.PATH_RELATIVE;
$rss->syndicationURL = "http://".HOSTNAME.PATH_RELATIVE.$_SERVER['PHP_SELF'];
if ($_REQUEST['module'] == "filedownloadsmodule") {
if ($_REQUEST['module'] == "filedownload") {
$rss->itunes->summary = $config->feed_desc;
$rss->itunes->author = ORGANIZATION_NAME;
// $rss->itunes->category = @$itunes_cats[0]->category;
// $rss->itunes->subcategory = @$itunes_cats[0]->subcategory;
$rss->itunes->category = '';
$rss->itunes->subcategory = '';
$rss->itunes->image = URL_FULL."framework/modules/filedownloads/assets/images/logo.png";
$rss->itunes->explicit = 0;
$rss->itunes->subtitle = 0;
Expand All @@ -76,7 +78,7 @@
}

header("Content-type: text/xml");
if ($_REQUEST['module'] == "filedownloadsmodule") {
if ($_REQUEST['module'] == "filedownload") {
echo $rss->createFeed("PODCAST");
} else {
echo $rss->createFeed("RSS2.0");
Expand Down

0 comments on commit 63488c9

Please sign in to comment.