Closed nickspiel closed 10 years ago
I think it would bebetter to implement this in GoogleSiteMap:: get_frequency_for_class
. This means anyone calling that method gets the correct value, otherwise it only works if being called from the extension.
Also, what if you wanted a default change frequency, but wanted to set one class to a different value? Wouldn't it be better to make this global config a fallback rather than an override?
I agree, will move it into GoogleSiteMap:: get_frequency_for_class
and make it a fallback. Will update and resubmit.
Added a configuration option to override calculated change frequency on all instances.