I've got a site that will be primarily blog posts, pages and lots of book module pages.

Is there a simple way for me to route all of the RSS feeds for these different node types out through one single main RSS feed?

i.e.

Blog post ---\
Book Page ---> feedburner.com/mysite feed includes it all.
Other ------/

I've found references to the Views module and it's ability to do this (or something like it), but I haven't been able to figure it out.

Thanks

Ron Jones
Tennessee

Comments

bwv’s picture

The Views module makes this easy, but first you have to figure out the Views module. ;-)

There are four options in the view display: attachment, block, feed and display. Selecting feed, and for a field, selecting title (and linking the title to the node), will give you your feed. Make sure you select a row style and give the feed a path (you will be reminded in case you forget).

UPDATE: I created a simple feed (path is "my/feed") for a site of mine using Views that draws in all content. You can import the code below if you wish, then refine it from there.

$view = new view;
$view->name = 'feed';
$view->description = '';
$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('fields', array(
  'title' => array(
    'label' => 'Title',
    'link_to_node' => 1,
    'exclude' => 0,
    'id' => 'title',
    'table' => 'node',
    'field' => 'title',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler = $view->new_display('feed', 'Feed', 'feed_1');
$handler->override_option('style_plugin', 'rss');
$handler->override_option('style_options', array(
  'mission_description' => FALSE,
  'description' => '',
));
$handler->override_option('row_plugin', 'node_rss');
$handler->override_option('row_options', array(
  'item_length' => 'default',
));
$handler->override_option('path', 'my/feed');
$handler->override_option('menu', array(
  'type' => 'none',
  'title' => '',
  'weight' => 0,
  'name' => 'navigation',
));
$handler->override_option('tab_options', array(
  'type' => 'none',
  'title' => '',
  'weight' => 0,
));
$handler->override_option('displays', array());
$handler->override_option('sitename_title', FALSE);

----------------------------------------------------------------------
http://classicvinyl.biz
http://music.bwv810.com
http://association.drupal.org/user/1207

Ron Jones’s picture

Thanks!

Yes, I can see that views is very powerful...but figuring it out is a bit of a bear (at least to the layman) lol.