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?
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
Comment #1
dave reidSure. What kind of URLs does og provide for its feeds?
Comment #2
bsherwood commentedSince 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.
Comment #3
dave reidYeah, 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?Comment #4
bsherwood commentedI 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.
Comment #5
dave reidAdded to 6.x-1.x. I'll try and test this in a little bit as well.
Comment #6
bsherwood commentedHoly crap that was fast!
Thanks!
Comment #7
dave reidI 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. :)