Previous: Populating your RAMADDA server Next: IDV Publisher Table of contents

8 Wiki Text
One of the entry types that RAMADDA provides is a Wiki Page entry. You create a new Wiki Page just like you create any entry - in a group that you have create privileges for click the create icon and select "Wiki Page" to go to the Wiki Page create form:
Wiki Page Create Form
Image 1: Wiki Page Create Form
You can enter an entry name and the wiki text. We generally follow the format that Wikipedia follows. See the Wikipedia page on Wiki Markup for basic information.

The default HTML view of a Wiki Page entry looks like:

Wiki Page
Image 2: Wiki Page
The "Details" link in the upper right will show the default html view of this page.

The "Wiki History" link in the top tabs will take you to the history page for the entry.

Wiki History Page
Image 3: Wiki History Page
This shows the history of past edits and allows you to view and compare versions and to revert back to past versions.
8.0 Linking to other entries
Normally in a wiki a link to another page is of the form:
[[Page name]]
In RAMADDA you can use the name of another entry to create the link. The Entry needs to be a sibling entry to the Wiki Page (i.e., it shares the same parent of the Wiki Page entry) or it needs to be the identifier of some other entry, e.g.,
[[7ca13e52-8efb-4d17-863f-e17027dbcc22|Earthquake data]]
If the entry with the given name does not exist then the link will take one to the create entry form.

You can add links to other entries with the "Add Link" menu.

8.1 Importing Content
You can also import content from the current Wiki Page entry or any other entry with the import syntax:
{{importtag property name=value pairs}}
e.g., in the above example we are importing the Information tab block for the Wiki Page entry with:
{{information}}
If we wanted to import some content from another entry we use:
{{import theentryid importtag property name=value pairs}}
For example, if we want to import the information block for the above data file with the block being closed we would do:
{{import 7ca13e52-8efb-4d17-863f-e17027dbcc22 information open="false"}}
The set of import tags include: You can also import any of the views of an entry, e.g., the map view, the opendap view, the calendar view, etc. In the above example we are importing the map view of the earthquake data:
{{import 7ca13e52-8efb-4d17-863f-e17027dbcc22 data.point.map width="400"}}
Right now you need to manually enter the output view identifier in the import statement. Look at the URL of a page and you will see "output=identifier".
8.2 Wiki Text in Other Entries
You can use the wiki text display capabilities to customize the default HTML view of any other entry or group types. If the description of the entry begins with "<wiki>" then we treat the description as wiki text and process it to create the default HTML view.

 


Previous: Populating your RAMADDA server Next: IDV Publisher Table of contents