Clean up RSS feed stuff and use full article as description

This commit is contained in:
swagg boi 2023-05-30 21:48:22 -04:00
parent 3b18ae17b6
commit 27e4e1eee7

View file

@ -107,16 +107,14 @@ sub feed($self) {
lastBuildDate => time2str('%a, %d %b %Y %X %z', time),
atom => {
link => {
href => "$rss_link", # I have no idea why this needs quotes??
href => $rss_link,
rel => 'self',
type => 'application/rss+xml'
}
}
);
});
for my $thread (@{$threads}) {
my $description =
$self->markdown($self->truncate_text($thread->{'body'}));
my $description = $self->markdown($thread->{'body'});
my $item_link = $self->url_for(
single_thread => {thread_id => $thread->{'id'}}
)->to_abs;