Fix RSS atom link
This commit is contained in:
parent
6075947ed9
commit
cc92de3e5e
@ -11,7 +11,7 @@ echo '<?xml version="1.0" encoding="UTF-8"?>' . "\n";
|
||||
<channel>
|
||||
<title><?php echo htmlspecialchars($config->siteTitle, ENT_XML1, 'UTF-8') ?> RSS Feed</title>
|
||||
<link><?php echo htmlspecialchars($config->baseUrl . $config->basePath, ENT_XML1, 'UTF-8')?></link>
|
||||
<atom:link href="<?php echo htmlspecialchars($config->baseUrl . $config->basePath, ENT_XML1, 'UTF-8')?>" rel="self" type="application/rss+xml" />
|
||||
<atom:link href="<?php echo htmlspecialchars($config->baseUrl . $config->basePath, ENT_XML1, 'UTF-8')?>feed/rss" rel="self" type="application/rss+xml" />
|
||||
<description><?php echo htmlspecialchars($config->siteDescription, ENT_XML1, 'UTF-8') ?></description>
|
||||
<language>en-us</language>
|
||||
<lastBuildDate><?php echo date(DATE_RSS); ?></lastBuildDate>
|
||||
|
Loading…
x
Reference in New Issue
Block a user