This plug-in can't do Bing on two sites. Can you fix the plug-in please? Thanks.
Glen Charles Rowell
http://a4jp.com
http://wordpress.org/extend/plugins/google-sitemap-generator/
This plug-in can't do Bing on two sites. Can you fix the plug-in please? Thanks.
Glen Charles Rowell
http://a4jp.com
http://wordpress.org/extend/plugins/google-sitemap-generator/
Bad localization, as usual with this plugin.
In wp-content/plugins/google-sitemap-generator/sitemap-core.php, line 2232,
if($pingres==NULL || $pingres===false || strpos($pingres,"Thanks for submitting your sitemap")===false) {
varies by country. For exemple, in France, "Thanks for submitting your sitemap" is "Merci d'avoir envoye...
Turnaround :
if( $pingres==NULL || $pingres===false || (stripos($pingres,"Thanks")===false && stripos($pingres,"Merci")===false) )
Just add the translation of "Thanks" in your language instead of "Merci".
Note that I replaced strpos by stripos to be case-insensitive.
Enjoy,
Gerard
Unfortunately Bing always responds by getting the country by IP address. There is now way to force Bing to reply in English :-(
The new beta version doesn't do this check anymore:
http://www.arnebrachhold.de/redir/sitemap-dl-beta/
@Gerhard: "as usual with this plugin", what other localization problems do you have?
You must log in to post.