Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jul 10, 2011 @ 17:00
    Bjarne Fyrstenborg
    0

    Define content to share with AddThis

    Hi

    I am using AddThis to share content from this site, e.g. under News: http://oldengaard.dk/da/nyheder/unge-ryttere-til-hest-skal-have-mentale-vaerktoejer.aspx

    But e.g. the Facebook button will as standard use the page title and some of the first text in code as description. Does someone know how I can change the title and description to use my news item title and description?

    Bjarne

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jul 10, 2011 @ 17:19
    Bjarne Fyrstenborg
    0

    I have this in my template:

    <!-- AddThis Button BEGIN -->
      <div class="addthis_toolbox addthis_default_style ">
        <class="addthis_button_facebook" title="Send til Facebook"></a>
        <class="addthis_button_twitter" title="Tweet dette"></a>
        <class="addthis_button_favorites" title="F&oslash;j til favoritter"></a>
        <class="addthis_button_email" title="E-mail"></a>
        <class="addthis_button_print" title="Udskriv"></a>
        <class="addthis_button_compact"></a>
        <class="addthis_counter addthis_bubble_style" title="Se flere servicer"></a>
      </div>
      <script type="text/javascript">
        var addthis_config =
        {
           ui_language"da",
           ui_cobrand"Oldengaard.dk"
        }
      </script>
      <script type="text/javascript" src="http://s7.addthis.com/js/250/addthis_widget.js#pubid=xa-4dcd1479756966b9"></script>
      <!-- AddThis Button END -->
  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Jul 11, 2011 @ 18:20
    Jan Skovgaard
    0

    Hi Bjarne

    If I remember correctly you should be able to control the values FB is using by adding this meta tag
    <meta property="og:tag name" content="tag value"/>

    Read further instructions here: http://developers.facebook.com/docs/reference/plugins/like/

    Hope this helps!

    /Jan

  • Bjarne Fyrstenborg 1284 posts 4038 karma points MVP 8x c-trib
    Jul 11, 2011 @ 19:13
    Bjarne Fyrstenborg
    0

    Hi Jan

    I'm not sure that the AddThis buttons are exactly as the FB like button..

    I have taken a look at the customization of the AddThis buttons http://www.addthis.com/help/url-and-title ,  but it didn't seem to work with the alternative title and description.

    If you look at oldengaard.dk, the link I posted in the first comment, there are some random quotes before the content people might want to share. And it use there quotes as description, probably before it's placed earlier in the code. But it doesn't make much sense to share these quotes in this case.

    Bjarne

Please Sign in or register to post replies

Write your reply to:

Draft