Changeset 1358
- Timestamp:
- 05/24/2004 06:24:12 PM (22 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
wp-atom.php (modified) (1 diff)
-
wp-rdf.php (modified) (1 diff)
-
wp-rss.php (modified) (3 diffs)
-
wp-rss2.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-atom.php
r1356 r1358 1 <?php 2 if (! $feed) { 1 <?php 2 3 if (!isset($feed) || !$feed) { 3 4 $blog = 1; 4 5 $doing_rss = 1; -
trunk/wp-rdf.php
r1319 r1358 1 1 <?php /* RDF 1.0 generator, original version by garym@teledyn.com */ 2 if (! $feed) { 2 3 if (!isset($feed) || !$feed) { 3 4 $blog = 1; // enter your blog's ID 4 5 $doing_rss = 1; 5 6 require('wp-blog-header.php'); 6 7 } 7 $more = 1;8 8 9 9 header('Content-type: application/rdf+xml', true); 10 $more = 1; 10 11 11 12 add_filter('the_content', 'trim'); -
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 ID1 <?php 2 3 if (!isset($feed) || !$feed) { 4 $blog = 1; 5 5 $doing_rss = 1; 6 6 require('wp-blog-header.php'); … … 8 8 9 9 header('Content-type: text/xml', true); 10 $more = 1; 10 11 11 12 ?> … … 24 25 <title><?php the_title_rss() ?></title> 25 26 <?php 26 // we might use this in the future, but not now, that's why it's commented in PHP27 // so that it doesn't appear at all in the RSS28 // echo "<category>"; the_category_unicode(); echo "</category>";29 $more = 1;30 27 if (get_settings('rss_use_excerpt')) { 31 28 ?> -
trunk/wp-rss2.php
r1339 r1358 1 <?php 2 if (!isset($feed)) { 1 <?php 2 3 if (!isset($feed) || !$feed) { 3 4 $blog = 1; 4 5 $doing_rss = 1; 5 6 require('wp-blog-header.php'); 6 7 } 8 9 header('Content-type: text/xml', true); 7 10 $more = 1; 8 $charset = get_settings('blog_charset');9 if (!$charset) $charset = 'UTF-8';10 header('Content-type: text/xml', true);11 11 12 12 ?> 13 <?php echo '<?xml version="1.0" encoding="' . $charset .'"?'.'>'; ?>13 <?php echo '<?xml version="1.0" encoding="'.get_settings('blog_charset').'"?'.'>'; ?> 14 14 15 15 <!-- generator="wordpress/<?php echo $wp_version ?>" -->
Note: See TracChangeset
for help on using the changeset viewer.