diff options
Diffstat (limited to 'modules/blog')
-rw-r--r-- | modules/blog/blog.module | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/modules/blog/blog.module b/modules/blog/blog.module index b0227e66d..7b93d2129 100644 --- a/modules/blog/blog.module +++ b/modules/blog/blog.module @@ -163,12 +163,8 @@ function blog_page_user($uid) { $output .= node_view(node_load($node->nid), 1); } $output .= theme('pager', NULL, variable_get('default_nodes_main', 10)); - drupal_add_feed(url('blog/'. $account->uid .'/feed')); + drupal_add_feed(url('blog/'. $account->uid .'/feed'), t('RSS - !title', array('!title' => $title)); - drupal_add_link(array('rel' => 'alternate', - 'type' => 'application/rss+xml', - 'title' => t('RSS - !title', array('!title' => $title)), - 'href' => url("blog/$account->uid/feed"))); return $output; } else { @@ -190,12 +186,8 @@ function blog_page_last() { $output .= node_view(node_load($node->nid), 1); } $output .= theme('pager', NULL, variable_get('default_nodes_main', 10)); - drupal_add_feed(url('blog/feed')); + drupal_add_feed(url('blog/feed'), t('RSS - blogs')); - drupal_add_link(array('rel' => 'alternate', - 'type' => 'application/rss+xml', - 'title' => t('RSS - blogs'), - 'href' => url("blog/feed"))); return $output; } |