nieuws/feed: atom content type and link attributes
[minimedit.git] / nieuws.php
index 83fdc7a037c840a88b5833acd4a7878ff4a32d44..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();