RSS validation errors
This commit is contained in:
parent
e800d9a600
commit
d83bc4b593
|
@ -101,7 +101,7 @@ sub feed($self) {
|
||||||
title => 'Post::Text',
|
title => 'Post::Text',
|
||||||
description => 'In UTF-8 we trust. 🫡',
|
description => 'In UTF-8 we trust. 🫡',
|
||||||
link => $chan_link,
|
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}) {
|
for my $thread (@{$threads}) {
|
||||||
|
@ -115,8 +115,6 @@ sub feed($self) {
|
||||||
title => $thread->{'title'},
|
title => $thread->{'title'},
|
||||||
link => $item_link,
|
link => $item_link,
|
||||||
description => $description,
|
description => $description,
|
||||||
author => $thread->{'author'},
|
|
||||||
guid => $thread->{'id'},
|
|
||||||
pubDate => $thread->{'date'}
|
pubDate => $thread->{'date'}
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,7 +104,6 @@ sub feed($self) {
|
||||||
$self->pg->db->query(<<~'END_SQL', $date_format)->hashes;
|
$self->pg->db->query(<<~'END_SQL', $date_format)->hashes;
|
||||||
SELECT thread_id AS id,
|
SELECT thread_id AS id,
|
||||||
TO_CHAR(thread_date, ?) AS date,
|
TO_CHAR(thread_date, ?) AS date,
|
||||||
thread_author AS author,
|
|
||||||
thread_title AS title,
|
thread_title AS title,
|
||||||
thread_body AS body
|
thread_body AS body
|
||||||
FROM threads
|
FROM threads
|
||||||
|
|
Loading…
Reference in a new issue