Put
build/subscribe-it.min.js
build/subscribe-it.css
build/button.html
build/popup.html
into the same folder on a publicly available server. Then add a script tag to the place where you want the button to appear:
<script name="subscribe-it" src="http://example.com/subscribe-it.min.js" data-url="http://example.com/feed.xml" data-lang="en"></script>
There are currently two options you can set:
data-url: feed URL people can subscribe to
data-lang: language the texts on the button and popup should be in (currently supports 'de', 'en' and 'fr')
If everything went right you should see a button that will open a popup with subscribe buttons when clicked.
Install requirements
gem install sass
npm install -g gulp
npm install gulp-util gulp-coffee gulp-ruby-sass gulp-watch gulp-uglify gulp-concat uglify-js
Use gulp to build the project or start the watcher:
gulp
gulp watch
If you find a bug please use Github Issues to report it. If you want to add a feature or fix a bug please fork the repository, make your changes in a feature branch and open a pull-request.