Starting at this url you can access all informations that are exported, in a tree-like fashion.
Append ?list to a URL to get a list of all possible child nodes.
Append ?t=type to a URL to select the encoding type from the list below:
For example, appending ?t=json will give you JSON output.
At this URL you can get a JavaScript source with a simple function to query this DDE service and retrieve results via JSON.
Include it in your page with <script src="http://dde.debian.net/dde/js" /> to allow your JavaScript code to gain access to all exported information.
If you want to access data from multiple DDE services, you can change the namespace name of the included javascript, by adding a name of your choice after '/js'. For example:
<script src="http://udd.debian.org/dde/js/udd"></script>
<script src="http://debtags.debian.net/dde/js/debtags"></script>
<script type="text/javascript">
debtags.request("/axi/cquery", function(req) {
// The partial function is passed the XMLHttpRequest
log("Partial:", len(req.responseText, "bytes received so far"))
}, function(res) {
// The success function is passed the resulting object
log("Result:", res)
}, function (req, exc) {
// The error function is passed the XMLHttpRequest object
if (req) log("Error", req.status, "loading the data:", req.responseText)
// Or an exception
if (exc) log("Error", exc)
})
</script>