[drupal-devel] [bug] User blog feed url is old style

Steven drupal-devel at drupal.org
Mon Jan 24 22:02:20 UTC 2005

 Project:      Drupal
 Version:      cvs
 Component:    blog.module
 Category:     bug reports
 Priority:     normal
 Assigned to:  Anonymous
 Reported by:  tangent
 Updated by:   Steven
 Status:       patch

Note that for URL changes, we should preferably add an update similar to
update_97() and update_98(), which updated the URL aliases. Using an old
alias will end you up in legacy.module, which does a drupal_goto() to a
non-Clean url, which is not very desirable.


Previous comments:

January 22, 2005 - 22:49 : tangent

Attachment: http://drupal.org/files/issues/blog.module.feedurl.patch (2.14 KB)

The blog module creates user blog feed urls of the form
"blog/feed/[UID]" while taxonomy follows the new url form of

It seems that this should be changed to the new form of
"blog/[UID]/feed" and the attached patch makes this change.

Of course changing this will cause existing feed urls to become invalid
so legacy.module is also patched to redirect old style urls.

Legacy is modified as follows.

"/blog/feed/52" will redirect to "/blog/52/feed"


"blog/feed" will not redirect


January 24, 2005 - 22:41 : Dries

This patch looks corrupts and contains HTML code.

View: http://drupal.org/node/16021
Edit: http://drupal.org/project/comments/add/16021

More information about the drupal-devel mailing list