[wp-cvs] wordpress wp-atom.php,1.17,1.18 wp-rss.php,1.22,1.23

Matthew Mullenweg saxmatt at users.sourceforge.net
Mon Jan 24 07:33:52 GMT 2005


Update of /cvsroot/cafelog/wordpress
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32638

Modified Files:
	wp-atom.php wp-rss.php 
Log Message:
Feed escaping fixes to other feeds - http://mosquito.wordpress.org/view.php?id=720

Index: wp-atom.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-atom.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -d -r1.17 -r1.18
*** wp-atom.php	9 Jan 2005 02:19:30 -0000	1.17
--- wp-atom.php	24 Jan 2005 07:33:50 -0000	1.18
***************
*** 33,37 ****
  		<issued>  <?php the_time('Y-m-d\TH:i:s\Z'); ?></issued>
  		<?php the_category_rss('rdf') ?>
! 		<summary type="text/html" mode="escaped"><?php the_excerpt_rss(); ?></summary>
  <?php if (!get_settings('rss_use_excerpt')) : ?>
  	<?php if ( strlen( $post->post_content ) ) : ?>
--- 33,37 ----
  		<issued>  <?php the_time('Y-m-d\TH:i:s\Z'); ?></issued>
  		<?php the_category_rss('rdf') ?>
! 		<summary type="text/html" mode="escaped"><![CDATA[<?php the_excerpt_rss(); ?>]]></summary>
  <?php if (!get_settings('rss_use_excerpt')) : ?>
  	<?php if ( strlen( $post->post_content ) ) : ?>

Index: wp-rss.php
===================================================================
RCS file: /cvsroot/cafelog/wordpress/wp-rss.php,v
retrieving revision 1.22
retrieving revision 1.23
diff -C2 -d -r1.22 -r1.23
*** wp-rss.php	7 Jan 2005 22:01:58 -0000	1.22
--- wp-rss.php	24 Jan 2005 07:33:50 -0000	1.23
***************
*** 27,31 ****
  if (get_settings('rss_use_excerpt')) {
  ?>
!             <description><?php the_excerpt_rss() ?></description>
  <?php
  } else { // use content
--- 27,31 ----
  if (get_settings('rss_use_excerpt')) {
  ?>
!             <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
  <?php
  } else { // use content



More information about the cvs mailing list