b2evolution PHP Cross Reference Blogging Systems

Source: /sitemap_blogs.php - 27 lines - 890 bytes - Summary - Text - Print

Description: Experimental Sitemap Stub FOR A BLOG AGGREGATION

   1  <?php
   2  /**
   3   * Experimental Sitemap Stub FOR A BLOG AGGREGATION
   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  # We want to include all posts, even those not primarily linked to blog #1
  14  # i-e even those aggregated through an extra cat:
  15  $cat_focus = 'wide';
  16  
  17  # Let's force the use of the sitemap skin:
  18  $tempskin = '_sitemap';
  19  
  20  # Sitemap spec requires UTF-8, so let's force all outputs to UTF-8:
  21  $force_io_charset_if_accepted = 'utf-8';
  22  
  23  // We don't want _blog_main to try any extra path resolution
  24  $resolve_extra_path = false;
  25  
  26  require $inc_path.'_blog_main.inc.php';
  27  ?>

title

Description

title

Description

title

Description

title

title

Body