<title><?= $article->title ?></title>
<published><?= $article->dateiso ?></published>
<updated><?= $article->dateiso ?></updated>
- <content type="html"><?= htmlspecialchars($article->body) ?>
- </content>
<?php
+ if ($article->teaser) {
+ printf("\t\t<summary>%s</summary>\n", htmlspecialchars($article->teaser));
+ }
if ($article->thumb) {
printf("\t\t".'<link rel="enclosure" type="%s" href="%s"%s />'."\n",
'image/jpeg',
);
}
?>
+ <content type="html"><?= htmlspecialchars($article->story) ?>
+ </content>
</entry>
<?php
}