git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
head: title as og:name property, clean up description
[minimedit.git]
/
issue
/
feed.inc.php
diff --git
a/issue/feed.inc.php
b/issue/feed.inc.php
index 1c4202e1d63b250efb83327f0a9c12db84f03dfb..f5cf847b5b517a5d9cb5e60c8bdad73cb5e95583 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>
@@
-20,6
+21,7
@@
while ($row = $query->fetch()) {
<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
}