diff options
Diffstat (limited to 'views/rss')
-rw-r--r-- | views/rss/object/album.php | 9 | ||||
-rw-r--r-- | views/rss/tidypics/content_wrapper.php | 2 |
2 files changed, 11 insertions, 0 deletions
diff --git a/views/rss/object/album.php b/views/rss/object/album.php index 2ad4ed9f7..9c037b20f 100644 --- a/views/rss/object/album.php +++ b/views/rss/object/album.php @@ -5,7 +5,16 @@ // for now catch the albums view and ignore it if (get_context() == "search" && get_input('search_viewtype') == "gallery") { +?> + <item> + <guid isPermaLink='true'><?php echo $vars['entity']->getURL(); ?></guid> + <pubDate><?php echo date("r",$vars['entity']->time_created) ?></pubDate> + <link><?php echo $vars['entity']->getURL(); ?></link> + <title><![CDATA[<?php echo $$vars['entity']->title; ?>]]></title> + <description><![CDATA[<?php echo (autop($vars['entity']->description)); ?>]]></description> + </item> +<?php } else { $album = $vars['entity']; diff --git a/views/rss/tidypics/content_wrapper.php b/views/rss/tidypics/content_wrapper.php new file mode 100644 index 000000000..20d98862e --- /dev/null +++ b/views/rss/tidypics/content_wrapper.php @@ -0,0 +1,2 @@ +<?php
+echo $vars['content'];
|