Fix RSS validation

This commit is contained in:
swag 2023-06-01 23:28:05 -04:00
parent 0b32b385fb
commit 83d9034fde

View File

@ -109,7 +109,7 @@ sub feed($self) {
lastBuildDate => time2str('%a, %d %b %Y %X %z', time), lastBuildDate => time2str('%a, %d %b %Y %X %z', time),
atom => { atom => {
link => { link => {
href => $rss_link, href => "$rss_link", # This has to be quoted idk why
rel => 'self', rel => 'self',
type => 'application/rss+xml' type => 'application/rss+xml'
} }
@ -118,7 +118,7 @@ sub feed($self) {
$rss->image( $rss->image(
title => $rss_title, title => $rss_title,
url => $rss_image, url => $rss_image,
link => $rss_link, link => $chan_link,
width => 144, width => 144,
height => 144, height => 144,
description => 'A small nerdy anime girl' description => 'A small nerdy anime girl'