Commit 844a2ea7 authored by Earnie Boyd's avatar Earnie Boyd

#558358 Failure to submit sitemaps.

parent a6952343
$Id$
XML sitemap 6.x-1, 2009-08-24
-----------------------------------
#558358 Failure to submit sitemaps.
XML sitemap 6.x-1, 2009-08-24
-----------------------------------
#557926 Update INSTALL.txt for official release.
......
......@@ -30,6 +30,7 @@ UPGRADING INSTRUCTIONS
-- xmlsitemap-5.x-1.6 to xmlsitemap-6.x-1.0-rc1:
-- xmlsitemap-5.x-1.6 to xmlsitemap-6.x-1.0-rc2:
-- xmlsitemap-5.x-1.6 to xmlsitemap-6.x-1.0:
-- xmlsitemap-5.x-1.6 to xmlsitemap-6.x-1.1:
1) Deactivate all the xmlsitemap modules at admin/build/modules.
......@@ -49,6 +50,7 @@ UPGRADING INSTRUCTIONS
-- xmlsitemap-5.x-2.x-dev to xmlsitemap-6.x-1.0-rc1:
-- xmlsitemap-5.x-2.x-dev to xmlsitemap-6.x-1.0-rc2:
-- xmlsitemap-5.x-2.x-dev to xmlsitemap-6.x-1.0:
-- xmlsitemap-5.x-2.x-dev to xmlsitemap-6.x-1.1:
1) Deactive all the xmlsitemap modules at admin/build/modules.
......@@ -68,6 +70,7 @@ UPGRADING INSTRUCTIONS
-- xmlsitemap-6.x-1.x-beta[012345] to xmlsitemap-6.x-1.0-rc1:
-- xmlsitemap-6.x-1.x-beta[012345] to xmlsitemap-6.x-1.0-rc2:
-- xmlsitemap-6.x-1.x-beta[012345] to xmlsitemap-6.x-1.0:
-- xmlsitemap-6.x-1.x-beta[012345] to xmlsitemap-6.x-1.1:
1) Deactive all the xmlsitemap modules at admin/build/modules.
......@@ -95,9 +98,12 @@ UPGRADING INSTRUCTIONS
-- xmlsitemap-6.x-1.0-beta6 to xmlsitemap-6.x-1.0-rc1:
-- xmlsitemap-6.x-1.0-beta6 to xmlsitemap-6.x-1.0-rc2:
-- xmlsitemap-6.x-1.0-beta6 to xmlsitemap-6.x-1.0:
-- xmlsitemap-6.x-1.0-beta6 to xmlsitemap-6.x-1.1:
-- xmlsitemap-6.x-1.0-rc1 to xmlsitemap-6.x-1.0-rc2:
-- xmlsitemap-6.x-1.0-rc1 to xmlsitemap-6.x-1.0:
-- xmlsitemap-6.x-1.0-rc1 to xmlsitemap-6.x-1.1:
-- xmlsitemap-6.x-1.0-rc2 to xmlsitemap-6.x-1.0:
-- xmlsitemap-6.x-1.0-rc2 to xmlsitemap-6.x-1.1:
1) Deactive all the xmlsitemap modules at admin/build/modules.
......
......@@ -63,7 +63,7 @@ function xmlsitemap_engines_settings() {
'#type' => 'textfield',
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder as placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#default_value' => variable_get('xmlsitemap_engines_ask_url', 'http://submissions.ask.com/ping?sitemap=[sitemap]'),
'#value' => variable_get('xmlsitemap_engines_ask_url', 'http://submissions.ask.com/ping?sitemap=[sitemap]'),
'#disabled' => TRUE,
);
// Google fields.
......@@ -82,7 +82,7 @@ function xmlsitemap_engines_settings() {
'#type' => 'textfield',
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#default_value' => variable_get('xmlsitemap_engines_google_url', 'http://www.google.com/webmasters/tools/ping?sitemap=[sitemap]'),
'#value' => variable_get('xmlsitemap_engines_google_url', 'http://www.google.com/webmasters/tools/ping?sitemap=[sitemap]'),
'#disabled' => TRUE,
);
$form['google']['xmlsitemap_engines_google_verify'] = array(
......@@ -107,7 +107,7 @@ function xmlsitemap_engines_settings() {
'#type' => 'textfield',
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#default_value' => variable_get('xmlsitemap_engines_moreover_url', 'http://api.moreover.com/ping?u=[sitemap]'),
'#value' => variable_get('xmlsitemap_engines_moreover_url', 'http://api.moreover.com/ping?u=[sitemap]'),
'#disabled' => TRUE,
);
// Bing fields.
......@@ -126,7 +126,7 @@ function xmlsitemap_engines_settings() {
'#type' => 'textfield',
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#default_value' => variable_get('xmlsitemap_engines_bing_url', 'http://www.bing.com/webmaster/ping.aspx?siteMap=[sitemap]'),
'#value' => variable_get('xmlsitemap_engines_bing_url', 'http://www.bing.com/webmaster/ping.aspx?siteMap=[sitemap]'),
'#disabled' => TRUE,
);
$form['bing']['xmlsitemap_engines_bing_verify'] = array(
......@@ -157,7 +157,7 @@ function xmlsitemap_engines_settings() {
'#type' => 'textfield',
'#title' => t('Submission URL'),
'#description' => t('The URL to submit the sitemap to. Use %placeholder like placeholder for the sitemap URL.', array('%placeholder' => '[sitemap]')),
'#default_value' => variable_get('xmlsitemap_engines_yahoo_url', 'http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=[sitemap]'),
'#value' => variable_get('xmlsitemap_engines_yahoo_url', 'http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=[sitemap]'),
'#disabled' => TRUE,
);
$form['yahoo']['xmlsitemap_engines_yahoo_verify'] = array(
......
......@@ -117,6 +117,24 @@ function xmlsitemap_engines_update_6109() {
return $ret;
}
function xmlsitemap_engines_update_6110() {
$variables = array(
'ask_url' => 'http://submissions.ask.com/ping?sitemap=[sitemap]',
'google_url' => 'http://www.google.com/webmasters/tools/ping?sitemap=[sitemap]',
'moreover_url' => 'http://api.moreover.com/ping?u=[sitemap]',
'bing_url' => 'http://www.bing.com/webmaster/ping.aspx?siteMap=[sitemap]',
'yahoo_url' => 'http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=[sitemap]',
);
foreach ($variables as $variable => $value) {
variable_set('xmlsitemap_engines_'. $variable, $value);
}
$ret[] = array(
'success' => TRUE,
'query' => 'Updated the module settings successfully.',
);
return $ret;
}
/**
* Implementation of hook_uninstall().
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment