aboutsummaryrefslogtreecommitdiff
path: root/_site/feed.xml/index.php
diff options
context:
space:
mode:
authorMinteck <46352972+Minteck@users.noreply.github.com>2021-07-01 00:54:32 +0200
committerMinteck <46352972+Minteck@users.noreply.github.com>2021-07-01 00:54:32 +0200
commit1d62401c897a5ba82d0def92d97d09195a6d676f (patch)
treed26f11765a4eee20ac4867d5b77794fcdcaac641 /_site/feed.xml/index.php
parent1f23d65f32e37d0c6d703951d6735c9926f8521c (diff)
downloadunchainedtech-1d62401c897a5ba82d0def92d97d09195a6d676f.tar.gz
unchainedtech-1d62401c897a5ba82d0def92d97d09195a6d676f.tar.bz2
unchainedtech-1d62401c897a5ba82d0def92d97d09195a6d676f.zip
Fixed stuff + official logo
Diffstat (limited to '_site/feed.xml/index.php')
-rw-r--r--_site/feed.xml/index.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/_site/feed.xml/index.php b/_site/feed.xml/index.php
index a1fa3df..3b03dad 100644
--- a/_site/feed.xml/index.php
+++ b/_site/feed.xml/index.php
@@ -30,11 +30,17 @@ $list = getArticlesList();
<copyright><?= date('Y') ?> Blogchain Authors, All rights reserved.</copyright>
<language>en-us</language>
<?php $index = 0; foreach ($list as $item): ?>
- <?php if ($index < 10): ?>
+ <?php if ($index < 10 && !$item["admin"]): ?>
<item>
<title><?= $item["title"] ?></title>
<link>https://blogchain.minteck.ro.lt/article/<?= $item["id"] ?></link>
<description><?= $item["content"]["full"] ?></description>
+ <pubdate><?php
+
+ $dt = DateTime::createFromFormat('YmdHis', $item["date"] . "000000");
+ echo $dt->format("D, d M Y H:i:s T");
+
+ ?></pubdate>
</item>
<?php endif; ?>
<?php $index++; endforeach; ?>