summaryrefslogtreecommitdiffstats
path: root/template/standard/html/feed/item_page.php
diff options
context:
space:
mode:
authorThomas Lange <code@nerdmind.de>2017-02-24 21:27:59 +0100
committerThomas Lange <code@nerdmind.de>2017-02-24 21:27:59 +0100
commit52b077a48c743ba4d08ac00520a0bf1ef6deef5f (patch)
treeb4205c194167e0e03e273957cdd0aab3be9fdf01 /template/standard/html/feed/item_page.php
downloadblog-1.0.tar.gz
blog-1.0.tar.xz
blog-1.0.zip
Initial commit.v1.0
Diffstat (limited to 'template/standard/html/feed/item_page.php')
-rw-r--r--template/standard/html/feed/item_page.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/template/standard/html/feed/item_page.php b/template/standard/html/feed/item_page.php
new file mode 100644
index 0000000..9defc25
--- /dev/null
+++ b/template/standard/html/feed/item_page.php
@@ -0,0 +1,25 @@
+<?php
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+# Standard: Feed Item Template [page] [Thomas Lange <code@nerdmind.de>] #
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+# #
+# [see documentation] #
+# #
+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#
+?>
+<item>
+ <title><?=escapeHTML($PAGE['ATTR']['NAME'])?></title>
+ <link><?=$PAGE['URL']?></link>
+ <guid isPermaLink="false"><?=$PAGE['GUID']?></guid>
+ <pubDate><?=parseDatetime($PAGE['ATTR']['TIME_INSERT'], '[RFC2822]')?></pubDate>
+ <dc:creator><?=escapeHTML($USER['ATTR']['FULLNAME'])?></dc:creator>
+ <description><?=escapeHTML(cut(removeLineBreaksAndTabs(removeHTML($PAGE['BODY']['HTML'])), 400))?></description>
+ <content:encoded>
+ <![CDATA[
+ <?=$PAGE['BODY']['HTML']?>
+ ]]>
+ </content:encoded>
+ <?php foreach($PAGE['FILE']['LIST'] as $fileURL): ?>
+ <media:content url="<?=$fileURL?>" medium="image"></media:content>
+ <?php endforeach; ?>
+</item> \ No newline at end of file