Transclude Plugin
This plugin was distributed previously as part of the McKessonApsWikiPlugins package, then part of the CeryleWikiPlugins, now as part of the NeWikiPlugins. This documentation is updated for the new version as appropriate.

The TranscludePlugin plugin permits the transclusions of content from other pages based on a query. This is similar to the InsertPage plugin but works across wiki-sites via XML-RPC. It has a [{Transclude}] shortcut.

Installation#

  1. Download the NeocortextPlugins and save the jar file into the WEB-INF/lib directory of your jspwiki
  2. Add jspwiki.plugin.searchPath = net.neocortext.wiki.plugin to the plugin searchPath in the jspwiki.properties file.
  3. Be sure that your wikis have the ~WikiRPCInterface enabled. Look for "REMOVE ME TO ENABLE XML-RPC" within the WEB-INF/web.xml file of your JSPWiki.

Example#

See the bottom of this page.

Parameters#

CSS classes#

Status/Notes#

Be sure that your wikis have the ~WikiRPCInterface enabled. Be sure that all wikis have baseUrl defined in their properties file (or else transcluded links will be broken).

Updated February 3 2004: fixed a bug in guessing the xmlprc url from an ~InterwikiLink, added section parameter.

Included in the ~McKessonApsWikiPlugins jar. -- ~JohnVolkar
Now included in the ~CeryleWikiPlugins.jar. -- ~MurrayAltheim

TODO: transcluded pages have wiki links relative to their home wiki. This means that when transcluded on another wiki the links don't point to their correct home wiki location but relative to their transcluded location. This is a known bug.


Tags:  Wiki Plugin
Tag Failed:
Tag 'Neocortext Plugin' undefined (page does not exist)


Example#

An example invocation is:

This would cause the JSPWiki Main page to appear, assuming that you have an interwiki link defined for JSPWiki. This plugin is just like InsertPage but operates between separate wikis by using the ~WikiRPCInterface. Here we go:

Wiki : TranscludePlugin - Plugin insertion failed: Could not find plugin TranscludeWiki : TranscludePlugin - Plugin insertion failed: Could not find plugin Transclude


Tags: 
Tag Failed:
Tag 'Ceryle' undefined (page does not exist)