Add URI to ElloBridge elements.
This commit is contained in:
parent
6a98293fb3
commit
c4d489f018
1 changed files with 2 additions and 1 deletions
|
@ -45,9 +45,10 @@ class ElloBridge extends BridgeAbstract {
|
|||
$item = array();
|
||||
$item['author'] = $this->getUsername($post, $postData);
|
||||
$item['timestamp'] = strtotime($post->created_at);
|
||||
$item['title'] = $this->findText($post->summary);
|
||||
$item['title'] = strip_tags($this->findText($post->summary));
|
||||
$item['content'] = $this->getPostContent($post->body);
|
||||
$item['enclosures'] = $this->getEnclosures($post, $postData);
|
||||
$item['uri'] = self::URI . $item['author'] . '/post/' . $post->token;
|
||||
$content = $post->body;
|
||||
|
||||
$this->items[] = $item;
|
||||
|
|
Loading…
Reference in a new issue