Widgets
We provide easy to use JavaScript snippets for browser-side integration. They use the API.
Contents
- Plugin for Podpress
- Manual installation for Podpress
- Widget for Powerpress
- Native Support in Podlove
- What else?
- Roll your own
Plugin for Podpress
Install the plugin by Tim Berger.
Manual installation for Podpress
Alternatively, include the following snippet in your site's template:
<script src="http://bitlove.org/widget/podpress.js" type="text/javascript"></script>
Make sure you put it after jQuery. Contact mail@bitlove.org if you encounter any problems
Widget for Powerpress
Include the following snippet in your site's template:
<script src="http://bitlove.org/widget/powerpress.js" type="text/javascript"></script>
Please contact us if you encounter any problems
Native Support in Podlove
Haven't decided what to use for podcast publishing? We recommend Podlove Podcast Publisher. One checkbox in its configuration enables built-in support for Bitlove downloads.
What else?
It's trivial to come up with a snippet. Tell us about your site and rainbows will happen.
Roll your own
Start with the following snippet:
<script src="http://bitlove.org/widget/base.js" type="text/javascript"></script>
<script type="text/javascript">
/* <!-- */
/**
* You need the url of the episode's enclosure (mp3,
* m4a, ... file) that Bitlove torrentified for you.
*
* This performs an AJAX call to retrieve torrent
* information about this file:
**/
torrentByEnclosure(url, function(info) {
if (info) {
/* Display in Firebug/Inspector: */
console.log("torrent", url, info);
}
});
/* --> */
</script>
Please contact us if you encounter any problems
