public function getCategoryItemName()
 {
     $data = parent::getCategoryItemName();
     if (!$data) {
         $this->_category_item_name = array();
         $filter = '//ul[@id="sjina_B01_05"]//div[@class="s3"]/a/text()||2';
         $this->_category_item_name = $this->_getRegexpInfo($filter, $this->getContent());
     }
     return $this->_category_item_name;
 }
Ejemplo n.º 2
0
 public function getCategoryItemName()
 {
     $data = parent::getCategoryItemName();
     if (!$data) {
         $this->_category_item_name = array();
         $filter = '//li[@class="site-topsearch"][1]/a/text()||2';
         $this->_category_item_name = $this->_getRegexpInfo($filter, $this->getContent());
     }
     return $this->_category_item_name;
 }
 public function getCategoryItemName()
 {
     $str = parent::getCategoryItemName();
     $this->_category_item_name = str_replace(array("(ID:", ")"), "", $str);
     return $this->_category_item_name;
 }