add tip about /feed aliases.

nadavoid - November 11, 2008 - 16:53
Project:Pathauto
Version:6.x-2.x-dev
Component:Documentation
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

Hello,

I was confused for a while about the purpose of /feed aliases, such as for /node/1/feed. In pathauto settings, the user is shown this field title:
Internal feed alias text (leave blank to disable):
and this help text:
The text to use for aliases for RSS feeds. Examples are "feed" and "0/feed".

My confusion stemmed from my assumption that drupal, with default, clean configs, offers a feed for /node/1/feed. However it does not. One must install a module in order to get a feed at that address.

I would like to suggest that you add into the help text, something along these lines:

By default, /node/*/feed is an inactive address. To get a feed at such an address, you must install and configure a module such as commentrss or views.

I'm not sure what the exact best wording would be.

For reference, here is my post to the forum about this: http://drupal.org/node/332709

#1

ao2 - April 19, 2009 - 14:23
Title:add tip about /feed aliases» add tip about /feed aliases, or fix the code?
Component:Documentation» Miscellaneous
Category:task» support request

Hi,

I understood it the other way around :), I though this setting was for the _alias_ created by pathauto not for the source feed path.
If this is really the case, then the code has a bug which I tried to fix in the attached patch.

But I am not sure of my interpretation either, drupal has a standard path for nodes node/$nid but not for feeds AFAIK, even if the /feed suffix is the most used one.

Maybe pathauto should provide a way to set both the source suffix and a replacement pattern for feeds; for now, for my use case, I would assume that feeds use all the /feed suffix usuring that in the feed creator (in my case it is the Views module) and I let pathauto rename them to /rss.xml.

Any comments?

Regards,
Antonio

UPDATE: please ignore the attached patch.

AttachmentSize
fix_feed_alias_v0.patch 1.73 KB

#2

ao2 - April 19, 2009 - 10:14
Title:add tip about /feed aliases, or fix the code?» add tip about /feed aliases.

Sorry, I've just found the right issue #286843: Provide control over "feed" in url aliases which explains the situation, I am now convinced that I was wrong and also that the wording of this setting description should be improved :)
What about mentioning that the setting refers to the source path of the feed, and that it hardcodes the aliased path?

Sorry for the noise.

Regards,
Antonio

#3

ao2 - April 18, 2009 - 15:47
Component:Miscellaneous» Documentation
Category:support request» task

Restoring Component and Category.

#4

ao2 - April 19, 2009 - 14:25
Status:active» needs review

What about the attached changes?

Regards,
Antonio

UPDATE: please ignore this patch.

AttachmentSize
fix_feed_alias_descriptions_v1.patch 1.39 KB

#5

ao2 - April 19, 2009 - 14:17

Please use this one, v1 is against the wrong file.

Sorry,
Antonio

AttachmentSize
fix_feed_alias_descriptions_v2.patch 1.3 KB

#6

ao2 - May 13, 2009 - 20:57
Category:task» bug report

Turning this into a documentation bug.

#7

giorgio79 - July 22, 2009 - 05:27

Was also wondering what is the difference between "internal feed" and a plain feed output by views module for the taxonomy/term page?

#8

greggles - October 17, 2009 - 17:33

Here's another point - we should just default the node feeds to off.

Also, we can't change strings in 6.x-1.x so I'm not committing the text change just yet...

AttachmentSize
333002_no_node_feeds_default.patch 760 bytes

#9

greggles - October 17, 2009 - 17:37

Committed that last patch to HEAD and 6.x-1.x

http://drupal.org/cvs?commit=276088
http://drupal.org/cvs?commit=276090

 
 

Drupal is a registered trademark of Dries Buytaert.