Clean feed and trackback URLs.

git-svn-id: https://develop.svn.wordpress.org/trunk@836 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2004-02-05 20:55:50 +00:00
parent be109e5ac0
commit 6ebd3ca6c0
12 changed files with 143 additions and 24 deletions

View File

@@ -1,8 +1,12 @@
<?php
$blog = 1;
$doing_rss = 1;
if (! $feed) {
$blog = 1;
$doing_rss = 1;
require('wp-blog-header.php');
}
header('Content-type: application/atom+xml', true);
require('wp-blog-header.php');
if (!isset($rss_language)) { $rss_language = 'en'; }
if (!isset($rss_encoded_html)) { $rss_encoded_html = 0; }
if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_length = 0; }