?> <item> <title><?php echo get_the_title($post->ID); ?> </title> <link><?php echo get_permalink($post->ID); ?> </link> <description><?php the_excerpt_rss(); ?> </description> <content:encoded><?php echo '<![CDATA[' . yoast_rss_text_limit($post->post_content, 955500) . ']]>'; ?> </content:encoded> <pubDate><?php yoast_rss_date(strtotime($post->post_date_gmt)); ?> </pubDate> <guid><?php echo get_permalink($post->ID); ?> </guid> </item> <?php } ?>
</lastBuildDate> <managingEditor>joost@yoast.com</managingEditor> <?php foreach ($posts as $post) { ?> <item> <title><?php echo get_the_title($post->ID); ?> </title> <link><?php echo get_permalink($post->ID); ?> </link> <description><?php echo '<![CDATA[' . yoast_rss_text_limit($post->post_content, 500) . '<br/><br/>Keep on reading: <a href="' . get_permalink($post->ID) . '">' . get_the_title($post->ID) . '</a>' . ']]>'; ?> </description> <pubDate><?php yoast_rss_date(strtotime($post->post_date_gmt)); ?> </pubDate> <guid><?php echo get_permalink($post->ID); ?> </guid> </item> <?php } ?> </channel>