[geeklog-hg] geeklog: Dropped support for Ask.com (which no longer accepts pi...
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Fri Mar 7 16:32:18 EST 2014
changeset 9510:bc8d6c6257da
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/bc8d6c6257da
user: Kenji ITO <mystralkk at gmail.com>
date: Fri Mar 07 08:46:27 2014 +0900
description:
Dropped support for Ask.com (which no longer accepts ping) in XMLSitemap plugin
diffstat:
plugins/xmlsitemap/configuration_validation.php | 1 -
plugins/xmlsitemap/functions.inc | 4 ----
plugins/xmlsitemap/install_defaults.php | 2 --
plugins/xmlsitemap/install_updates.php | 2 --
plugins/xmlsitemap/language/english.php | 1 -
plugins/xmlsitemap/language/english_utf-8.php | 1 -
plugins/xmlsitemap/language/japanese_utf-8.php | 1 -
plugins/xmlsitemap/xmlsitemap.class.php | 11 +++--------
public_html/docs/english/xmlsitemap.html | 5 -----
public_html/docs/japanese/xmlsitemap.html | 5 -----
10 files changed, 3 insertions(+), 30 deletions(-)
diffs (143 lines):
diff -r 09621c3fcdb0 -r bc8d6c6257da plugins/xmlsitemap/configuration_validation.php
--- a/plugins/xmlsitemap/configuration_validation.php Sat Mar 01 22:15:42 2014 +0900
+++ b/plugins/xmlsitemap/configuration_validation.php Fri Mar 07 08:46:27 2014 +0900
@@ -57,6 +57,5 @@
// Ping target
$_CONF_VALIDATE['xmlsitemap']['ping_google'] = array('rule' => 'boolean');
$_CONF_VALIDATE['xmlsitemap']['ping_bing'] = array('rule' => 'boolean');
-$_CONF_VALIDATE['xmlsitemap']['ping_ask'] = array('rule' => 'boolean');
?>
diff -r 09621c3fcdb0 -r bc8d6c6257da plugins/xmlsitemap/functions.inc
--- a/plugins/xmlsitemap/functions.inc Sat Mar 01 22:15:42 2014 +0900
+++ b/plugins/xmlsitemap/functions.inc Fri Mar 07 08:46:27 2014 +0900
@@ -298,10 +298,6 @@
$pingTargets[] = 'bing';
}
- if (isset($_XMLSMAP_CONF['ping_ask']) && $_XMLSMAP_CONF['ping_ask']) {
- $pingTargets[] = 'ask';
- }
-
if (count($pingTargets) > 0) {
$sitemap->sendPing($pingTargets);
}
diff -r 09621c3fcdb0 -r bc8d6c6257da plugins/xmlsitemap/install_defaults.php
--- a/plugins/xmlsitemap/install_defaults.php Sat Mar 01 22:15:42 2014 +0900
+++ b/plugins/xmlsitemap/install_defaults.php Fri Mar 07 08:46:27 2014 +0900
@@ -132,8 +132,6 @@
3, 1, 100, true, $me, 3);
$c->add('ping_bing', $_XMLSMAP_DEFAULT['ping_bing'], 'select', 0,
3, 1, 110, true, $me, 3);
- $c->add('ping_ask', $_XMLSMAP_DEFAULT['ping_ask'], 'select', 0,
- 3, 1, 120, true, $me, 3);
}
return true;
diff -r 09621c3fcdb0 -r bc8d6c6257da plugins/xmlsitemap/install_updates.php
--- a/plugins/xmlsitemap/install_updates.php Sat Mar 01 22:15:42 2014 +0900
+++ b/plugins/xmlsitemap/install_updates.php Fri Mar 07 08:46:27 2014 +0900
@@ -34,8 +34,6 @@
3, 1, 100, true, $me, 3);
$c->add('ping_bing', $_XMLSMAP_DEFAULT['ping_bing'], 'select', 0,
3, 1, 110, true, $me, 3);
- $c->add('ping_ask', $_XMLSMAP_DEFAULT['ping_ask'], 'select', 0,
- 3, 1, 120, true, $me, 3);
}
?>
diff -r 09621c3fcdb0 -r bc8d6c6257da plugins/xmlsitemap/language/english.php
--- a/plugins/xmlsitemap/language/english.php Sat Mar 01 22:15:42 2014 +0900
+++ b/plugins/xmlsitemap/language/english.php Fri Mar 07 08:46:27 2014 +0900
@@ -53,7 +53,6 @@
'frequencies' => '',
'ping_google' => 'Send ping to Google',
'ping_bing' => 'Send ping to Bing',
- 'ping_ask' => 'Send ping to Ask',
);
$LANG_configsubgroups['xmlsitemap'] = array(
diff -r 09621c3fcdb0 -r bc8d6c6257da plugins/xmlsitemap/language/english_utf-8.php
--- a/plugins/xmlsitemap/language/english_utf-8.php Sat Mar 01 22:15:42 2014 +0900
+++ b/plugins/xmlsitemap/language/english_utf-8.php Fri Mar 07 08:46:27 2014 +0900
@@ -53,7 +53,6 @@
'frequencies' => '',
'ping_google' => 'Send ping to Google',
'ping_bing' => 'Send ping to Bing',
- 'ping_ask' => 'Send ping to Ask',
);
$LANG_configsubgroups['xmlsitemap'] = array(
diff -r 09621c3fcdb0 -r bc8d6c6257da plugins/xmlsitemap/language/japanese_utf-8.php
--- a/plugins/xmlsitemap/language/japanese_utf-8.php Sat Mar 01 22:15:42 2014 +0900
+++ b/plugins/xmlsitemap/language/japanese_utf-8.php Fri Mar 07 08:46:27 2014 +0900
@@ -49,7 +49,6 @@
'frequencies' => '',
'ping_google' => 'Googleã«pingãéä¿¡ãã',
'ping_bing' => 'Bingã«pingãéä¿¡ãã',
- 'ping_ask' => 'Askã«pingãéä¿¡ãã',
);
$LANG_configsubgroups['xmlsitemap'] = array(
diff -r 09621c3fcdb0 -r bc8d6c6257da plugins/xmlsitemap/xmlsitemap.class.php
--- a/plugins/xmlsitemap/xmlsitemap.class.php Sat Mar 01 22:15:42 2014 +0900
+++ b/plugins/xmlsitemap/xmlsitemap.class.php Fri Mar 07 08:46:27 2014 +0900
@@ -554,7 +554,7 @@
*
* @param array of string $destinations an array of search engine
* types. Currently supported are
- * 'google', 'bing' and 'ask'.
+ * 'google' and 'bing'.
* @return int the number of successful pings
*/
public function sendPing(array $destinations)
@@ -601,17 +601,12 @@
switch ($dest) {
case 'google':
- $url = 'http://www.google.com/webmasters/tools/ping?sitemap='
+ $url = 'www.google.com/webmasters/tools/ping?sitemap='
. urlencode($sitemap);
break;
case 'bing':
- $url = 'http://www.bing.com/webmaster/ping.aspx?sitemap='
- . urlencode($sitemap);
- break;
-
- case 'ask':
- $url = 'http://submissions.ask.com/ping?sitemap='
+ $url = 'http://www.bing.com/ping?sitemap='
. urlencode($sitemap);
break;
diff -r 09621c3fcdb0 -r bc8d6c6257da public_html/docs/english/xmlsitemap.html
--- a/public_html/docs/english/xmlsitemap.html Sat Mar 01 22:15:42 2014 +0900
+++ b/public_html/docs/english/xmlsitemap.html Fri Mar 07 08:46:27 2014 +0900
@@ -92,11 +92,6 @@
<td>True</td>
<td>If you set this to true, the XMLSitemap plugin will automatically inform Bing crawlers when you update contents.</td>
</tr>
-<tr>
- <td><a name="desc_ping_ask">ping_ask</a></td>
- <td>True</td>
- <td>If you set this to true, the XMLSitemap plugin will automatically inform Ask crawlers when you update contents.</td>
-</tr>
</table>
<div class="footer">
diff -r 09621c3fcdb0 -r bc8d6c6257da public_html/docs/japanese/xmlsitemap.html
--- a/public_html/docs/japanese/xmlsitemap.html Sat Mar 01 22:15:42 2014 +0900
+++ b/public_html/docs/japanese/xmlsitemap.html Fri Mar 07 08:46:27 2014 +0900
@@ -92,11 +92,6 @@
<td>ããã</td>
<td>ãã¯ããã«è¨å®ããã¨ãã³ã³ãã³ããæ´æ°ãããã³ã«XMLSitemapãã©ã°ã¤ã³ã¯Bingã®æ¤ç´¢ã¨ã³ã¸ã³ã«ãµã¤ãããããã¡ã¤ã«ã®æ´æ°ãéç¥ãã¾ãã</td>
</tr>
-<tr>
- <td><a name="desc_ping_ask">Askã«pingãéä¿¡ãã(ping_ask)</a></td>
- <td>ããã</td>
- <td>ãã¯ããã«è¨å®ããã¨ãã³ã³ãã³ããæ´æ°ãããã³ã«XMLSitemapãã©ã°ã¤ã³ã¯Askã®æ¤ç´¢ã¨ã³ã¸ã³ã«ãµã¤ãããããã¡ã¤ã«ã®æ´æ°ãéç¥ãã¾ãã</td>
-</tr>
</table>
<div class="footer">
More information about the geeklog-cvs
mailing list