Greetings

I upgraded two different site from 4.7-RC2 and 4.6.6 to 4.7 release and now when I try to see node site feed located at
/node/feed/
I got the same page I have with /node but with no rss (instead in drupal.org the /node/feed works)

I posted this in the forum but I think it can be a minor bug
Thx

Comments

David Hull’s picture

This is probably an instance of the problem discussed in http://drupal.org/node/28337.

magico’s picture

Version: 4.7.0 » x.y.z
Priority: Minor » Normal

A clean install of Drupal HEAD also has this bug.
When trying to use ?q=node/feed it shows the same page as ?q=node

AjK’s picture

StatusFileSize
new844 bytes

Odd one this. I have three sites, a live DRUPAL-4-7, a test DRUPAL-4-7 and a test DRUPAL-HEAD.

node/feed works for my live site but not my two test sites. I ran a cvs status to see what the difference was between the two DRUPAL-4-7 sites and there doesn't appear to be any difference! But there is one subtle one I know of. My live site runs PHP4 and my test sites run PHP5.

Anyway, moving on, the attached patch "pushs" this functionality back into HEAD. Note, after applying the patch you need to clear the menu cache by visiting admin/build/menu

AjK’s picture

Status: Active » Needs review
StatusFileSize
new1.61 KB

In #1 David Hull points to http://drupal.org/node/28337 The end of this Dries says that a permission should exist (called 'RSS feed') that allows for this feature to be disabled.

The attached patch is the same as my previous one (in that it addes this functionality into HEAD) but it also adds a permission called RSS feed and both node/feed and rss.xml take the permission into account.

Now, this new patch adds a new permission and since we are in code freeze I don't expect this patch to get through. Depends whether it's percieved a bug or a feature. I guess the user community can decide that by feedback on this issue.

regards
--AjK

AjK’s picture

StatusFileSize
new2.96 KB

and this patch (as per the disable RSS issue thread) removes the syndicate icon if the user doesn't have RSS permissions

RobRoy’s picture

StatusFileSize
new2.41 KB

Fixed up a few things:

- Perm is now called 'access RSS feed' to be more clear
- Don't insert a node/feed menu item since that should be an alias of rss.xml and perms will get filtered through that way.

Thanks AjK. Reviews?

RobRoy’s picture

Title: Node Feed Not Working » Add 'access RSS feed' permission to control access to RSS feeds

Better title...

coreb’s picture

Version: x.y.z » 4.7.x-dev

Moving out of the "x.y.z" queue to a real queue.

RobRoy’s picture

Version: 4.7.x-dev » 5.x-dev

Will get more attention on 5.x.

joshk’s picture

Applied clean, works as advertised.

However, the access should probably be "on" by default, or else a notice set that content is not being syndicated. Most folks take it for granted that their CMS is producing feeds.

RobRoy’s picture

Status: Needs review » Needs work

You're right.

meba’s picture

Should this be moved to 6.x-dev?

RobRoy’s picture

Version: 5.x-dev » 6.x-dev
Category: bug » feature

Yes.

liquidcms’s picture

i guess even though this thread started as 4.7; from the looks of these patches - is it safe to say they are for 5.0?

dave reid’s picture

Status: Needs work » Closed (duplicate)

Marking this as a duplicate of #28337: Add permissions to disable RSS feeds.