Skip to content
Browse files

Fixed some RSS validation issues

  • Loading branch information...
1 parent 9d2c9ec commit 2bc417102c71b7a95eec6e3f9708b98befb98912 @rvenable committed Nov 28, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 trunk/theme/rss-bfox_plan.php
View
4 trunk/theme/rss-bfox_plan.php
@@ -52,7 +52,7 @@ function bfox_plan_last_build_date_rss($format = 'D, d M Y H:i:s +0000', $post_i
<title><?php the_title_rss() ?></title>
<atom:link href="<?php self_link(); ?>" rel="self" type="application/rss+xml" />
<link><?php (is_single()) ? the_permalink_rss() : bloginfo_rss("url") ?></link>
- <description><?php the_excerpt_rss() ?></description>
+ <description><![CDATA[<?php the_excerpt_rss() ?>]]></description>
<lastBuildDate><?php echo bfox_plan_last_build_date_rss() ?></lastBuildDate>
<sy:updatePeriod><?php echo bfox_plan_update_period_rss() ?></sy:updatePeriod>
<sy:updateFrequency><?php echo bfox_plan_update_frequency_rss() ?></sy:updateFrequency>
@@ -66,7 +66,7 @@ function bfox_plan_last_build_date_rss($format = 'D, d M Y H:i:s +0000', $post_i
<link><?php echo esc_url(bfox_plan_reading_url($reading_id)) ?></link>
<pubDate><?php echo bfox_plan_reading_gmdate($reading_id, 'D, d M Y H:i:s O') ?></pubDate>
<dc:creator><?php the_author() ?></dc:creator>
- <guid isPermaLink="false"><?php echo bfox_plan_reading_guid($reading_id); ?></guid>
+ <guid isPermaLink="false"><?php echo esc_url(bfox_plan_reading_guid($reading_id)); ?></guid>
<description><![CDATA[<?php echo bfox_plan_reading_content_rss($reading_id) ?>]]></description>
<content:encoded><![CDATA[<?php echo bfox_plan_reading_content_rss($reading_id) ?>]]></content:encoded>
<?php do_action('bfox_plan_readings_feed_item'); ?>

0 comments on commit 2bc4171

Please sign in to comment.
Something went wrong with that request. Please try again.