commit ed7e3b581eb13308b67c85654b6632de6fa7429a
parent 2092f2d4a0a513ba82069527f05c8e9907644edc
Author: St John Karp <contact@stjo.hn>
Date: Sun, 17 May 2020 14:23:43 -0500
Use link for RSS item guid
Need to set an item guid in the RSS feeds so the same articles
don't keep showing up every time you rebuild the feed.
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/rss.pl b/rss.pl
@@ -54,6 +54,11 @@ item_link(Link) -->
Link,
"</link>".
+item_guid(Link) -->
+ "<guid>",
+ Link,
+ "</guid>".
+
language -->
"<language>",
"en-US",
@@ -86,6 +91,8 @@ item(article(Date, Title, Link, Description)) -->
newline, tab, tab, tab,
item_link(Link),
newline, tab, tab, tab,
+ item_guid(Link),
+ newline, tab, tab, tab,
item_description(Description),
newline, tab, tab, tab,
author,