ShareThis Forums » Publishers

Changing source of the Title or Description when posting

(2 posts)
  • Started 7 months ago by douglas
  • Latest reply from ShareThisSupport

  1. I'm trying to figure out a way to change the title/description to be not the title of the page itself but the title of the post. Is this even possible? For instance, my blog's title is the "Idealist.org Podcast" but that is also the name that comes up for every blog entry's individual page. Therefore, every time someone tries to share an entry, the title is automatically "Idealist.org Podcast" not the post's title. Unfortunately, I can't change the title of my blog's pages but I was hoping to try and change the title used when some one tries to post the entry somewhere.

    douglas

    Posted 7 months ago #
  2. Hi Douglas,

    You can change the title of your shared objects with the ShareThis API. Insert the widget query string obtained from http://sharethis.com/publisher into the <head> of your page and then use the "title" object property to specify the title of your shared objects. E.G.

    <script language="javascript" type="text/javascript">
    SHARETHIS.addEntry({
    title:'Share me',
    summary:'Sharing is good for the soul.',
    icon: 'http://path.to/icon'
    }, );
    </script>

    For more information on the ShareThis API see: http://support.sharethis.com/developers

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.