Preparations for shared posts

This commit is contained in:
Michael Vogel 2012-12-17 03:04:13 +01:00
parent c5418789c9
commit 0267222fb4
4 changed files with 43 additions and 2 deletions

View file

@ -331,11 +331,19 @@ function fromgplus_fetch($a, $uid) {
//$post .= html2bbcode("♻");
//$post .= fromgplus_html2bbcode("◌");
$post .= " [url=".$item->object->actor->url."]".$item->object->actor->displayName."[/url] \n";
/*$post .= "[share author='".$item->object->actor->displayName.
"' profile='".$item->object->actor->url.
"' avatar='".$item->object->actor->image->url.
"' link='".$item->object->url."']\n";*/
$post .= fromgplus_html2bbcode($item->object->content);
if (is_array($item->object->attachments))
$post .= "\n".trim(fromgplus_handleattachments($item));
//$post .= "[/share]";
if (isset($item->address))
$location = $item->address;
else