$siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'];
?>
-<feed xmlns="http://www.w3.org/2005/Atom">
+<feed xmlns="http://www.w3.org/2005/Atom"
+ xmlns:thr="http://purl.org/syndication/thread/1.0">
<title>Lijtweg.nl</title>
<subtitle>Meldingen</subtitle>
<id><?= $siteref ?>/</id>
while ($row = $query->fetch()) {
?>
<entry>
- <id><?= "$siteref/$Page/{$row->id}/{$row->link}" ?></id>
- <link href="<?= "$siteref/$Page/{$row->id}/{$row->link}" ?>" />
+ <id><?= "$siteref/{$Page->handler}/{$row->id}/{$row->link}" ?></id>
+ <link href="<?= "$siteref/{$Page->handler}/{$row->id}/{$row->link}" ?>" />
<title><?= $row->subject ?></title>
<published><?= $row->created ?></published>
<updated><?= $row->updated ?></updated>
+ <link rel="replies" thr:count="<?= $row->replycount ?>" />
</entry>
<?php
}