googlereaderimport: support summary element

This commit is contained in:
Andrew Dolgov 2013-04-05 19:05:22 +04:00
parent a26f0c1759
commit b87bd8ed56
1 changed files with 5 additions and 0 deletions

View 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);