From 19df7085512c0400b3bedb1208714ed1b3198004 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Thu, 20 Sep 2012 21:26:51 -0400 Subject: rss.php: Update links to reflect URL changes Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/html/rss.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'web/html/rss.php') diff --git a/web/html/rss.php b/web/html/rss.php index 6f057bf..84d2205 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}"; -- cgit v1.2.3-70-g09d2