mirror of
https://gitee.com/ulthon/ulthon_information.git
synced 2026-03-03 16:24:28 +08:00
调整rss源说明
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user