Browse Source

change rss description

Moell 9 years ago
parent
commit
b180552be8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/Http/Controllers/RssController.php

+ 1 - 1
app/Http/Controllers/RssController.php

@@ -38,7 +38,7 @@ class RssController extends Controller
             foreach ($articles as $article) {
                 $item = [
                     'title' => $article->title,
-                    'description' => $this->stringFormat($article->html_content),
+                    'description' => $this->stringFormat($article->desc),
                     'link' => route('article', ['id' => $article->id]),
                     'pubDate' => date('Y-m-d', strtotime($article->created_at))
                 ];