Make WordPress Core

Changeset 2627 for trunk/wp-rdf.php


Ignore:
Timestamp:
06/10/2005 11:15:13 PM (20 years ago)
Author:
ryan
Message:

Break blog header up into functional chunks. Stick it all in a WP class for now. Make wp() the front door. Move template/theme loader code into template-loader.php. Clean up feed file loadup. Modularize.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-rdf.php

    r2625 r2627  
    11<?php /* RDF 1.0 generator, original version by garym@teledyn.com */
    22
    3 if (empty($feed)) {
    4     $blog = 1; // enter your blog's ID
    5         $feed = 'rdf';
    6     $doing_rss = 1;
    7     require('wp-blog-header.php');
     3if (empty($wp)) {
     4    require_once('wp-config.php');
     5    wp('feed=rdf');
    86}
    97
Note: See TracChangeset for help on using the changeset viewer.