b2evolution PHP Cross Reference Blogging Systems

Source: /sitemap_a.php - 24 lines - 739 bytes - Summary - Text - Print

Description: Experimental Sitemap Stub for a SINGLE BLOG

   1  <?php
   2  /**
   3   * Experimental Sitemap Stub for a SINGLE BLOG
   4   *
   5   * It seems that Google won't index a sitemap with a ? in it. So you need a stub.
   6   */
   7  require_once dirname(__FILE__).'/conf/_config.php';
   8  
   9  # First, select which blog you want to map
  10  # You can find these numbers in the back-office under the Blogs section.
  11  # You can also create new blogs over there. If you do, you may duplicate this file for the new blog.
  12  $blog = 1;
  13  
  14  # Let's force the use of the sitemap skin:
  15  $tempskin = '_sitemap';
  16  
  17  # Sitemap spec requires UTF-8, so let's force all outputs to UTF-8:
  18  $force_io_charset_if_accepted = 'utf-8';
  19  
  20  // We don't want _blog_main to try any extra path resolution
  21  $resolve_extra_path = false;
  22  
  23  require $inc_path.'_blog_main.inc.php';
  24  ?>

title

Description

title

Description

title

Description

title

title

Body