neounix
Customer
Hey!
Do you mind to add a hook in class_sitemap.php after this code:
So we can also override the $sitemap_filename_prefix = 'dbseo_sitemap_' and the $sitemap_index_filename = 'dbseo_sitemap_index' variables to help us with our multiple sitemap code?
Also, that hook location could be used to add future search engines to ping as well
Thanks.
Do you mind to add a hook in class_sitemap.php after this code:
PHP:
/**
* Default name for sitemap files, which is prepended by the sitemap file count
*
* @var string
*/
private $sitemap_filename_prefix = 'dbseo_sitemap_';
const FLAG_PING_GOOGLE = 0x1;
const FLAG_PING_LIVE_SEARCH = 0x2;
const FLAG_PING_YAHOO = 0x4;
const FLAG_PING_ASK = 0x8;
const FLAG_PING_MOREOVER = 0x10;
const FLAG_PING_BING = 0x20;
/**
* Array of search engine urls' for sitemap call back, populated with defaults from options
*
* @var array
*/
public $search_engines = array(
self::FLAG_PING_GOOGLE => 'http://www.google.com/webmasters/sitemaps/ping?sitemap=',
//self::FLAG_PING_LIVE_SEARCH => 'http://webmaster.live.com/ping.aspx?siteMap=',
self::FLAG_PING_YAHOO => 'http://search.yahooapis.com/SiteExplorerService/V1/ping?sitemap=',
self::FLAG_PING_ASK => 'http://submissions.ask.com/ping?sitemap=',
self::FLAG_PING_MOREOVER => 'http://api.moreover.com/ping?u=',
self::FLAG_PING_BING => 'http://www.bing.com/ping?sitemap=',
);
So we can also override the $sitemap_filename_prefix = 'dbseo_sitemap_' and the $sitemap_index_filename = 'dbseo_sitemap_index' variables to help us with our multiple sitemap code?
Also, that hook location could be used to add future search engines to ping as well

Thanks.
Upvote
0