fix statusnet_html timelines on api

This commit is contained in:
Friendika 2011-08-05 07:26:54 -07:00
parent 1d659bd854
commit 8ae0a8a94c
3 changed files with 3 additions and 2 deletions

View file

@ -740,7 +740,7 @@
'id' => intval($item['id']),
'message_id' => $item['uri'],
'text' => strip_tags(bbcode($item['body'])),
'html' => bbcode($item['body']),
'statusnet_html' => bbcode($item['body']),
'source' => (($item['app']) ? $item['app'] : 'web'),
'url' => ($item['plink']!=''?$item['plink']:$item['author-link']),
'truncated' => False,

View file

@ -55,7 +55,7 @@
<activity:object-type>$status.objecttype</activity:object-type>
<id>$status.message_id</id>
<title>$status.text</title>
<content type="html">$status.html</content>
<content type="html">$status.statusnet_html</content>
<link rel="alternate" type="text/html" href="$status.url"/>
<activity:verb>$status.verb</activity:verb>
<published>$status.published</published>

View file

@ -4,6 +4,7 @@
<created_at>$status.created_at</created_at>
<id>$status.id</id>
<text>$status.text</text>
<statusnet_html>$status.statusnet_html</statusnet_html>
<source>$status.source</source>
<truncated>$status.truncated</truncated>
<url>$status.url</url>