Make WordPress Core

Changeset 836 for trunk/wp-rss.php


Ignore:
Timestamp:
02/05/2004 08:55:50 PM (21 years ago)
Author:
rboren
Message:

Clean feed and trackback URLs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-rss.php

    r724 r836  
    11<?php /* These first lines are the first part of a CafeLog template.
    22         In every template you do, you got to copy them before the CafeLog 'loop' */
    3 $blog = 1; // enter your blog's ID
    4 $doing_rss = 1;
     3if (! $feed) {
     4    $blog = 1; // enter your blog's ID
     5    $doing_rss = 1;
     6    require('wp-blog-header.php');
     7}
     8
    59header('Content-type: text/xml', true);
    6 require('wp-blog-header.php');
    710
    811/* This doesn't take into account edits
Note: See TracChangeset for help on using the changeset viewer.