From 52b077a48c743ba4d08ac00520a0bf1ef6deef5f Mon Sep 17 00:00:00 2001 From: Thomas Lange <code@nerdmind.de> Date: Fri, 24 Feb 2017 21:27:59 +0100 Subject: Initial commit. --- template/standard/html/feed/item_page.php | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 template/standard/html/feed/item_page.php (limited to 'template/standard/html/feed/item_page.php') 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 -- cgit v1.2.3