Deki Wiki includes several extensions that enable you to create dynamic pages with rich, evergreen content. The easiest way is to use the SmartPage template, which uses the Google and Dapper extensions to aggregate and augment content on the fly.
All you need to do is follow these 3 simple steps:
Go to Dapper and create a dapp that extracts these fields:
These are dapps you can use right off the bat:
The
best place to experiment with your dapp is on your user page. Just
register and click on MyPage in the top left corner to go to your own
page. Now click "New Page" and start experimenting away!
Now, all you need to do is type in the following. This will use the default YahooTopStory dapp.
{{ template.smartpage{ } }} Or to switch to another dapp, invoke the template like this:
{{ template.smartpage{ name: 'CnnTopStory' } }} Finally, if your dapp requires arguments or an input uri, you can pass them in as well:
{{ template.smartpage{ name: 'MyDapp', input: 'http://my-uri', args: { var: 'value' } } }}
{{ wiki.template('SemanticContent', { page: page.path }) }}Check out these sample pages:
| File | Size | Date | Attached by | |||
|---|---|---|---|---|---|---|
| index.html No description | 7.35 kB | 16:57, 2 May 2008 | decoraarte | Actions | ||