--- gsitemap.module	2007-06-27 22:03:54.000000000 -0500
+++ gsitemap.moreover	2007-09-22 20:06:19.000000000 -0500
@@ -342,6 +342,21 @@ function gsitemap_admin_settings() {
     '#default_value' => variable_get('gsitemap_ask_com_url', 'http://submissions.ask.com/ping?sitemap='. url('sitemap.xml', NULL, NULL, TRUE)),
     '#description' => t('The URL to submit the site map to.'),
   );
+  $form['search_engines']['moreover.com'] = array(
+    '#type' => 'fieldset',
+    '#title' => t('Moreover.com'),
+  );
+  $form['search_engines']['moreover.com']['gsitemap_moreover_com_submit'] = array(
+    '#type' => 'checkbox',
+    '#title' => t('Submit site map to Moreover.'),
+    '#default_value' => variable_get('gsitemap_moreover_com_submit', FALSE),
+  );
+  $form['search_engines']['moreover.com']['gsitemap_moreover_com_url'] = array(
+    '#type' => 'textfield',
+    '#title' => t('Submission URL'),
+    '#default_value' => variable_get('gsitemap_moreover_com_url', 'http://api.moreover.com/ping?u='. url('sitemap.xml', NULL, NULL, TRUE)),
+    '#description' => t('The URL to submit the site map to.'),
+  );  
   $form['search_engines']['gsitemap_submit'] = array(
     '#type' => 'checkbox',
     '#title' => t('Submit site map when updated.'),
@@ -1095,6 +1110,15 @@ function _gsitemap_submit() {
         watchdog('gsitemap', t('Error occurred submitting site map to Ask.com: @code', array('@code' => $result->code)), WATCHDOG_ERROR);
       }
     }
+    if (variable_get('gsitemap_moreover_com_submit', FALSE)) {
+      $result = drupal_http_request(variable_get('gsitemap_moreover_com_url', 'http://api.moreover.com/ping?u='. url('sitemap.xml', NULL, NULL, TRUE)));
+      if ($result->code == 200) {
+        watchdog('gsitemap', t('Site map successfully submitted to Moreover.'));
+      }
+      else {
+        watchdog('gsitemap', t('Error occurred submitting site map to Moreover: @code', array('@code' => $result->code)), WATCHDOG_ERROR);
+      }
+    }
     variable_set('gsitemap_changed', FALSE);
   }
 }
