From 37968468095e09c2a705aba81be31b093d525fdb Mon Sep 17 00:00:00 2001 From: swag Date: Mon, 24 Apr 2023 15:08:05 -0400 Subject: [PATCH] Add to RSS feed --- README.md | 1 + lib/PostText/Controller/Thread.pm | 1 + 2 files changed, 2 insertions(+) diff --git a/README.md b/README.md index cbf9f3b..1330f16 100644 --- a/README.md +++ b/README.md @@ -32,6 +32,7 @@ Run the tests locally (against development environment): ## TODOs +1. Rules/about page 1. CSS 1. "All new posts flagged" mode (require approval for new posts) diff --git a/lib/PostText/Controller/Thread.pm b/lib/PostText/Controller/Thread.pm index 9145f34..caee9ab 100644 --- a/lib/PostText/Controller/Thread.pm +++ b/lib/PostText/Controller/Thread.pm @@ -115,6 +115,7 @@ sub feed($self) { link => $item_link, description => $self->truncate_text($thread->{'body'}), author => $thread->{'author'}, + guid => $thread->{'id'}, pubDate => $thread->{'date'} ); }