NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin

...

Section
Column
width75%
Panel
titleContents of this Page
Table of Contents
minLevel2
Column
Align
alignright
Include Page
Menu LexWiki to Include
Menu LexWiki to Include
Wiki Markup
{align:right}{include:Menu LexWiki to Include}{align}

Known Issues

The templates do not import correctly so there will be some broken (red) links on the concept pages.

...

  1. Use a bat file to extract the metadata about the concepts and write them as files into a directory.
  2. Run a php file to read the files and publish them to the Wiki.
  3. Edit the Main page to show the ontology hierarchy
  4. Import the templates into the Wiki

...

Setup and configuration

  1. Download and unzip the LexWikiPublisher 1.0 zip file.
  2. Open the lexWikiPublisher.prop file and enter the configuration information

The following are the configuration variables along with an example for each.

Required configuration information

logfile - location to store the published concepts
C:/Temp/publishbatch-local

...

formname - the name of the semantic mediawiki form
LexWiki_NPO_Form

Optional configuration information

republishexistingpages - Republish existing pages?
yes

...

startPage - the starting page where index.php is the default
index.php

Extracting concepts from LexEVS

  1. Be sure the directory configured for the logfile variable exists and is write enabled.
  2. Run the lexWikiPublisher file useing the bat file or shell script.

...