[ Index ]
 

Code source de b2evolution 2.1.0-beta

Accédez au Source d'autres logiciels libres

Classes | Fonctions | Variables | Constantes | Tables

title

Body

[fermer]

/blogs/ -> sitemap_a.php (source)

   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  ?>


Généré le : Thu Nov 29 23:58:50 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics