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";
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -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&hosted_button_id=WYQZCVJPVSS5L&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> Providing you the latest update notifications.</p>
|
||||
<p><a href="https://www.patchbot.de/rss.xml"><img src="rss.png" alt="Subscribe" /></a> <a href="https://twitter.com/Patchbot_de"><img src="twitter.png" alt="Follow me" /></a> 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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue