summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorJustin Kromlinger <hashworks@archlinux.org>2020-11-19 23:22:11 +0100
committerLukas Fleischer <lfleischer@archlinux.org>2021-02-20 17:25:21 +0100
commiteb11943fed16462e089891b128fd01f9e460b114 (patch)
tree1cdbea999732f034b551e92162ea0f5417d0ec30 /web
parent1d0c6ffe24c692d4279ce6ad6cb03aeb38a2303e (diff)
downloadaur-eb11943fed16462e089891b128fd01f9e460b114.tar.gz
aur-eb11943fed16462e089891b128fd01f9e460b114.tar.xz
RSS: Always provide a GUID
https://validator.w3.org/feed/docs/warning/MissingGuid.html Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web')
-rw-r--r--web/html/rss.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/html/rss.php b/web/html/rss.php
index 5720d3d1..b67f862d 100644
--- a/web/html/rss.php
+++ b/web/html/rss.php
@@ -50,6 +50,7 @@ foreach ($packages as $indx => $row) {
$item->date = intval($row["SubmittedTS"]);
$item->source = "{$protocol}://{$host}";
$item->author = username_from_id($row["MaintainerUID"]);
+ $item->guid = $item->link;
$rss->addItem($item);
}