RSS feed validates now

This commit is contained in:
Steffen Lange 2020-04-05 15:17:30 +02:00
parent 46eca744e3
commit a92758cbf0
2 changed files with 4 additions and 2 deletions

View file

@ -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";
}

View file

@ -31,7 +31,7 @@ $db->sort();
<div class="container p-5">
<h2 class="mb-4">Patch Notification Robot</h2>
<p class="text-center"><a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&amp;hosted_button_id=WYQZCVJPVSS5L&amp;source=url"><img src="btn_donateCC_LG.gif" alt="Donate" /></a></p>
<p><a href="https://twitter.com/Patchbot_de"><img src="twitter.png" height="32" alt="Follow me" /></a>&nbsp;Providing you the latest update notifications.</p>
<p><a href="https://www.patchbot.de/rss.xml"><img src="rss.png" alt="Subscribe" /></a>&nbsp;<a href="https://twitter.com/Patchbot_de"><img src="twitter.png" alt="Follow me" /></a>&nbsp;Providing you the latest update notifications.</p>
<table id="list" class="table table-bordered table-hover table-sm" data-order='[[ 4, "desc" ]]' data-page-length='25'>
<thead class="thead-dark">
<tr>