summaryrefslogtreecommitdiffstats
path: root/web/html
diff options
context:
space:
mode:
authorcanyonknight <canyonknight@gmail.com>2012-09-21 03:26:51 +0200
committerLukas Fleischer <archlinux@cryptocrack.de>2012-09-21 07:35:52 +0200
commit19df7085512c0400b3bedb1208714ed1b3198004 (patch)
treed412e13ef46a4e02d6c2f834bfd8f680c1bded56 /web/html
parent2c7254eb60857c21c9eadfd8360ad9fdceadf9ff (diff)
downloadaur-19df7085512c0400b3bedb1208714ed1b3198004.tar.gz
aur-19df7085512c0400b3bedb1208714ed1b3198004.tar.xz
rss.php: Update links to reflect URL changes
Signed-off-by: canyonknight <canyonknight@gmail.com> Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r--web/html/rss.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/rss.php b/web/html/rss.php
index 6f057bfe..84d22057 100644
--- a/web/html/rss.php
+++ b/web/html/rss.php
@@ -28,7 +28,7 @@ $rss->encoding = "UTF-8";
$rss->title = "AUR Newest Packages";
$rss->description = "The latest and greatest packages in the AUR";
$rss->link = "${protocol}://{$host}";
-$rss->syndicationURL = "{$protocol}://{$host}/rss.php";
+$rss->syndicationURL = "{$protocol}://{$host}" . get_uri('/rss/');
$image = new FeedImage();
$image->title = "AUR";
$image->url = "{$protocol}://{$host}/images/AUR-logo-80.png";
@@ -42,7 +42,7 @@ $packages = latest_pkgs(20);
while (list($indx, $row) = each($packages)) {
$item = new FeedItem();
$item->title = $row["Name"];
- $item->link = "{$protocol}://{$host}/packages.php?ID={$row["ID"]}";
+ $item->link = "{$protocol}://{$host}" . get_pkg_uri($row["Name"]);
$item->description = $row["Description"];
$item->date = intval($row["SubmittedTS"]);
$item->source = "{$protocol}://{$host}";