page: header metadata from article object
[minimedit.git] / nieuws.php
index 251443842cd67d20105c0af95898bfdb631faeca..0dc8d7dcc56c52062f70ba40bb7de67748c3f8da 100644 (file)
@@ -1,6 +1,4 @@
 <?php
-include_once 'nieuws.inc.php';
-
 if (!function_exists('shownews')) {
 function shownews($input, $limit = 1000)
 {
@@ -20,7 +18,7 @@ function shownews($input, $limit = 1000)
                        '<h3><a href="/%s">%s <small class="date">%s</small></a></h3>',
                        $article->link, $article->title, $article->date
                );
-               print $article->body;
+               print $article->story;
                print '</div>';
                print "</article>\n\n";