]> git.mxchange.org Git - friendica-addons.git/commitdiff
Tumblr: Some changes
authorMichael Vogel <icarus@dabo.de>
Wed, 9 May 2012 12:53:02 +0000 (14:53 +0200)
committerMichael Vogel <icarus@dabo.de>
Wed, 9 May 2012 12:53:02 +0000 (14:53 +0200)
tumblr/tumblr.php

index 650e0b183d73a54a5a1a5d855422fecf928c6bfa..648911ff9fc654a2dc667f40bca5e01cad71a260 100755 (executable)
@@ -202,14 +202,16 @@ function tumblr_send(&$a,&$b) {
                        $params['type'] = "video";
                        $params['embed'] = $link;
                        if ($b['title'] != '')
-                               $params['caption'] = '<p><strong><a href="'.$link.'">'.$b['title']."</a></strong></p>".bbcode($body);
+                               $params['caption'] = '<h1><a href="'.$link.'">'.$b['title'].
+                                                       "</a></h1><p>".bbcode($body)."</p>";
                        else
                                $params['caption'] = bbcode($body);
                } else if (($link != '') and !$video) {
                        $params['type'] = "link";
                        $params['name'] = $b['title'];
                        $params['url'] = $link;
-                       $params['description'] = bbcode($body);
+                       //$params['description'] = bbcode($body);
+                       $params['description'] = bbcode($b["body"]);
                } else {
                        $params['type'] = "regular";
                        $params['title'] = $b['title'];