RSS feed validates now
This commit is contained in:
parent
46eca744e3
commit
a92758cbf0
2 changed files with 4 additions and 2 deletions
|
|
@ -12,8 +12,9 @@ $db->sort();
|
|||
|
||||
?>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<rss version="2.0">
|
||||
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
|
||||
<channel>
|
||||
<atom:link href="https://www.patchbot.de/rss.xml" rel="self" type="application/rss+xml" />
|
||||
<title>Patch Notification Robot</title>
|
||||
<link>https://www.patchbot.de/</link>
|
||||
<description>Providing you the latest update notifications.</description>
|
||||
|
|
@ -28,6 +29,7 @@ $db->sort();
|
|||
echo ' version ' . $patch->getVersion() . '.</title>';
|
||||
echo '<link>' . $patch->getURL() . '</link>';
|
||||
echo '<pubDate>' . date(DATE_RSS, $patch->getTimestamp()) . '</pubDate>';
|
||||
echo '<guid isPermaLink="false">' . hash('sha256', $patch) . '</guid>';
|
||||
echo '</item>' . "\r\n";
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue