mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2025-07-07 00:48:55 +00:00
Preparations for shared posts
This commit is contained in:
parent
c5418789c9
commit
0267222fb4
4 changed files with 43 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue