helo

how to generate _one_ rss feed from all the categores and containers of forums?

thanx for help

Comments

dman’s picture

For everything, I eventually found it coming out at q=node/feed
That'll include new non-forum pages too however...

http://www.coders.co.nz/

szczym’s picture

that will not list the comments to forum nodes ;(

___
Obin.org - Independent media workshop

shane birley’s picture

Most content in Drupal has an associated feed. What you can do is turn on the aggregator module and aggregate all of the forum feeds into a single aggregator category.

1. Add all forum feeds to the aggregator module.
2. Create aggregator category.
3. Voila, your new category feed is your new "all forums" feed.

All you would need to do then is to create a custom RSS link pointing to that feed and...that's about it.

---
Shane Birley
Vicious Bunny Creative
http://www.vbcreative.com

---
Shane Birley
Left Right Minds
https://www.leftrightminds.com

szczym’s picture

i did that, but there is no "global" feed from agregator - what is an url to there ?

thanx for help
___
Obin.org - Independent media workshop

shane birley’s picture

The quickest way to find out what the URL is for the new RSS feed is to turn on the category block.

1. administer >> blocks
2. Turn the block on and then display it on the theme of your site.
3. View the block as it appears on the site and click "more".
4. The URL in the address bar is the URL you want.

Also, check out the path module and you can see how to make the URL look better (eg: http://www.example.com/forums/rss") or something like that.

-
Shane Birley
Vicious Bunny Creative
http://www.vbcreative.com

---
Shane Birley
Left Right Minds
https://www.leftrightminds.com

szczym’s picture

well, non of that methods helped me, becouse seems like there is "global" feeds from forums. i have found a way around by using the commens rss module, but so fare it gaves me only new comments. Maybe i will menage to patch the code of that module.

___
Obin.org - Independent media workshop

david7’s picture

I've been trying to get this working for ages. Finally found the answer.
On top of what Shane Birley wrote above, you have to change permissions for the aggregator module for anonymous users.

so, to summarise

1. go to permissions and enable "access news feeds" for the aggregator for anonymous users.
2. Go to the aggregator module, create a new aggregator category, say "myrss1".
3. Add all forum feeds to aggregator module and select "myrss1" each time.
4. Back in the feed aggregator list view, click on "myrss1" and scroll to the bottom of the page. Click on the RSS feed symbol - this is your RSS feed available in any reader to anyone.

phasma’s picture

Hi, I stumbled accros this old post since I was facing the same problem.
After various attempts the solution seemed fairly easy: http://mysite.com/taxonomy/term/211+212+213+215+216+217/all/feed
Simple combine all the terms of your forum into one URL, solved my troubles.

shark’s picture

I came across this as well. A fairly easy solution, if you have Views installed, is to create a View of all Forum nodes, and add an RSS feed as one of the view's displays.

Settings

Filters:

  • Published: Yes
  • Node type: Forum Topic

Row style: Node

Here is an export of the view I used. Hope this helps. Note that this just gets nodes; you'd need a separate view for the comments that get added to the forum topics.

$view = new view;
$view->name = 'forum_rss_feed';
$view->description = 'Forum RSS Feed';
$view->tag = '';
$view->base_table = 'node';
$view->core = 6;
$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('sorts', array(
  'timestamp' => array(
    'order' => 'DESC',
    'granularity' => 'second',
    'id' => 'timestamp',
    'table' => 'node_revisions',
    'field' => 'timestamp',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
));
$handler->override_option('filters', array(
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'forum' => 'forum',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'relationship' => 'none',
  ),
));
$handler->override_option('access', array(
  'type' => 'none',
));
$handler->override_option('cache', array(
  'type' => 'none',
));
$handler->override_option('items_per_page', 30);
$handler->override_option('row_plugin', 'node');
$handler->override_option('row_options', array(
  'relationship' => 'none',
  'build_mode' => 'teaser',
  'links' => 1,
  'comments' => 0,
));
$handler = $view->new_display('feed', 'Forum Topic Feed', 'feed_1');
$handler->override_option('filters', array(
  'status' => array(
    'operator' => '=',
    'value' => '1',
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'status',
    'table' => 'node',
    'field' => 'status',
    'override' => array(
      'button' => 'Override',
    ),
    'relationship' => 'none',
  ),
  'type' => array(
    'operator' => 'in',
    'value' => array(
      'forum' => 'forum',
    ),
    'group' => '0',
    'exposed' => FALSE,
    'expose' => array(
      'operator' => FALSE,
      'label' => '',
    ),
    'id' => 'type',
    'table' => 'node',
    'field' => 'type',
    'override' => array(
      'button' => 'Use default',
    ),
    'relationship' => 'none',
  ),
));
$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(
  'relationship' => 'none',
  'item_length' => 'fulltext',
));
$handler->override_option('path', 'feeds/forum');
$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,
  'name' => 'navigation',
));
$handler->override_option('displays', array());
$handler->override_option('sitename_title', FALSE);