From ad7ace9b72532512c67953d7149854312b6b195d Mon Sep 17 00:00:00 2001 From: Tim Almdal Date: Wed, 19 Nov 2008 02:31:20 +0000 Subject: The continuing evolution of the slideshow... 1) added a mime_type property to the item module(no database change) 2) created a media_rss module 3) moved most of the functionality for the downloading the images to the media_rss module --- modules/media_rss/controllers/media_rss.php | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 modules/media_rss/controllers/media_rss.php (limited to 'modules/media_rss/controllers') diff --git a/modules/media_rss/controllers/media_rss.php b/modules/media_rss/controllers/media_rss.php new file mode 100644 index 00000000..19a5dec3 --- /dev/null +++ b/modules/media_rss/controllers/media_rss.php @@ -0,0 +1,41 @@ +input->get("offset", 0); + + $view = new View("slideshow_feed.rss"); + $view->item = $parent; + + // @todo create a descendent child method on ORM_MTPP to get all of the children + $view->children = $children; + } + + protected function get_output_format() { + return "mediarss"; + } +} \ No newline at end of file -- cgit v1.2.3