Question
My task: Generate a script to regularly create a static version of selected topics of our twiki pages for putting on a disk.
My approach: I am new to twiki so tried to keep it simple. I found and downloaded the plugin PublishContrib. Found it worked fine from the command line via perl publish script (what I wanted). As per one of the suggestions in PublishContrib, decided to set up a Publish web which creates topics which %INCLUDE% wanted topics from the Main web.
My PROBLEM: Best described by example:
(1) I created Topic GIT in Publish web which does this : %INCLUDE{"Main.GIT}%
(2) I created Topic GITHowTo in Publish web which does this: %INCLUDE{"Main.GITHowTo}%
(3) Result: The substance of the included topic GIT has a link to GITHowTo but the wikiword link has stayed anchored to the main web. So clicking on the GITHowTo link in the publish web GIT topic goes to the GITHowTo in the main web instead of the publish web.
This also happens for links which aren't wikiwords but are headers.
I tried the raw="on" and literal="on" switches on the %INCLUDE% but it made no difference.
How do I get the links to go through the publish web?
(1) Have I missed something obvious
(2) Or I am going about this the wrong way. Having a publish web seemed a nice idea.
Environment
--
RachelHanan - 04 Jul 2007
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
yeah, that's not going to work that way :/
you're better off publishing the topics form where they are, and specifying the topics to include.
--
SvenDowideit - 18 Aug 2007