web/lib/Zend/Feed/Reader/Extension/Atom/Entry.php
changeset 1230 68c69c656a2c
parent 807 877f952ae2bd
equal deleted inserted replaced
1229:5a6b6e770365 1230:68c69c656a2c
    12  * obtain it through the world-wide-web, please send an email
    12  * obtain it through the world-wide-web, please send an email
    13  * to license@zend.com so we can send you a copy immediately.
    13  * to license@zend.com so we can send you a copy immediately.
    14  *
    14  *
    15  * @category   Zend
    15  * @category   Zend
    16  * @package    Zend_Feed_Reader
    16  * @package    Zend_Feed_Reader
    17  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    17  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    18  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    18  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    19  * @version    $Id: Entry.php 24593 2012-01-05 20:35:02Z matthew $
    19  * @version    $Id$
    20  */
    20  */
    21 
    21 
    22 /**
    22 /**
    23  * @see Zend_Feed_Reader
    23  * @see Zend_Feed_Reader
    24  */
    24  */
    50 require_once 'Zend/Feed/Reader/Feed/Atom/Source.php';
    50 require_once 'Zend/Feed/Reader/Feed/Atom/Source.php';
    51 
    51 
    52 /**
    52 /**
    53  * @category   Zend
    53  * @category   Zend
    54  * @package    Zend_Feed_Reader
    54  * @package    Zend_Feed_Reader
    55  * @copyright  Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
    55  * @copyright  Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
    56  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    56  * @license    http://framework.zend.com/license/new-bsd     New BSD License
    57  */
    57  */
    58 class Zend_Feed_Reader_Extension_Atom_Entry
    58 class Zend_Feed_Reader_Extension_Atom_Entry
    59     extends Zend_Feed_Reader_Extension_EntryAbstract
    59     extends Zend_Feed_Reader_Extension_EntryAbstract
    60 {
    60 {
   157                     );
   157                     );
   158                 break;
   158                 break;
   159             }
   159             }
   160         }
   160         }
   161 
   161 
   162         //var_dump($content); exit;
       
   163 
       
   164         if (!$content) {
   162         if (!$content) {
   165             $content = $this->getDescription();
   163             $content = $this->getDescription();
   166         }
   164         }
   167 
   165 
   168         $this->_data['content'] = trim($content);
   166         $this->_data['content'] = trim($content);