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 b4191cee8898d6b275f20e02ba4dd2c8719f8bd0..4da5a8bc9c22895cc66ddf0906fb6228875d82bd 100644
(file)
--- a/
nieuws/index.php
+++ b/
nieuws/index.php
@@
-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";