| 1 |
<?php |
<?php |
| 2 |
// $Id: xmlsitemap_engines.module,v 1.1.2.8 2008/06/02 14:31:33 darrenoh Exp $ |
// $Id: xmlsitemap_engines.module,v 1.1.2.9 2009/09/28 21:52:22 davereid Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file Define actions for Google, Yahoo!, Ask, and Bing. |
* @file Define actions for Google, Yahoo!, Ask, and Bing. |
| 266 |
function _xmlsitemap_engines_verify($engine) { |
function _xmlsitemap_engines_verify($engine) { |
| 267 |
switch ($engine) { |
switch ($engine) { |
| 268 |
case 'google': |
case 'google': |
| 269 |
print '<html>'."\n"; |
print 'google-site-verification: ' . variable_get('xmlsitemap_engines_google_verify', ''); |
|
print ' <head>'."\n"; |
|
|
print ' <title>Hello, Google!</title>'."\n"; |
|
|
print ' </head>'."\n"; |
|
|
print ' <body>'."\n"; |
|
|
print ' <p>Hello, Google!</p>'."\n"; |
|
|
print ' </body>'."\n"; |
|
|
print '</html>'."\n"; |
|
| 270 |
break; |
break; |
| 271 |
case 'yahoo': |
case 'yahoo': |
| 272 |
print variable_get('xmlsitemap_engines_yahoo_verify_string', ''); |
print variable_get('xmlsitemap_engines_yahoo_verify_string', ''); |