Dapper is an online service that allows you to query the
internet like a database and create pages with dynamic, interative
content.
Getting started
Step 1: create your dapp
Go to Dapper.net and either create or find a dapp that retrieves the information you want.
Step 2: invoke your dapp from inside Deki Wiki
Deki Wiki has several Dapper functions for invoking dapps depending on what kind of data you need to retrieve.
- dapp.value: retrieves a single value from a dapp
- dapp.html: retrieves a single value from a dapp and converts it an html element (link or image)
- dapp.list: retrieves a list of values
- dapp.table: retrieves all values from a dapp and displays it as a table
- dapp.run: retrieve all values from a dapp and publish them on the PageBus
All functions take the same set of parameters:
- name: name of dapp to execute (w/o spaces in the name)
- xpath: (optional) xpath expression for selecting a value or set of values
- input: (optional) input uri for the dapp
- args: (optional) additional named parameters used by the dapp
Examples
The following examples show various Dapper
integrations. Each example is provided with a complete description of
how it works. Don't hesitate to add your own!