nieuws/feed: atom content type and link attributes
[minimedit.git] / nieuws.php
index cafc94c6795a25ec866ee06c04fa689000c64e42..fda142e62c50985599785298f8d1bb1be22077ae 100644 (file)
@@ -1,4 +1,6 @@
 <?php
 include_once 'nieuws.inc.php';
-$articles = ($Page ?: 'nieuws') . '/????';
-shownews($articles, @$_GET['n'] ?: 5);
+$articles = (ltrim($Args, '/') ?: 'nieuws') . '/????';
+ob_start();
+shownews($articles, @$Place['n'] ?: 5);
+print getoutput();