git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
nieuws/feed: atom content type and link attributes
[minimedit.git]
/
nieuws
/
index.php
diff --git
a/nieuws/index.php
b/nieuws/index.php
index cdb38925e1d50dcea8450ab8244c785b336ae929..4da5a8bc9c22895cc66ddf0906fb6228875d82bd 100644
(file)
--- a/
nieuws/index.php
+++ b/
nieuws/index.php
@@
-13,7
+13,7
@@
if ($page and !is_numeric($page)) {
$Place['image'] = "https://lijtweg.nl/".$article->thumb('600x');
}
if ($replyform) {
$Place['image'] = "https://lijtweg.nl/".$article->thumb('600x');
}
if ($replyform) {
-
include 'nieuws/replies.php'
;
+
print placeholder_include('nieuws/replies')
;
}
return 1;
}
}
return 1;
}
@@
-40,7
+40,10
@@
if ($year) {
}
$html = ob_get_clean();
}
$html = ob_get_clean();
-printf('<div class="nav right"><a href="%s">Feed</a></div>'."\n", "/$Page/feed");
+printf('<div class="nav right"><a href="%s"%s>Feed</a></div>'."\n",
+ "/$Page/feed",
+ ' rel="alternate" title="Atom feed van nieuwsberichten" type="application/atom+xml"'
+);
print $html;
print '<div id="news">'."\n\n";
print $html;
print '<div id="news">'."\n\n";