add <atom:link> to rss feed

This commit is contained in:
emilyd 2022-11-25 17:19:26 +02:00
parent 1add297a21
commit 395413038e

View File

@ -4,8 +4,9 @@ include('templates/config.php');
?>
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet href="rss.xsl" type="text/xsl" media="screen"?>
<rss version="2.0">
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<atom:link href="<?php echo $root; ?>/rss.php" rel="self" type="application/rss+xml" />
<title><?php echo $short_blog_title; ?></title>
<link><?php echo $root; ?>/rss.php</link>
<description><?php $blog_title; ?></description>