View Single Post
Old 07-13-2006, 03:16 PM  
Jace
FBOP Class Of 2013
 
Industry Role:
Join Date: Jan 2004
Location: bumfuck, ky
Posts: 35,562
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 : ?>
Jace is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote