%ATTACHURL%/so prepend this in all of the internal links. Example:
<A href="%ATTACHURL%/pages/xx.html"><IMG src="%ATTACHURL%/thumbnails/xx.jpg" border="0" alt="xx"></A>
#!/bin/bash for file in *.html do sed -f fixhtml.sed $file > .temp.html mv .temp.html $file done rm -f .temp.htmlSED Script (fixhtml.sed):
s:background="../images/background.jpg"::g s:../index.html:../../../../bin/view/Main/RRLegCompliance:gThe SED script deletes the background image from each page and replaces the link to the root page with a link to the TWiki page.
-- JonathanKarpick - 21 Oct 2004