public function getIsbnCode()
 {
     $str = parent::getIsbnCode();
     $this->_isbnCode = trim(str_replace("开店时间:", "", $str));
     return $this->_isbnCode;
 }
Ejemplo n.º 2
0
 public function getIsbnCode()
 {
     $this->_isbnCode = parent::getIsbnCode();
     if (!$this->_isbnCode) {
         $filter = '//div[@class="main_xiangqing_left"]/p[1]/text()||1';
         $this->_isbnCode = $this->_getRegexpInfo($filter, $this->getContent());
         $this->_isbnCode = str_replace(array("创建时间:", "注册时间:"), "", $this->_isbnCode);
     }
     return $this->_isbnCode;
 }