### Eclipse Workspace Patch 1.0
#P drupal6
Index: modules/aggregator/aggregator.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/aggregator/aggregator.module,v
retrieving revision 1.335
diff -u -r1.335 aggregator.module
--- modules/aggregator/aggregator.module	7 Apr 2007 07:38:36 -0000	1.335
+++ modules/aggregator/aggregator.module	10 Apr 2007 18:00:23 -0000
@@ -1382,7 +1382,8 @@
  * @ingroup themeable
  */
 function theme_aggregator_page_item($item) {
-
+  global $user;
+  
   $source = '';
   if ($item->ftitle && $item->fid) {
     $source = l($item->ftitle, "aggregator/sources/$item->fid", array('attributes' => array('class' => 'feed-item-source'))) . ' -';
@@ -1411,6 +1412,12 @@
   if ($categories) {
     $output .= '<div class="feed-item-categories">'. t('Categories') .': '. implode(', ', $categories) ."</div>\n";
   }
+  
+  if ($user->uid && module_exists('blog') && user_access('edit own blog')) {
+    if ($image = theme('image', 'misc/blog.png', t('blog it'), t('blog it'))) {
+      $output .= '<div class="icon">'. l($image, 'node/add/blog', array('title' => t('Comment on this news item in your personal blog.'), 'class' => 'blog-it', 'query'=>"iid=$item->iid", 'html'=>TRUE)) .'</div>';
+    }
+  }
 
   $output .= "</div>\n";
 
