--- feeds.pages.inc	2010-10-26 00:14:58.000000000 +0200
+++ ../feeds/feeds.pages.inc	2011-01-24 15:10:15.856964001 +0100
@@ -59,6 +59,14 @@ function feeds_import_form(&$form_state,
     '#type' => 'submit',
     '#value' => t('Import'),
   );
+  $config = $source->importer->fetcher->getConfig();
+  if ($config['use_pubsubhubbub']) {
+    $form['subscribe'] = array(
+      '#type' => 'submit',
+      '#value' => t('Subscribe'),
+      '#submit' => array('feeds_import_form_subscribe')
+    );
+  }
   return $form;
 }
 
@@ -91,6 +99,16 @@ function feeds_import_form_submit($form,
 }
 
 /**
+ * Subscribe to feed if a hub is available without importing the data
+ */
+function feeds_import_form_subscribe($form, &$form_state) {
+  $source = feeds_source($form['#importer_id']);
+  $source->addConfig($form_state['values']['feeds']);
+  $source->save();
+  drupal_set_message(t('Successfully subscribed to the hub'), 'status');
+}
+
+/**
  * Render a feeds import form on node/id/import pages.
  */
 function feeds_import_tab_form(&$form_state, $node) {
