]> git.wh0rd.org - tt-rss.git/commitdiff
googlereaderimport: support summary element
authorAndrew Dolgov <fox@fakecake.org>
Fri, 5 Apr 2013 15:05:22 +0000 (19:05 +0400)
committerAndrew Dolgov <fox@fakecake.org>
Fri, 5 Apr 2013 15:05:22 +0000 (19:05 +0400)
plugins/googlereaderimport/init.php

index 8f14bdaa722e4736f2295eb9ef6137f20fb7b4b6..ac7a872f261156dc727c0aba1546618dedf6b127 100644 (file)
@@ -108,6 +108,11 @@ class GoogleReaderImport extends Plugin {
                                                }
                                        }
 
+                                       if (is_array($item['summary'])) {
+                                               $content = db_escape_string($this->link,
+                                                       $item['summary']['content'], false);
+                                       }
+
                                        if (is_array($item['content'])) {
                                                $content = db_escape_string($this->link,
                                                        $item['content']['content'], false);