0.2.0 • Published 7 years ago

dblsqd-web v0.2.0

Weekly downloads
10
License
Apache-2.0
Repository
-
Last release
7 years ago

#DBLSQD Web Integration

This module allows for the integration of information from DBLSQD feeds into websites.

Installing

When using browserify (or a similar tool), you can install dblqsd-web with npm: npm install --save-dev dblsqd-web. Alternatively, you can also directly embed the minified JavaScript file in your site:

<script src="https://unpkg.com/dblsqd-web@0/dist/dblsqd-web.js"></script>

Compatibility

dblsqd-web is compatible with all common browsers. IE9 is the oldest supported version of Internet Explorer.

Usage

Here is a short example of how to insert an Application’s changelog and latest version number into a website.

Please take a look at our full documentation on the DBLSQD website.

dblsqdWeb.loadFeed(":appToken", ":channel", ":os", ":arch").then(function(feed) {
    dblsqdWeb.insertLatestVersion("#download-button span.version-number", feed)
    dblsqdWeb.insertChangelog("#changelog-container", feed)
})