From 3a3de779af9b5b13fc846dbd1d0dc8f1764c9ccb Mon Sep 17 00:00:00 2001 From: Kirk Mayo Date: Fri, 24 Apr 2015 11:52:29 +1200 Subject: [PATCH] Updated out of date info on notifying Google --- code/GoogleSitemap.php | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/code/GoogleSitemap.php b/code/GoogleSitemap.php index 02b8ba9..9fe456f 100644 --- a/code/GoogleSitemap.php +++ b/code/GoogleSitemap.php @@ -16,10 +16,21 @@ * By default, Google is not notified, and will pick up your new * sitemap whenever the GoogleBot visits your website. * - * Enabling notification of Google after every publish (in your _config.php): + * To Enable notification of Google after every publish set google_notification_enabled + * to true in the googlesitemaps.yml config file. + * This file is usually located in the _config folder of your project folder. + * e.g mysite/_config/googlesitemaps.yml * * - * GoogleSitemap::enable_google_notificaton(); + * --- + * Name: customgooglesitemaps + * After: googlesitemaps + * --- + * GoogleSitemap: + * enabled: true + * objects_per_sitemap: 1000 + * google_notification_enabled: true + * use_show_in_search: true * * * @see http://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=34609