Subscribe: Search issues for Media RSS
Added By: Feedage Forager Feedage Grade B rated
Language: English
array  content  feed  gurnetroad test  gurnetroad  handler override  media content  media  mediarss  node  override option  test  view 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Search issues for Media RSS

Issues for Media RSS


warning: Invalid argument supplied for foreach()

Wed, 17 Dec 2008 14:10:31 +0000

Are you getting this too ?

Add a "feed" view display
Choose MediaRSS in the line style
Click Update, you get this warning :

* warning: Invalid argument supplied for foreach() in /var/www/drupal6/includes/ on line 1193.
* warning: Invalid argument supplied for foreach() in /var/www/drupal6/includes/ on line 1193.

Maintenance status

Thu, 07 Jun 2012 13:21:09 +0000

Is it safe to say that this module is abandoned?

D7 port of Media RSS

Mon, 21 Feb 2011 15:10:12 +0000

How hard would it be to create a Drupal 7 port of this ?

Thanks !

Incompatible with Gallery Assist?

Tue, 13 Dec 2011 13:50:56 +0000


is there any way to integrate this with Gallery Assist module? I want to feed images/galleries that i added with Gallery Assist, but i don't know how to do this...

This is what i want to have:

Any ideas?

Views 3 Support

Fri, 09 Sep 2011 19:31:52 +0000

What would need to happen to allow this module to be used under Views 3? Currently, it breaks.

Media RSS - Video Elements

Thu, 24 Dec 2009 16:33:51 +0000

Hi Everyone,

I'm trying to generate a media RSS ( that contains video elements like . The reason for this is that flowplayer has the ability to take an RSS and use the playlist plugin to generate all the necessary HTML. It's quite awesome.

I've been able to successfully use the Views2 plugin and get an image output like so

But it's not clear to me how to do the same thing for video files. Any help/guidance/pointers would be GREATLY appreciated.


Cooliris compatibility is lost with mediarss-2.9

Thu, 26 Mar 2009 17:15:30 +0000

Hi, I have been using mediarss to support cooliris galleries in my site, but version 2.7 is no longer working to do this.

I have reverted to 2.6 for now, but I wanted you to notice this, as I don´t know who is to blame (cooliris or mediarss).

I have looked at the feed you provide and didn't see anything wrong with it. maybe cooliris is not implementing the new tags correctly?

Single image: Show a certain image of several images in a imagefield

Sun, 15 Nov 2009 12:07:24 +0000

Thanks for this great plugin - it works great.
I set it up and chose "Fulltext plus single image".
I then noticed that it shows the last uploaded image as the foreach loop overwrites the results before. This is not so great as my first image is the most important.

To show the first image only I added a simple if ($count == 0) { on line 246 and so on.
I think the feature to be able to choose the first image or the last or any other would not be so hard to implement, however I dont know if there are any other issues involved with this.

Allow modules to alter node on RSS render

Wed, 02 Jun 2010 12:46:56 +0000

Core RSS code and Views node RSS plugins both allow other modules to alter the fully built node before rendering the rss feed. When using Media RSS some of our RSS content theming was last because this is missing in the Media RSS views plugin.

Would you be able to add this single line to the render function? A patch based on the latest dev branch is attached.

Not sure how to use

Wed, 23 Sep 2009 02:56:59 +0000

`I uploaded this module and my image field images still appear as links to the images in my feed view

what do i need to do

View Media:Content option empty

Sun, 09 Aug 2009 01:55:30 +0000

Hey, I can't seem to figure out why my images aren't appearing in the feed so I could do with some help. I'm using the imagefield and imagecache method to display the images in nodes. (which works fine).

I've setup a 'Feed View' with the 'Row style: Media RSS', have selected the content type, have choosen 'Display type: Full text plus pics' but the next two options for 'Media:Content' and 'Media:Thumbnail' are both empty. I'm assuming this is something to do with the way I have setup the imagefield?

In the content type options I just have the 'Title' field and the 'File' field.

In the 'Default' View Fields section I have selected the content type and both the fields but I am unsure of the following settings....

Label - Assuming this doesn't matter but I have selected 'None' anyway.
Format - I have the options for 'Generic Files' or 'cachepreset image' or 'cachepreset image linked to node' or 'cachepreset image linked to image' or 'cachepreset file path' or 'cachepreset URL'

I think I've tried all the format settings but every time I go back to the Feed View the 'Media:Content' and 'Media:Thumbnail' are both empty.

Any ideas? Let me know if you need specific details.



Imagefields with multiple iimages

Fri, 13 Feb 2009 17:59:38 +0000

For an imagefield with mulitple images defined/allowed, should the resulting media rss feed put out each of those (multiple) images wrapped in it's own tag? A test feed I tried is

The question/reason for asking is that the viewers I've tried (jw image rotator, etc.) are just showing the first image.



Update hangs on row style options - views 2

Wed, 11 Nov 2009 00:48:23 +0000

Hi all,

I have been following a video tutorial (no, i am not a drupal expert) on learnbythedrop to make a simple image gallery, and then publish a mediarss feed. The method seems to be fairly common and I have followed the guide to a T. I have run into a problem with not being able to get a working media feed and have spent all day trying to resolve the problem. Here is a brief explanation of my situation.

A fresh install of acquia drupal core 6.14
All my modules are up to date versions
Created a custom content type (called 'photo') using CCK and Imagefield, ImageCache
Set up a view that shows just my 'photo' nodes.
Created a page display on the view that works just fine.
Created a normal rss feed display on the view that works fine.

My problem appears when I try to turn the normal rss feed into a mediarss feed. I change the row style to "media rss", and then the option settings appear, but they do not look right to me (image attached to this post). When I hit update (regardless of my option choices), the update hangs and never completes. Thus, I am never able to get a media feed.

I have gone through this process multiple times, reinstalled all of these related modules, disabled, re-enabled everything. My thought was that some modules were conflicting, but my enabled modules are pretty minimal and i havent discovered any conflicts. Hours of scouring the net hasn't turned up much either.

This may not be a mediarss problem but I thought it would be a good place to start.


RSS Feed link using MediaRSS omits domain name in link.

Fri, 06 Feb 2009 04:36:25 +0000

This puzzles me greatly. Fortunately I can show you exactly what the problem is.

Using MediaRSS, I created an rss feed view of a thumbnail image:

The link contained in the node title and the link over the thumbnail ought to be identical, but the link over the thumbnail image omits the site domain.

Am I doing something wrong? How do I fix the URL? If there's no way to fix it, how do I remove the link from the thumbnail image?

Limited results (views preview does not match output)

Mon, 27 Jul 2009 13:44:03 +0000


Using v2.9 to try and get a feed for Cooliris, and just noticed a strange issue:
The outputted RSS feed only displays the first 25 results.
In the views preview i can view all results (just over 30) - but when i visit the feed directly i can see only 25.
Views is set to "1000" items - so that should bother the feed...

At first i thought something is wrong with Cooliris - but after visiting the feed and noticing this i realize the problem is probably with Media RSS.

What else could be limiting these results...?

Not sure if this is a bug or just bad configurations - but it feel like a bug for sure...


Error in

Mon, 06 Jul 2009 08:52:21 +0000

Me and a colleague discovered a "bug" of sorts in

If you download version 6.x-2.9 via CVS you can see this:

name = Media RSS
description = Creates a media field for image nodes on RSS feeds
package = Views


core = 6.x
; Information added by packaging script on 2008-09-23
version = "6.x-1.0"
core = "6.x"
project = "mediarss"
datestamp = "1222207534"

But if you download the tar-file and look in that it says:

name = Media RSS
description = Creates a media field for image nodes on RSS feeds
package = Views


core = 6.x
; Information added by packaging script on 2008-09-23
version = "6.x-1.0"
core = "6.x"
project = "mediarss"
datestamp = "1222207534"

; Information added by packaging script on 2009-05-14
version = "6.x-2.9"
core = "6.x"
project = "mediarss"
datestamp = "1242293461"

Some info comes twice and with different values. The module seems to be working OK, but the Drupal installation says that there's a newer version.

I took a quick glance at the code, didn't use diff, and it seem to be the same. Maybe it's only a bug in the packaging script, but it's definitely worth checking out.

Best regards,
Andreas Rydberg

Missing slash in thumbnail path

Sun, 14 Jun 2009 10:53:27 +0000

Please change line 252 from




(also one semicolon too much)

Drupal 5

Mon, 29 Jun 2009 21:56:15 +0000

Any chance of create a port to Drupal 5?

Usage help

Sun, 31 May 2009 10:25:29 +0000

I'm trying to work mediarss with image module.
Here is what I have done:
- I made a gallery
- Enabled Media RSS
- Imported the taxonomy term view (

Then I go to my gallery and add /rss.xml to see my feed (http://localhost/imagegallery/image/tid/8/rss.xml)
I see the title of the node which links to the page, but I don't see a thumbnail. Also, there is a field Multimedia file that links to folder http://localhost/imagegallery/sites/default/files/ and not to the image.

I want to take a feed like this:

What am I doing wrong? Please, help.

Doesnt display image title of image with Imagefield/Imagecache setup

Thu, 14 May 2009 00:54:39 +0000

When setting up the media RSS feed with Imagefield and Imagecache it only displays the node's title and not the image title in the feed. I really need to get this working and would appreciate a quick fix for this. Has someone had this problem before?

I just made a feed with media RSS but it is ignoring other fields on the nodes I'm grabbing other than title and image

Wed, 13 May 2009 01:29:35 +0000

I set up an rss views feed because I need to move some node content from one site to another. I ran in to a problem though. When i use the standard rss plugin it puts all the event dates and expiration date and my description field into the rss feed. However, no matter what I do I can't get the Media rss feed to grab those things too. All it does is grab the image field I want and grab the title. I need more though.... Is there something I"m doing wrong?


image-not-found question marks on RSS feed

Tue, 12 May 2009 20:23:34 +0000

MY RSS Feed, here: feed:// gets little image-not-found question marks on RSS feed items that have no images. How can I prevent this from happening? Originally, I thought it would just ignore the fact that not all of the nodes I'm pulling in have images....

Is there a way to fix this?


Will fields generated by CCK Dates be put in the description tag when put into the XML feed?

Mon, 18 May 2009 18:31:47 +0000

My feed looks great thanks to the recent update of the module but I have one more question. I am drawing this feed over to another site using Feed API and element feed mapper. I have posted about this question in that queue too but I want to double check on this end too. When the feed grabs my dates which are set by the CCK Date module, are the dates supposed to end up in a description tag? I just realized that was happening and I'm at a loss as to how to map the dates to their own individual CCK field now that they are all printed out in the description tag.......

Anyway, Just wanted to know if what I'm seeing on my screen is normal.


Title does not appear when used in conjunction with SlideShow Pro

Sun, 22 Mar 2009 05:26:24 +0000

I asked the authors of Slideshow Pro to look at an Media RSS feed and they gave me feed back :

Hey John - I think I know what the issue is. SSP's media rss parser doesn't use the element inside an when assigning the image title. It uses instead (which you don't have) . Most people (like Flickr) publish the same for both nodes. If you add that to your feed it should then work.

Possible Solution

on line 185 in "", I put this is and the title appeared in the Flash gallery

array('key' => 'media:title', 'value' => $item->title),

incorrect media:content/media:thumbnail url?

Thu, 05 Feb 2009 16:56:22 +0000

When "File path" in an image field is not set, media rss works. If a file path is added to an imagefield (see filepath.png), the image is created there as expected, and imagecache creates images and thumbnails in a subdirectory by that name under the corresponding preset. Problem/question is that media rss doesn't seem to find images if subdirectory set--whatever I'm using to display media rss views works if no subdirectory, doesn't work if a subdirectory is set.

The description from preview has the right path (subdirectory called "gallery"...)

but media:content and media:thumbnail are missing the additional subdirectory

I'm confused because this seems to reference the right location.

Not sure if this is something in my setup or if I'm doing something wrong....


 <a href="/test//test/content/0628080033"><img src="" alt="" title=""  width="990" height="659" /></a>
 Thu, 05 Feb 2009 12:10:41 +0000
 173 at


Elements Not Displaying Using ImageCache

Sun, 25 Jan 2009 16:06:20 +0000

I have been using this module on another site with the image module so I'm a familiar with setting it up properly. I am setting it up on another test site in conjunction with the cck file field and image cache module and I am having problems. I have set up the view to use the style of "RSS Feed" and row style of "Media RSS" but the resulting feed still does not contain the Media RSS elements as I would expect.

I have attached a screenshot of the settings from Views that shows the feed settings. I'm running the most recent version of Media RSS, Views 6.x-2.2 and ImageCache 6.x-2.0-beta5. I know it's possible that this could be an issue with one of the other modules but I thought this would be a good place to start.

Any guidance that you can provide is greatly appreciated.

Rob Safuto

choose whether to embed the uploaded files or not

Fri, 16 Jan 2009 16:49:59 +0000

Hello Microbe,

If you have the time, it would be nice to be able to choose whether to embed or not the uploaded files (by the upload.module).
I use MediaRSS for embedding an ImageField picture (media:thumbnail and media:content) but I also get a PDF embedded, which is in the uploaded files.
It's not a big problem (my partner just has to ignore enclosure tags) but I think it would be a nice improvement to your very cool module.

Best regards,

Different Images displayed for different sections e.g. media:content, media:thumbnail and teaser

Wed, 17 Dec 2008 14:06:28 +0000

However the good pictures display in the feed teasers when you choose for example "Title plus single picture plus teaser".

Views 2 Style Plugin

Tue, 14 Oct 2008 12:43:06 +0000

How about making this as a Views 2 style plugin. It would make it so much more flexible.

Does not generate proper output whem ImageField has multiple values in a single field (Drupal 6)

Tue, 16 Dec 2008 18:51:59 +0000

If a CCK ImageField is configured to support multiple values, then the Media RSS module generates incorrect output. Specifically, it appears to repeat the first value in multiple mediarss xml nodes.

The use case here is that a view should be created to return all of the ImageField values in MediaRSS format for a single node: - returns mediaRSS xml for just that node.

Problem could be in the iterator:

	if(module_exists('imagefield') && $item->type==$mediarsstype){
		foreach($imagefields as $imagefield){
				$imagecache = $this->options['mediarss_cachepreset'];
				$picture_text = l(theme('imagecache', $imagecache, $item->{$imagefield}[0]['filepath']), url("node/".$item->nid), array('html' => TRUE));
				$attributes['url'] =  file_create_url($item->{$imagefield}[0]['filepath']);
				$media['url'] = $attributes['url'];
				$media['type'] = file_get_mimetype($item->{$imagefield}[0]['filepath']);
				$extra = array_merge($extra,
						array('key' => 'media:content', 'attributes' => $media),
						array('key' => 'media:thumbnail', 'attributes' => $attributes),

Taxonomy Term View To Import

Wed, 10 Dec 2008 20:29:53 +0000

Here is a view that can be imported to create an RSS feed for each taxonomy term $view = new view; $view->name = 'imagefeed'; $view->description = 'Image RSS Feeds'; $view->tag = ''; $view->view_php = ''; $view->base_table = 'node'; $view->is_cacheable = FALSE; $view->api_version = 2; $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */ $handler = $view->new_display('default', 'Defaults', 'default'); $handler->override_option('filters', array( 'type' => array( 'operator' => 'in', 'value' => array( 'image' => 'image', ), 'group' => '0', 'exposed' => FALSE, 'expose' => array( 'operator' => FALSE, 'label' => '', ), 'id' => 'type', 'table' => 'node', 'field' => 'type', 'override' => array( 'button' => 'Override', ), 'relationship' => 'none', ), )); $handler->override_option('access', array( 'type' => 'none', )); $handler->override_option('row_plugin', 'node'); $handler->override_option('row_options', array( 'teaser' => 1, 'links' => 1, 'comments' => 0, )); $handler = $view->new_display('feed', 'Feed', 'feed_1'); $handler->override_option('arguments', array( 'term_node_tid_depth' => array( 'default_action' => 'ignore', 'style_plugin' => 'default_summary', 'style_options' => array(), 'wildcard' => 'all', 'wildcard_substitution' => 'All Images', 'title' => '%1', 'default_argument_type' => 'fixed', 'default_argument' => '', 'validate_type' => 'none', 'validate_fail' => 'ignore', 'depth' => '10', 'break_phrase' => 1, 'set_breadcrumb' => 0, 'id' => 'term_node_tid_depth', 'table' => 'node', 'field' => 'term_node_tid_depth', 'override' => array( 'button' => 'Use default', ), 'relationship' => 'none', 'default_options_div_prefix' => '', 'default_argument_user' => 0, 'default_argument_fixed' => '', 'default_argument_php' => '', 'validate_argument_node_type' => array( 'image' => 0, 'poll' => 0, 'page' => 0, 'story' => 0, ), 'validate_argument_node_access' => 0, 'validate_argument_nid_type' => 'nid', 'validate_argument_vocabulary' => array( '1' => 0, '2' => 0, ), 'validate_argument_type' => 'convert', 'validate_argument_php' => '', ), )); $handler->override_option('items_per_page', 0); $handler->override_option('style_plugin', 'rss'); $handler->override_option('style_options', array( 'mission_description' => 1, 'description' => '', )); $handler->override_option('row_plugin', 'mediarss'); $handler->override_option('row_options', array( 'item_length' => 'teaserpic', 'mediarss_typename' => array( 'image' => 'image', 'poll' => 0, 'image2' => 0, 'page' => 0, 'story' => 0, ), 'item_picture_size' => 'preview', )); $handler->override_option('path', 'image/%/rss.xml'); $handler->override_option('menu', array( 'type' => 'none', 'title' => '', 'weight' =[...]