Advice For Blogger Blogs

While we can't cover every possible situation, we know it's far from obvious how to add the buttons to your site, particularly on given platforms. Thus we're going to make a stab at helping you do it yourself.

Blogger

Google's Blogger/Blogspot platform is one of the most confusing for adding the button. Because of their templating format it's very unclear what you're supposed to do. The trick is using this tag:

<data:post.url/>

That represents the url of the post being viewed. So for example to add our button to a blogger post, you could use the following code:

<script type="text/javascript">
url_site = '<data:post.url/>';
</script>
<script src="http://dismarks.com/tools/dismarks.js" type="text/javascript"></script>

This will work in both teaser and full article view. You can also do a simple text link submitter like this:

<a expr:href='"http://dismarks.com/submit?url=" + data:post.url + "&title=" + data:post.title'>DisMark This</a>

If You Don't Know How To Edit Your Template

It's likely you haven't edited your template before and this may seem daunting. While editing your template in general is a bit beyond the scope of time we have here, here's a quickie how-to to make these changes:

From your dashboard, click on the Layout tab then select the Edit HTML tab on the second row. You should now see a big block of code, with a checkbox labeled "Expand Widget Templates." Check that box. Then go into the big box of code and find the line that reads: <data:post.body />.

I recommend using the search function on your browser to find this area. Once you've found it you can add the code above either above or below that tag, which will be the body of your post. For example, here's how it might look after you're done if you want the button to appear below the post:

<data:post.body />

<script type="text/javascript">
url_site = '<data:post.url/>';
</script>
<script src="http://dismarks.com/tools/dismarks.js" type="text/javascript"></script>

<div style='clear: both;'/>

The code in red is what you would have added.