git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
page: retain thumb subhandlers over invalid resize
[minimedit.git]
/
issue
/
feed.inc.php
diff --git
a/issue/feed.inc.php
b/issue/feed.inc.php
index 1c4202e1d63b250efb83327f0a9c12db84f03dfb..1061bf07067b9de815ed5ad3c05dc1f5aa8e14fa 100644
(file)
--- a/
issue/feed.inc.php
+++ b/
issue/feed.inc.php
@@
-4,7
+4,8
@@
print '<?xml version="1.0" encoding="utf-8"?>';
$siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'];
?>
$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>
<title>Lijtweg.nl</title>
<subtitle>Meldingen</subtitle>
<id><?= $siteref ?>/</id>
@@
-15,11
+16,12
@@
$siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTT
while ($row = $query->fetch()) {
?>
<entry>
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>
<title><?= $row->subject ?></title>
<published><?= $row->created ?></published>
<updated><?= $row->updated ?></updated>
+ <link rel="replies" thr:count="<?= $row->replycount ?>" />
</entry>
<?php
}
</entry>
<?php
}