From 8b2c05afc0a9f8ad7490fd46bb1c8249d03c2fb8 Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Thu, 19 Feb 2009 15:24:17 +0000 Subject: 1) Rename the module media_rss to rss 2) Protect the fullsize image with a permission check 3) Added a content:encoded element to each item which allows the image to show up in the body of the feed. --- modules/rss/helpers/rss_theme.php | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 modules/rss/helpers/rss_theme.php (limited to 'modules/rss/helpers/rss_theme.php') diff --git a/modules/rss/helpers/rss_theme.php b/modules/rss/helpers/rss_theme.php new file mode 100644 index 00000000..2880baa5 --- /dev/null +++ b/modules/rss/helpers/rss_theme.php @@ -0,0 +1,32 @@ +item()) { + $url = rss::item_feed($theme->item()); + } else if ($theme->tag()) { + $url = rss::tag_feed($theme->tag()); + } + + if (!empty($url)) { + return ""; + } + } +} -- cgit v1.2.3