[ 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/xmlsrv/ -> atom.php (source)

   1  <?php
   2  /**

   3   * This file is a stub file for displaying a blog, using an Atom skin.

   4   *

   5   * This file will set some display parameters and then let b2evolution handle

   6   * the display by calling an evoSkin. (skins are in the /skins folder.)

   7   *

   8   * Note: You only need to use this stub file for advanced use of b2evolution.

   9   * Most of the time, calling your blog through index.php will be enough.

  10   *

  11   * b2evolution - {@link http://b2evolution.net/}

  12   * Released under GNU GPL License - {@link http://b2evolution.net/about/license.html}

  13   * @copyright (c)2003-2007 by Francois PLANQUE - {@link http://fplanque.net/}

  14   *

  15   * @package xmlsrv

  16   */
  17  
  18  # We're not forcing a specific blog here, but we tell b2evo to expect

  19  # a blog in the URL params:

  20  $resolve_extra_path = false;    // We don't want extra path resolution on this page

  21  
  22  # Let's force the use of the RSS skin:

  23  $tempskin = '_atom';
  24  
  25  # This setting retricts posts to those published, thus hiding drafts.

  26  # You should not have to change this.

  27  $show_statuses = array();
  28  
  29  # Here you can set a limit before which posts will be ignored

  30  # You can use a unix timestamp value or 'now' which will hide all posts in the past

  31  $timestamp_min = '';
  32  
  33  # Here you can set a limit after which posts will be ignored

  34  # You can use a unix timestamp value or 'now' which will hide all posts in the future

  35  $timestamp_max = 'now';
  36  
  37  /**

  38   * That's it, now let b2evolution do the rest! :)

  39   */
  40  require_once dirname(__FILE__).'/../conf/_config.php';
  41  
  42  require $inc_path.'_blog_main.inc.php';
  43  ?>


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