Currently Feedburner.module supports site-wide feeds as well as Blog and Taxonomy RSS feeds. Would it be possible to have feedburner.module support Organic Group Feeds?

Comments

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

Sure. What kind of URLs does og provide for its feeds?

bsherwood’s picture

Since an Organic Group is a node, it should be /node/[nid]/feed (using path/pathauto). I guess the conditional logic should be to find out what nodes are actually organic group nodes and what nodes are not.

Currently I have path and pathauto setup and I created a group with the name of 'Linux'. The URL's are set up as:

[drupal root]/linux/feed = [drupal root]/node/1/feed

I hope this helps.

dave reid’s picture

Yeah, do you know what og function/api can be used to get a 'list' of group nids? It looks like I should just be able to query SELECT nid FROM {og}. Does that sound right?

bsherwood’s picture

I would say so. the OG table looks like it keeps track of what nodes are actually group nodes (via og.nid), so I think your query will work.

I am not sure if there is a function within OG itself that you can use to bypass working with the database directly.

dave reid’s picture

Assigned: Unassigned » dave reid
Status: Postponed (maintainer needs more info) » Fixed

Added to 6.x-1.x. I'll try and test this in a little bit as well.

bsherwood’s picture

Holy crap that was fast!

Thanks!

dave reid’s picture

I actually found a small bug in my code and added support for the views-provided og paths as well. I will commit when CVS in not blocked by the wifi that I'm on. :)

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.