Make WordPress Core

Changeset 1358 for trunk/wp-rss.php


Ignore:
Timestamp:
05/24/2004 06:24:12 PM (22 years ago)
Author:
michelvaldrighi
Message:

some cleanups, and a quick undefined variable fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-rss.php

    r1337 r1358  
    1 <?php /* These first lines are the first part of a CafeLog template.
    2          In every template you do, you got to copy them before the CafeLog 'loop' */
    3 if (! $feed) {
    4     $blog = 1; // enter your blog's ID
     1<?php
     2
     3if (!isset($feed) || !$feed) {
     4    $blog = 1;
    55    $doing_rss = 1;
    66    require('wp-blog-header.php');
     
    88
    99header('Content-type: text/xml', true);
     10$more = 1;
    1011
    1112?>
     
    2425            <title><?php the_title_rss() ?></title>
    2526<?php
    26 // we might use this in the future, but not now, that's why it's commented in PHP
    27 // so that it doesn't appear at all in the RSS
    28 //          echo "<category>"; the_category_unicode(); echo "</category>";
    29 $more = 1;
    3027if (get_settings('rss_use_excerpt')) {
    3128?>
Note: See TracChangeset for help on using the changeset viewer.