🐛 Other RSS fixes

This commit is contained in:
Kazhnuz 2025-07-03 21:54:48 +02:00
parent 3cb045435e
commit 069bc5b3a5

View file

@ -31,9 +31,8 @@ class pluginRSS extends Plugin
);
$xml = '<?xml version="1.0" encoding="UTF-8" ?>';
$xml .= '<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">';
$xml .= '<rss version="2.0">';
$xml .= '<channel>';
$xml .= '<atom:link href="' . DOMAIN_BASE . 'rss.xml" rel="self" type="application/rss+xml" />';
$xml .= '<title>' . $site->title() . '</title>';
$xml .= '<link>' . $this->encodeURL($site->url()) . '</link>';
$xml .= '<description>' . $site->description() . '</description>';