page: rename article method "body" to "story"
[minimedit.git] / nieuws / feed / index.php
index 3bea1b728582a8c820f3bfb0319c2c52cb273b7a..72c22074c2af16b1649620522a3225ba26457fca 100644 (file)
@@ -13,7 +13,6 @@ $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTT
        <link href="<?= $siteref . $_SERVER['REQUEST_URI'] ?>" rel="self" />
        <author><name>Lijtweg</name></author>
 <?php
-include 'nieuws.inc.php';
 $root = preg_replace('{/feed$}', '', $Page) . "/2???";
 $pages = array_reverse(glob("$root/*.html"));
 
@@ -31,7 +30,7 @@ foreach ($pages as $i => $page) {
                <title><?= $article->title ?></title>
                <published><?= $article->dateiso ?></published>
                <updated><?= $article->dateiso ?></updated>
-               <content type="html"><?= htmlspecialchars($article->body) ?>
+               <content type="html"><?= htmlspecialchars($article->story) ?>
                </content>
 <?php
        if ($article->thumb) {