git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
login/edit: disable file uploads if unwritable
[minimedit.git]
/
nieuws
/
feed
/
index.php
diff --git
a/nieuws/feed/index.php
b/nieuws/feed/index.php
index eff920365409f891b15d496dd1674119e82fb377..67687f31419c81255157fd4ce23c927d9e411cf1 100644
(file)
--- a/
nieuws/feed/index.php
+++ b/
nieuws/feed/index.php
@@
-1,5
+1,6
@@
<?php
ob_clean();
<?php
ob_clean();
+header('Content-Type', 'application/atom+xml');
print '<?xml version="1.0" encoding="utf-8"?>';
$siteref = 'http://'.$_SERVER['HTTP_HOST'];
?>
print '<?xml version="1.0" encoding="utf-8"?>';
$siteref = 'http://'.$_SERVER['HTTP_HOST'];
?>
@@
-29,7
+30,7
@@
foreach ($pages as $i => $page) {
<link href="/<?= $article->link ?>" />
<title><?= $article->title ?></title>
<published><?= $article->dateiso ?></published>
<link href="/<?= $article->link ?>" />
<title><?= $article->title ?></title>
<published><?= $article->dateiso ?></published>
- <updated><?= $article->
last
iso ?></updated>
+ <updated><?= $article->
date
iso ?></updated>
<content type="html"><?= htmlspecialchars($article->body) ?></content>
<?php
if ($article->thumb) {
<content type="html"><?= htmlspecialchars($article->body) ?></content>
<?php
if ($article->thumb) {