I have downloaded the latest version of the Google Sitemaps Module and uploaded the unpacked folder (named googlesitemaps) into the www folder.
I have then created a new folder under mysite called _config into which I have placed a file googlesitemaps.yml with the following content:
---
Name: customgooglesitemaps
After: googlesitemaps
---
GoogleSitemap:
enabled: true
objects_per_sitemap: 1000
google_notification_enabled: true
use_show_in_search: true
I have succesfully run /dev/build and rebuilt the database but upon visiting www.mysite.co.uk/sitemap.xml I get the following error:
XML Parsing Error: mismatched tag. Expected: </base>.
Location: http://www.mysite.co.uk/sitemap.xml
Line Number 11, Column 3:
</head>
--^
Am I missing something?
Addition: I have since attempted to run /dev/build and I now get the following error:
Fatal error: Uncaught exception 'InvalidArgumentException' with message 'Unable to parse line 1 (---).' in /home/ardenhou/public_html/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/thirdparty/sfYaml/lib/sfYamlParser.php:265 Stack trace: #0 /home/ardenhou/public_html/framework/core/manifest/ConfigManifest.php(211): sfYamlParser->parse('???---?Name: cu...') #1 [internal function]: SS_ConfigManifest->addYAMLConfigFile('googlesitemaps....', '/home/ardenhou/...', 2) #2 /home/ardenhou/public_html/framework/filesystem/FileFinder.php(158): call_user_func(Array, 'googlesitemaps....', '/home/ardenhou/...', 2) #3 /home/ardenhou/public_html/framework/core/manifest/ConfigManifest.php(141): SS_FileFinder->find('/home/ardenhou/...') #4 /home/ardenhou/public_html/framework/core/manifest/ConfigManifest.php(75): SS_ConfigManifest->regenerate(false) #5 /home/ardenhou/public_html/framework/core/Core.php(275): SS_ConfigManifest->__construct('/home/ardenhou/...', false, true) #6 /home/ardenhou/public_html/framework/ in /home/ardenhou/public_html/framework/thirdparty/zend_translate_railsyaml/library/Translate/Adapter/thirdparty/sfYaml/lib/sfYamlParser.php on line 265