diff --git a/app/common/tools/Rss.php b/app/common/tools/Rss.php index c4fdb8b..d0e38d1 100644 --- a/app/common/tools/Rss.php +++ b/app/common/tools/Rss.php @@ -36,7 +36,7 @@ class Rss $new_item->setLink($model_post->read_url); //The parameter is a timestamp for setDate() function $new_item->setDate($model_post->publish_time); - $new_item->setDescription($model_post->desc); + $new_item->setDescription($model_post->content_html); //Use core addElement() function for other supported optional elements //Now add the feed item @@ -98,7 +98,7 @@ class Rss $new_item->setLink($model_post->read_url); - $new_item->setDescription($model_post->desc); + $new_item->setDescription($model_post->content_html); // The following method calls add some optional elements to the feed item. @@ -168,7 +168,7 @@ class Rss //Internally changed to "summary" tag for ATOM feed - $new_item->setDescription($model_post->desc); + $new_item->setDescription($model_post->content_html); // $new_item->setContent($model_post->content_html); //Now add the feed item