RSS feed URL without URL rewriting

Bug #614007 reported by Snip on 2010-08-05
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
UD Planet
Medium
Unassigned

Bug Description

There is a small bug on the RSS url.

In the file udplanet_content.inc drupal_add_feed() function is called with the argument 'planet/rss'. This works fine if the URL rewriting is enabled but does not work without URL rewriting. Do not forget to use the url() function.
drupal_add_feed('planet/rss'); → drupal_add_feed(url('planet/rss'));

It is possible to give another argument to the function drupal_add_feed(): the title. Here is a patch.

This has an impact on the RSS link at the bottom of the page "planet" and also on the tag "<link>":
<link rel="alternate" type="application/rss+xml" title="UBUNTU DRUPAL PLANET TITLE" href="/?q=planet/rss" />

Related branches

Snip (snip) wrote :
Snip (snip) on 2010-08-05
description: updated

Thanks very much for both catching the issue and patching it. I'm also very sorry for the long delay getting to it. I committed this patch under your name in r63. When the theme has been rebased against the new theme I will push all of these changes to drupal.org.

Changed in ubuntu-drupal-planet:
importance: Undecided → Medium
status: New → Fix Committed
Changed in ubuntu-drupal-planet:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Related blueprints