- if ($includedlinks AND isset($post["url"]))
- $post["text"] .= " ".short_link($post["url"]);
-
- //if ($includedlinks AND ($post["type"] == "link"))
- // $post["text"] .= " ".$post["url"];
-
- //if ($includedlinks AND ($post["type"] == "video"))
- // $post["text"] .= " ".$post["url"];
-
- //print_r($post);
+ //if ($includedlinks AND isset($post["url"]))
+ if (($profile->service == "twitter") AND isset($post["url"]))
+ $post["text"] .= " ".$post["url"];
+ elseif (($profile->service == "appdotnet") AND isset($post["url"]) AND isset($post["title"])) {
+ $post["title"] = shortenmsg($post["title"], 90);
+ $post["text"] = shortenmsg($post["text"], $limit - (24 + strlen($post["title"])));
+ $post["text"] .= "\n[".$post["title"]."](".$post["url"].")";
+ } elseif (($profile->service == "appdotnet") AND isset($post["url"]))
+ $post["text"] .= " ".$post["url"];
+ elseif ($profile->service == "google")
+ $post["text"] .= html_entity_decode(" ", ENT_QUOTES, 'UTF-8'); // Send a special blank to identify the post through the "fromgplus" addon