Installing the Bargle button on your website
To display the button, simply add the following to the pages of the sites/blogs/etc you want the vote button to appear on. If you want to link to a page other than the current page, replace document.location.href with 'http://www.yourwebsite.com/yourfolder/yourpage.php'
<script type="text/javascript"> url_site = document.location.href; title_site = document.title; </script> <script src="http://www.bargle.com/sites/all/modules/drigg_external/js/button.js" type="text/javascript"></script>
This will put a link that looks like this
on your page wherever you include the script. As soon as a user submits a link from your site, the link will turn into this
.
Advanced Implemenation
For the adventurous among you, it's possible to create your own link implementation by forming the url for the submit page. Here is an example url:
http://www.bargle.com/submit/?url=http://www.example.com/article-207.php&title=Here%20is%20the%20title%20of%20my%20submission