Quote:
|
Originally Posted by teksonline
Without looking is this the fix?
$encodedcontent = preg_replace('/\'/s', 'hahaha8217;', $content);
Problem with the encoded feed's as I look at most feeds they are not encoding it properly...
|
here it is
Code:
--- /root/wp-rss2.php 2006-01-17 13:19:15.000000000 -0500
+++ /var/web/wordpress/wp-rss2.php 2006-01-17 13:20:52.000000000 -0500
-38,9 +38,9 @@
<guid isPermaLink="false"><?php the_guid(); ?></guid>
<?php if (get_settings('rss_use_excerpt')) : ?>
- <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
+ <description><![CDATA[<?php the_content('', 0, '') ?>]]></description>
<?php else : ?>
- <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
+ <description><![CDATA[<?php the_content('', 0, '') ?>]]></description>
<?php if ( strlen( $post->post_content ) > 0 ) : ?>
<content:encoded><![CDATA[<?php the_content('', 0, '') ?>]]></content:encoded>
<?php else : ?>