From d83bc4b5932652bd8a4f4e0296f9c16929be43a1 Mon Sep 17 00:00:00 2001 From: swag Date: Wed, 10 May 2023 15:46:33 -0400 Subject: [PATCH] RSS validation errors --- lib/PostText/Controller/Thread.pm | 4 +--- lib/PostText/Model/Thread.pm | 1 - 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/PostText/Controller/Thread.pm b/lib/PostText/Controller/Thread.pm index f913097..498c9c7 100644 --- a/lib/PostText/Controller/Thread.pm +++ b/lib/PostText/Controller/Thread.pm @@ -101,7 +101,7 @@ sub feed($self) { title => 'Post::Text', description => 'In UTF-8 we trust. 🫡', link => $chan_link, - lastBuildDate => time2str('%a, %d %b %Y %X %Z', time) + lastBuildDate => time2str('%a, %d %b %Y %X %z', time) ); for my $thread (@{$threads}) { @@ -115,8 +115,6 @@ sub feed($self) { title => $thread->{'title'}, link => $item_link, description => $description, - author => $thread->{'author'}, - guid => $thread->{'id'}, pubDate => $thread->{'date'} ); } diff --git a/lib/PostText/Model/Thread.pm b/lib/PostText/Model/Thread.pm index a81b7e8..26d35c2 100644 --- a/lib/PostText/Model/Thread.pm +++ b/lib/PostText/Model/Thread.pm @@ -104,7 +104,6 @@ sub feed($self) { $self->pg->db->query(<<~'END_SQL', $date_format)->hashes; SELECT thread_id AS id, TO_CHAR(thread_date, ?) AS date, - thread_author AS author, thread_title AS title, thread_body AS body FROM threads