🐛 Other RSS fixes
This commit is contained in:
parent
3cb045435e
commit
069bc5b3a5
1 changed files with 1 additions and 2 deletions
|
@ -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>';
|
||||
|
|
Loading…
Add table
Reference in a new issue