Website widget
Show the next collection dates of an address on your own website – for a housing association, a club, a council website or a local news site. Two lines of HTML, no backend of your own, and the dates stay current by themselves.
1. Check the address
First check on the binable home page that your address is recognised and its collection dates are shown: binable.
2. Paste the snippet
Paste this snippet where the dates should appear and replace the example address with yours:
<div class="binable-widget" data-street="Carl-Severing-Straße" data-house-number="91" data-zip="33649" data-city="Bielefeld" data-country="DE">
<a href="https://binable.app/en/">Bin collection calendar Bielefeld – binable</a>
</div>
<script src="https://binable.app/widget.js" async></script>
The link inside the element stays visible below the dates: it names the source and takes your visitors to the full calendar. If your site requires it, you may give it rel="nofollow".
3. Options
data-street, data-house-number, data-zip, data-city and data-country hold the address, exactly as you entered it on binable. The country is the two-letter code (GB, DE, FR, …). One script is enough for several widgets on a page.
data-title– title of the frame for screen readers (default: the link text).data-max-width– maximum width (default: 420px); the height adjusts by itself.data-lang– language of the widget as a two-letter code (en, de, fr, …); without it, the widget uses your page's language (<html lang>).
Preview
This is the widget with the example address:
Widget or iFrame?
The widget adjusts its height to the dates and brings the link to the calendar along. Where scripts are not allowed (some intranets and dashboards), the plain iFrame is the right choice.
Embed collection dates in a website or dashboard