diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-23 00:12:05 -0500 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-11-23 01:25:47 -0500 |
commit | 4ea091174ce896e1293689de76f7a5122c4e834e (patch) | |
tree | 0909a356f15366590510cf78957d1857bc5e445d /web/html/rss.php | |
parent | e3dfb09aec084fc6bd119309ce949eaab714eae7 (diff) |
Make the instance name and domain configurable.
Diffstat (limited to 'web/html/rss.php')
-rw-r--r-- | web/html/rss.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/rss.php b/web/html/rss.php index 8585d81..85df447 100644 --- a/web/html/rss.php +++ b/web/html/rss.php @@ -26,15 +26,15 @@ $rss->xslStyleSheet = false; $rss->encoding = "UTF-8"; #All the general RSS setup -$rss->title = "AUR Newest Packages"; -$rss->description = "The latest and greatest packages in the AUR"; +$rss->title = config_get('options', 'aur_shortname') . " Newest Packages"; +$rss->description = "The latest and greatest packages in the " . config_get('options', 'aur_shortname'); $rss->link = "${protocol}://{$host}"; $rss->syndicationURL = "{$protocol}://{$host}" . get_uri('/rss/'); $image = new FeedImage(); -$image->title = "AUR"; +$image->title = config_get('options', 'aur_shortname'); $image->url = "{$protocol}://{$host}/css/archnavbar/aurlogo.png"; $image->link = $rss->link; -$image->description = "AUR Newest Packages Feed"; +$image->description = config_get('options', 'aur_shortname') . " Newest Packages Feed"; $rss->image = $image; #Get the latest packages and add items for them |