add <atom:link> to rss feed
This commit is contained in:
parent
1add297a21
commit
395413038e
3
rss.php
3
rss.php
@ -4,8 +4,9 @@ include('templates/config.php');
|
|||||||
?>
|
?>
|
||||||
<?xml version="1.0" encoding="utf-8"?>
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
<?xml-stylesheet href="rss.xsl" type="text/xsl" media="screen"?>
|
<?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>
|
<channel>
|
||||||
|
<atom:link href="<?php echo $root; ?>/rss.php" rel="self" type="application/rss+xml" />
|
||||||
<title><?php echo $short_blog_title; ?></title>
|
<title><?php echo $short_blog_title; ?></title>
|
||||||
<link><?php echo $root; ?>/rss.php</link>
|
<link><?php echo $root; ?>/rss.php</link>
|
||||||
<description><?php $blog_title; ?></description>
|
<description><?php $blog_title; ?></description>
|
||||||
|
Loading…
Reference in New Issue
Block a user