From 1cc63d9999fa45c3067506288cd433339dff2ce8 Mon Sep 17 00:00:00 2001 From: augushong Date: Mon, 6 Mar 2023 17:48:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=A6=81=E4=BD=BF=E7=94=A8=E5=85=A8?= =?UTF-8?q?=E6=96=87=E5=81=9A=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/tools/Rss.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/common/tools/Rss.php b/app/common/tools/Rss.php index d0e38d1..c4fdb8b 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->content_html); + $new_item->setDescription($model_post->desc); //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->content_html); + $new_item->setDescription($model_post->desc); // 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->content_html); + $new_item->setDescription($model_post->desc); // $new_item->setContent($model_post->content_html); //Now add the feed item