Project | WXT | Basics | Download | Documentation | Samples

Script: wikicontent-element

A wikicontent element tells where the module shall search for its content. The template of the module must have a processing instruction PI of type importwiki, see: ImportWIKI to realize the actual extraction of content.

A Module may contain any number of WIKIContent elements.

<wikicontent location=""  />
location(mandatory) Any string that represents a file, either as an absolute URI or as an URI relative to the active anchor.
backuplocation(optional) Any string that represents a file, either as an absolute URI or as an URI relative to the active anchor. Is used if location for some reason is not availabe. It is not a backup in the sense that the primary file is stored here. It is up to you to supply a meaningfull backup file.
id(optional) An id that identifies this wikicontent in importwiki in a template.

A wikicontent element may not contain any elements

Examples:

<wikicontent location="http://en.wikipedia.org/wiki/Sparrow"  />