import v2.0.0.0_RC3 | 2012-07-01
https://github.com/lucanos/CommunityID -> http://www.itadmins.net/archives/357
This commit is contained in:
@ -16,7 +16,7 @@
|
||||
* @package Zend_Feed_Reader
|
||||
* @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
|
||||
* @license http://framework.zend.com/license/new-bsd New BSD License
|
||||
* @version $Id: EntryAbstract.php 16711 2009-07-14 16:10:54Z matthew $
|
||||
* @version $Id: EntryAbstract.php 18951 2009-11-12 16:26:19Z alexander $
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -89,11 +89,11 @@ abstract class Zend_Feed_Reader_Extension_EntryAbstract
|
||||
$this->_data['type'] = Zend_Feed_Reader::detectType($feed);
|
||||
}
|
||||
// set the XPath query prefix for the entry being queried
|
||||
if ($this->getType() == Zend_Feed_Reader::TYPE_RSS_10
|
||||
if ($this->getType() == Zend_Feed_Reader::TYPE_RSS_10
|
||||
|| $this->getType() == Zend_Feed_Reader::TYPE_RSS_090
|
||||
) {
|
||||
$this->setXpathPrefix('//rss:item[' . ($this->_entryKey+1) . ']');
|
||||
} elseif ($this->getType() == Zend_Feed_Reader::TYPE_ATOM_10
|
||||
} elseif ($this->getType() == Zend_Feed_Reader::TYPE_ATOM_10
|
||||
|| $this->getType() == Zend_Feed_Reader::TYPE_ATOM_03
|
||||
) {
|
||||
$this->setXpathPrefix('//atom:entry[' . ($this->_entryKey+1) . ']');
|
||||
@ -123,7 +123,7 @@ abstract class Zend_Feed_Reader_Extension_EntryAbstract
|
||||
return $assumed;
|
||||
}
|
||||
|
||||
/**
|
||||
/**
|
||||
* Get the entry type
|
||||
*
|
||||
* @return string
|
||||
@ -178,8 +178,8 @@ abstract class Zend_Feed_Reader_Extension_EntryAbstract
|
||||
|
||||
/**
|
||||
* Set the XPath prefix
|
||||
*
|
||||
* @param string $prefix
|
||||
*
|
||||
* @param string $prefix
|
||||
* @return Zend_Feed_Reader_Extension_EntryAbstract
|
||||
*/
|
||||
public function setXpathPrefix($prefix)
|
||||
@ -190,7 +190,7 @@ abstract class Zend_Feed_Reader_Extension_EntryAbstract
|
||||
|
||||
/**
|
||||
* Register XML namespaces
|
||||
*
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
protected abstract function _registerNamespaces();
|
||||
|
Reference in New Issue
Block a user