There are a variety of ways you can make Ethical Book Search available to users of your own site.
If you do promote Ethical Book Search to your visitors OR embed the search into your site and are interested in sharing affiliate revenues then please contact me at [email protected].
The simplest way to make our search available to visitors to your site is to link to us.
We recommend removing the country code which is the first part of the path in our URLs when linking to us because this will enable us to detect where someone is visiting from and then redirect them to the version of our search that will give them the most relevant results.
If you want to exclude second-hand copies from the results, perhaps because you are the publisher or author, then you can add "?new-only=true" to the end of the URL and only new copies will be listed.
For example, displaying only new copie:
If you want to embed Ethical Book Search in an iframe in your site then you can by adding the following two snippets of code to your page. The first where you want the search to be embedded and the second anywhere later in the page.
your-domain-name in the above snippet
with your site's domain name.
If you want to embed the results for a
particular book on Ethical Book Search you can either replace the
first argument to
EBSWidget.setUp with the path for the book
Or by adding the path as an
ebs-path query string to the surrounding
page's URL. For example see https://ethicalrevolution.co.uk/amazon-alternatives/?ebs-path=%2Feditions%2F9781509880829.
Examples on CopePen:
We are developing an API which will be available soon.
If you are interested in API access to search results from Ethical Book Search then please send me an email to let me know what you would like to build with it and we can share more details.