RSS validation errors
This commit is contained in:
parent
e800d9a600
commit
d83bc4b593
|
@ -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'}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user