DapperCamp Wiki > Documentation > MindTouch Dapper Wiki Features

MindTouch Dapper Wiki Features

MindTouch Deki Wiki is an open-source wiki platform that has an open, extensible architecture.

This pages shows a few samples of how you can use Dapper to query the internet like a database and create pages with dynamic, interative content.

Getting started

Step 1: get Deki Wiki

Either download Deki Wiki, create an account on the DapperCamp wiki, or sign-up for your own free wiki

Step 2: create your dapp

Go to Dapper.net and either create or find a dapp that retrieves the information you want.

Step 3: 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:

  1. name: name of dapp to execute (w/o spaces in the name)
  2. xpath: (optional) xpath expression for selecting a value or set of values
  3. input: (optional) input uri for the dapp
  4. 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!

Tag page
You must login to post a comment.