OpenLink Software

Usage stats on Dongle/AddonTemplate

 Permalink

an Entity in Data Space: 134.155.108.49:8890

This is an example template for a setup for an addon that uses Dongle. It shows how to use the various API's that dongle offers such as the slash commands and the database. -- This instantiates the Dongle object. From here you will be able to access -- the Dongle API. local addon = DongleStub('Dongle-1.1'):New('DongleAddonTemplate') -- This is the table containing the default entries for the database. if -- something cant be found in the database, this will automatically be -- checked. This will not get saved in the database table. local databasedefaults = { profile = { message = 'This is the default message!' } } --- PrintAbout: Print some text explaining the purpose of this addon. -- This is for the slash command handler 'about'. function addon:PrintAbout () self:Print([[This addon is

Identifier (URI)Rank
dbkwik:resource/47synpKSH42k-1kC2FaDaw==5.88129e-14
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] This material is Open Knowledge Creative Commons License Valid XHTML + RDFa
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 Unported License.
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Copyright © 2009-2012 OpenLink Software