/[drupal]/contributions/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.module
ViewVC logotype

Diff of /contributions/modules/xmlsitemap/xmlsitemap_engines/xmlsitemap_engines.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.5.2.11, Sat Dec 27 15:09:20 2008 UTC revision 1.5.2.12, Thu Jan 1 16:06:27 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: xmlsitemap_engines.module,v 1.5.2.10 2008/12/24 18:25:49 kiam Exp $  // $Id: xmlsitemap_engines.module,v 1.5.2.11 2008/12/27 15:09:20 kiam Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 196  function xmlsitemap_engines_xmlsitemap_e Line 196  function xmlsitemap_engines_xmlsitemap_e
196  }  }
197    
198  /*****************************************************************************  /*****************************************************************************
199     * Menu callbaks / Form builders.
200     ****************************************************************************/
201    
202    /**
203     * Menu callback; display the verification page.
204     */
205    function xmlsitemap_engines_verify($engine) {
206      switch ($engine) {
207        case 'google':
208          print '<html>'."\n";
209          print '  <head>'."\n";
210          print '    <title>Hello, Google!</title>'."\n";
211          print '  </head>'."\n";
212          print '  <body>'."\n";
213          print '    <p>Hello, Google!</p>'."\n";
214          print '  </body>'."\n";
215          print '</html>'."\n";
216          break;
217        case 'yahoo':
218          print variable_get('xmlsitemap_engines_yahoo_verify_string', '');
219          break;
220        case 'live':
221          print '<?xml version="1.0"?>'."\n";
222          print "<users>\n";
223          print '    <user>'. variable_get('xmlsitemap_engines_live_verify_string', '') ."</user>\n";
224          print "</users>\n";
225          break;
226      }
227      drupal_page_footer();
228      exit;
229    }
230    
231    /*****************************************************************************
232   * Public functions.   * Public functions.
233   ****************************************************************************/   ****************************************************************************/
234    

Legend:
Removed from v.1.5.2.11  
changed lines
  Added in v.1.5.2.12

  ViewVC Help
Powered by ViewVC 1.1.2