getURI().'post/list/' .$this->getInput('t').'/' .$this->getInput('p'); } protected function getItemFromElement($element){ $item = array(); $item['uri'] = $this->getURI().$element->href; $item['id'] = (int)preg_replace("/[^0-9]/",'', $element->getAttribute(static::IDATTRIBUTE)); $item['timestamp'] = time(); $thumbnailUri = $this->getURI().$element->find('img', 0)->src; $item['tags'] = $element->getAttribute('data-tags'); $item['title'] = $this->getName().' | '.$item['id']; $item['content'] = '
Tags: '.$item['tags']; return $item; } }