aboutsummaryrefslogtreecommitdiffstats
path: root/template/standard/html/feed/item_page.php
diff options
context:
space:
mode:
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