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/views/feed.mrss.php | 68 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 68 insertions(+)
create mode 100644 modules/rss/views/feed.mrss.php
(limited to 'modules/rss/views')
diff --git a/modules/rss/views/feed.mrss.php b/modules/rss/views/feed.mrss.php
new file mode 100644
index 00000000..6015f471
--- /dev/null
+++ b/modules/rss/views/feed.mrss.php
@@ -0,0 +1,68 @@
+
+ echo "" ?>
+
+
+ gallery3
+ = htmlspecialchars($title) ?>
+ = $link ?>
+ = htmlspecialchars($description) ?>
+ en-us
+
+
+ if (!empty($previous_page_link)): ?>
+
+ endif ?>
+ if (!empty($next_page_link)): ?>
+
+ endif ?>
+ = $pub_date ?>
+ = $pub_date ?>
+ foreach ($children as $child): ?>
+ -
+ = htmlspecialchars($child->title) ?>
+ = url::abs_site("photos/$child->id") ?>
+ = url::abs_site("photos/$child->id") ?>
+ = htmlspecialchars($child->description) ?>
+
+
+
+
+
 ?>)
+ = $child->description ?>
+
+ ]]>
+
+
+
+ if (access::can("view_full", $child)): ?>
+
+ endif ?>
+
+
+ endforeach ?>
+
+
--
cgit v1.2.3