peterpah Posted August 26, 2012 at 03:09 PM Report Share #473544 Posted August 26, 2012 at 03:09 PM (edited) Aqui alguém usa o addthis que me possa ajudar? Edited August 26, 2012 at 03:10 PM by peterpah Link to comment Share on other sites More sharing options...
scorch Posted August 26, 2012 at 08:28 PM Report Share #473583 Posted August 26, 2012 at 08:28 PM Se não disseres qual é a tua dúvida, é um pouco difícil que alguém te ajude. 😉 PS: Não respondo a perguntas por mensagem que podem ser respondidas no fórum. Link to comment Share on other sites More sharing options...
peterpah Posted August 26, 2012 at 09:31 PM Author Report Share #473596 Posted August 26, 2012 at 09:31 PM Eu não consigo por o addthis a partilhar com titulo,imagem ele só partilha o link eu uso o código para site Link to comment Share on other sites More sharing options...
PedroVale Posted August 29, 2012 at 08:15 PM Report Share #474008 Posted August 29, 2012 at 08:15 PM Olá, a questão está confusa, penso utilizaste o google translate mas acho que entendi, esperimenta colocar o código noutro local, ou então as páginas que partilhas não tem informação em <head> com "meta name description" e "title". Link to comment Share on other sites More sharing options...
peterpah Posted September 3, 2012 at 03:19 PM Author Report Share #474385 Posted September 3, 2012 at 03:19 PM No meu <head> tem essas informações e mesmo assim não da. Link to comment Share on other sites More sharing options...
PedroVale Posted September 3, 2012 at 06:26 PM Report Share #474398 Posted September 3, 2012 at 06:26 PM Isso acontece quando fazes share para qual serviço? acontece com todos? Por exemplo, creio que para o pinterest só envia a imagem, depois comentas. Link to comment Share on other sites More sharing options...
peterpah Posted September 3, 2012 at 06:35 PM Author Report Share #474399 Posted September 3, 2012 at 06:35 PM sim acontece com todos podes ver aqui no meu site http://rironfire.com/ Link to comment Share on other sites More sharing options...
PedroVale Posted September 3, 2012 at 09:13 PM Report Share #474408 Posted September 3, 2012 at 09:13 PM A programação está algo confusa, não funciona bem no IE9. Tente colocar o código num espaço onde não esteja condicionado pela formatação da tag <div>. Faça uma experiência coloque o código depois da tag </div> , fica fora da caixa da imagem mas não assumirá a sua formatação. Link to comment Share on other sites More sharing options...
peterpah Posted September 12, 2012 at 06:37 PM Author Report Share #475259 Posted September 12, 2012 at 06:37 PM Não da na mesma ta aqui o Código de 1 pagina onde coloco isso <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <meta property="fb:admins" content="{100003717226232}"/> <head > <meta http-equiv="Content-Type" content="text/html; charset=utf-8_decode" /> <link rel="stylesheet" href="zoom/thickbox.css" type="text/css" media="screen" /> <link rel="Shortcut Icon" type="image/ico" href="images/riri.ico"> <link rel="icon" type="image/ico" href="images/riri.ico"> <meta property="og:title" content="The Rock" /> <meta property="og:type" content="video.movie" /> <meta property="og:url" content="http://www.imdb.com/title/tt0117500/" /> <meta property="og:image" content="http://ia.media-imdb.com/images/rock.jpg" /> <?php global $nome; $nome=$_GET['cond']; include 'cont.php'; $sql = mysql_query("SELECT * FROM anedota where id_anedota=$_GET[cond]"); while($row = mysql_fetch_array($sql)) { echo"<title>". $row['titulo'] ."</title>"; } mysql_close($con); ?> <link rel="stylesheet" type="text/css" href="css.css" title="Variant Light" media="screen,projection" /> <title>RirOnFire</title> </head> <script language="Javascript" src="gen_validatorv4.js" type="text/javascript" xml:space="preserve"></script> <body> <div id="heade"> <div id="title"> <h1 align="center"><a href="index.php"><img src="images/logo.png" width="431" height="289"/></a></h1> </div> </div> <div id="topmenu"> <p> <strong class="hide">Main menu:</strong> <?php include 'menu.php' ?> </p> </p> </div> <div id="wrap"> <div id="sidebar"> <?php include 'lateral.php' ?></div> <div id="content"> <?php $con=$_GET['cond']; include 'cont.php'; $sql = mysql_query("SELECT * FROM anedota where id_anedota=$_GET[cond] "); while($row = mysql_fetch_array($sql)) { echo"<div class='post'> <h2>". $row['titulo'] ." </h2> <p>". $row['anedota'] . "</p> </p><h2></h2><table cellpadding='10' cellspacing='10' align=center'> <tr> <td width='500'><!-- AddThis Button BEGIN --> <div class='addthis_toolbox addthis_default_style addthis_32x32_style'> <a class='addthis_button_preferred_1'></a> <a class='addthis_button_preferred_2'></a> <a class='addthis_button_preferred_3'></a> <a class='addthis_button_preferred_4'></a> <a class='addthis_button_compact'></a> <a class='addthis_counter addthis_bubble_style'></a> </div> <script type='text/javascript'>var addthis_config = {'data_track_addressbar':true};</script> <script type='text/javascript' src='http://s7.addthis.com/js/250/addthis_widget.js#pubid=ra-5001cebc40f4c93b'></script> <!-- AddThis Button END --></td></tr></table> </div>"; } mysql_close($con); include 'comentariofb.php'; ?> </div> </div> </div> <div id="footer"> <p align="center">Copyright © 2012 RirOnFire - Todos os direitos reservados</p> </div> </body> </html> Link to comment Share on other sites More sharing options...
peterpah Posted September 28, 2012 at 01:32 PM Author Report Share #476916 Posted September 28, 2012 at 01:32 PM Alguém me pode ajudar? Link to comment Share on other sites More sharing options...
KTachyon Posted September 28, 2012 at 01:47 PM Report Share #476920 Posted September 28, 2012 at 01:47 PM Eles permitem-te indicar essa informação com propriedades do namespace deles: <div class="addthis_toolbox addthis_default_style" addthis:url="$page_url" addthis:title="$page_title" addthis:description="$page_summary" Deves adicionar o namespace à tag html: <html xmlns:addthis="http://www.addthis.com/help/api-spec"> “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -- Tony Hoare Link to comment Share on other sites More sharing options...
peterpah Posted September 28, 2012 at 03:03 PM Author Report Share #476933 Posted September 28, 2012 at 03:03 PM O código que ta na div meto onde? Link to comment Share on other sites More sharing options...
KTachyon Posted September 28, 2012 at 03:42 PM Report Share #476940 Posted September 28, 2012 at 03:42 PM Epah, a minha intenção não era fazeres copy-paste. De facto eu não escrevi o código a olhar para o teu, apenas o escrevi para indicar que o addthis permite que tu definas as propriedades que pretendes. Tens é que adaptar o teu para aquilo que pretendes, adicionando as propriedades addthis:title e addthis:description e o namespace à tag html. A div já tu a tens: <div class='addthis_toolbox addthis_default_style addthis_32x32_style'> “There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult.” -- Tony Hoare Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now