Give users a (.torrent) choice for all your files automagically
How does it work?
- Place our button script (see below) on your webpage with the url of the file to be downloaded by your users.
- Your visitors clicks on the button (a clickable image button is automatically generated by the button script)
- The user is then redirected to the torrent download page of your file where they will be provided with a .torrent equivalent of the file given by the url in the button script.
- Were you expecting more steps?
Button Script
<a class="burnbit_torrent" burnbit_file="FILE_URL" burnbit_style="BUTTON_STYLE"></a>
<script src="http://api.burnbit.com/js/button.js" type="text/javascript"></script>
<script src="http://api.burnbit.com/js/button.js" type="text/javascript"></script>
FILE_URL: You must specify the complete URL to the file (including the "http://" prefix)
File with mirrors: FILE_URL|FILE_URL|... (seperate URLs by "|" ) eg: "http://burnbit.com/file.exe|http://us1.mirror.foo.com/file.exe"We currently support only HTTP file URLs. This is because Burnbit takes advantage of the "Web Seeding" capability supported by all major torrent clients. However, most clients do not support any other protocol such as FTP, etc.
If the URL provided by you is not burned, as soon as the button loads the first time, it gets burned by our AutoBurn feature. This ensures a burned .torrent by the time user click on download torrent.
BUTTON_STYLE: There are three possible values for the style parameter, normal, compact & custom.
- normal

- compact

- custom
You may choose any one of the style that best matches the design of your website. If you choose custom style, no styles are applied to <a> tagExample use of custom button:Custom button guidelines
- Use the above button script by providing "custom" as BUTTON_STYLE
- There should be a "burnbit_seeds" and "burnbit_peers" class for tag inside the <a> tag
- The "burnbit_seeds" tag's HTML is replaced with text "x seeds" and the "burnbit_peers" tag's with "x peers" (x is an integer)
- No styles are applied to any of the tags
<style type="text/css">
.burnbit_torrent
{
/* styles */
}
.burnbit_seeds
{
/* styles */
}
.burnbit_peers
{
/* styles */
}
</style>
<a class="burnbit_torrent" burnbit_file="http://your.website.com/file.exe" burnbit_style="custom">
<span class="burnbit_seeds"></span>
<span class="burnbit_peers"></span>
</a>
<script src="http://api.burnbit.com/js/button.js" type="text/javascript"></script>
