Tags:
create new tag
view all tags

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

TWiki version: TWikiRelease04x01x02
TWiki plugins: Various + PublishWebPlugin + PublishContrib
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  

-- RachelHanan - 04 Jul 2007

Answer

ALERT! 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

Change status to:
Edit | Attach | Watch | Print version | History: r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r3 - 2007-08-28 - RachelHanan
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.