Hello,
The code for the tweet button on my blog is:
<!-- Twitter tweet button Start --><b:if cond='data:blog.pageType != "static_page"'>
<div style='text-align:left;padding:5px 5px 5px 0;'>
<a class='twitter-share-button' data-count='horizontal' data-related='' data-via='johnsumer' expr:data-text='data:post.title' expr:data-url='data:post.url' href='http://twitter.com/share'>Tweet</a>
<script src='http://platform.twitter.com/widgets.js' type='text/javascript'/>
</div>
</b:if>
<!-- Twitter tweet button End -->
I know that data-text sets the actual text to be tweeted and it currently gives the post title on the blog, e.g.: “I have a cat”. But I want it to appear it contatining the blog title, followed by ': ’ and then the post title, e.g. “My Blog: I have a cat”. How should I change the above code to do that?
Thanks,
Can