getURI()
. 'post/list/'
. $this->getInput('t')
. '/'
. $this->getInput('p');
}
protected function getItemFromElement($element)
{
$item = [];
$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['categories'] = explode(' ', $element->getAttribute('data-tags'));
$item['title'] = $this->getName() . ' | ' . $item['id'];
$item['content'] = '
Tags: '
. $element->getAttribute('data-tags');
return $item;
}
}