2010-08-05 20:36:14 |
Snip |
description |
There is a small bug on the RSS url.
In drupal_add_feed(
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" /> |
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" />
|
|