Changeset 624 for trunk/wp-rss2.php
- Timestamp:
- 12/18/2003 08:58:07 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-rss2.php
r601 r624 5 5 require('wp-blog-header.php'); 6 6 7 /* This doesn't take into account edits 7 8 // Get the time of the most recent article 8 9 $maxdate = $wpdb->get_var("SELECT max(post_date) FROM $tableposts"); … … 16 17 header("Last-Modified: " . $clast, true); 17 18 header("Etag: " . $cetag, true); 19 */ 18 20 19 21 if (!isset($rss_language)) { $rss_language = 'en'; } … … 21 23 if (!isset($rss_excerpt_length) || ($rss_encoded_html == 1)) { $rss_excerpt_length = 0; } 22 24 ?> 23 <?php echo "<?xml version=\"1.0\"?".">"; ?>25 <?php echo '<?xml version="1.0"?'.'>'; ?> 24 26 <!-- generator="wordpress/<?php echo $b2_version ?>" --> 25 27 <rss version="2.0" … … 27 29 28 30 <channel> 29 <title><?php bloginfo_rss( "name") ?></title>30 <link><?php bloginfo_rss( "url") ?></link>31 <title><?php bloginfo_rss('name') ?></title> 32 <link><?php bloginfo_rss('url') ?></link> 31 33 <description><?php bloginfo_rss("description") ?></description> 32 34 <language><?php echo $rss_language ?></language> … … 42 44 <pubDate><?php the_time('r'); ?></pubDate> 43 45 <author><?php the_author() ?> (mailto:<?php the_author_email() ?>)</author> 44 < category><?php the_category_rss() ?></category>46 <?php the_category_rss() ?> 45 47 <guid isPermaLink="false"><?php echo $id; ?>@<?php bloginfo_rss("url") ?></guid> 46 48 <?php $more = 1; if ($rss_use_excerpt) {
Note: See TracChangeset
for help on using the changeset viewer.