Is there anyway to make pathauto and rss play nice together? Both rss and pathauto work well in 4.5...seperately. However, pathauto will not recognize the "feed" in "mynode/123/feed". I have to create a seperate url alias by hand for that. So, if I want rss for my nodes, I must have 2 url paths for each posting...one for the normal "mynode/123" and a second for it's feed "mynode/123/feed". Additionally, when a node is deleted, I must go in and manually delete the feed path url, the first alias is automatically deleted. Any suggestions on simplifying this cumbersome process? Ideally, I would want the process automated, as it normally is without the pathauto.module, and only one alias per node posting...not two. By the way, thanks for the module...it's awesome.

thanks for suggestions,
larry

Comments

mikeryan’s picture

I haven't used the RSS functionality of Drupal so far, can you explain to me more precisely what the problem is? If you have a node with ID 539 titled "New story", pathauto (in its simplest format) creates an alias new_story pointing to the URI node/539, and both those addresses work to point to the node. I see no reason that the URI node/539/feed would not continue to work just as it does without pathauto. Are you asking that for every node another alias (e.g., new_story/feed) be automatically generated (and removed when the node is removed)?

Thanks.

larry’s picture

Thanks for your response, and again...the awesome module. In your response, you remarked:

"Are you asking that for every node another alias (e.g., new_story/feed) be automatically generated (and removed when the node is removed)?"

Actually, yes...or something simulating that. I can understand people wishing to use URL alias for their links...but then, it makes no sense to me to alias links and then create an RSS feed using the old path I just replaced with aliasing, a la pathauto.module. Such a process defeats the purpose of link aliasing(only if you also use the RSS feeds) in the first place...IMHO. I have looked at mass aliasing...interesting but you can only use one function, not multiple mass URL aliasing functions simultaneously. I really like the pathauto.module, but RSS feeds are important to me and I have yet to figure out an adequate solution that lets me have both my alias path and simple, automated, RSS feeds with that newly generated path. Any suggestions are appreciated.

thanks,
larry

mikeryan’s picture

When I have a chance I'll look into adding an option to generate aliases for the feed path, it should be pretty simple.

Deleting the feed alias, however, seems like something that belongs in the path module. After all, any alias (whether generated by pathauto or not) that points to node/[nid]/feed becomes invalid when the node is deleted. For that matter, any alias to node/[nid]/* would become invalid - I think path.module should delete any such alias in its nodeapi hook.

mikeryan’s picture

Done. Check it off in the pathauto settings and you'll get an alias for your feed.

nickonom’s picture

Version: 4.5.x-1.x-dev » 7.x-1.x-dev
Issue summary: View changes
Status: Closed (fixed) » Active

Was it removed from 7.x as I can't find any RSS-related settings?

ben.kyriakou’s picture

Hi nickonom. Could you describe what you're trying to achieve? It's likely a lot has changed since the Drupal 4.7 version - it appears that this has been explicitly removed so may no longer be possible - see #333002: add tip about /feed aliases..