Usage help
auris - May 31, 2009 - 10:25
| Project: | Media RSS |
| Version: | 6.x-2.9 |
| Component: | Documentation |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
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 (http://drupal.org/node/345409)
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: http://photos.itzalive.co.uk/image/6/rss.xml
What am I doing wrong? Please, help.

#1
This is for an old version of MediaRSS. If you edit the feed view and click the cog next to Media RSS then you can edit the settings to update the feed to the new version of MediaRSS.
I will try and get a new version of the taxonomy term view ASAP. Currently my web server is down so I cannot do anything using Drupal.
Peter
#2
Still confused.
Do I need the taxonomy view term (http://drupal.org/node/345409)?
If I delete it, then I get nothing with the url http://www.decoclub.gr/demo/image/tid/3/rss.xml
Using it I get what I've described above, as you may see with the above link.
Also I don't understand "...edit the feed view and click the cog next to Media RSS...".
Please, help.
#3
Finally got server working again :)
Here is a new updated view to do what you want. Delete old view (taxonomy term view that you imported previously) then import this one. This is an export of the view used on the demo site that you want a feed like.
$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(
'mediarss_typename' => array(
'image' => 'image',
'poll' => 0,
'panel' => 0,
'page' => 0,
'story' => 0,
),
'teaser' => array(
'item_length' => 'fulltextpic2',
'item_picture_size' => 'preview',
),
'content' => array(
'item_picture_size' => '_original',
),
'thumbnail' => array(
'item_picture_size' => 'thumbnail',
),
));
$handler->override_option('path', 'image/tid/%/rss.xml');
$handler->override_option('menu', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
));
$handler->override_option('displays', array(
'default' => 'default',
));
$handler->override_option('sitename_title', FALSE);
$handler = $view->new_display('feed', 'Feed', 'feed_2');
$handler->override_option('style_plugin', 'rss');
$handler->override_option('style_options', array(
'mission_description' => FALSE,
'description' => '',
));
$handler->override_option('row_plugin', 'mediarss');
$handler->override_option('row_options', array(
'mediarss_typename' => array(
'image' => 'image',
'poll' => 0,
'panel' => 0,
'page' => 0,
'story' => 0,
),
'teaser' => array(
'item_length' => 'fulltextpic2',
'item_picture_size' => 'preview',
),
'content' => array(
'item_picture_size' => '_original',
),
'thumbnail' => array(
'item_picture_size' => 'thumbnail',
),
));
$handler->override_option('path', 'image/rss.xml');
$handler->override_option('menu', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
'name' => 'navigation',
));
$handler->override_option('tab_options', array(
'type' => 'none',
'title' => '',
'description' => '',
'weight' => 0,
));
$handler->override_option('displays', array());
$handler->override_option('sitename_title', 1);
Hope this helps,
Peter
#4
Thanks! This works great!