Not sure this is just on my install - I was going to write it on
TWiki:Plugins.PublishContribDev or in Support but I know Crawford prefers questions here than in support...
http://northrockcapital.wikihosting.com/twiki/bin/view/Northrock/PublishWeb publishes to:
http://northrockcapital.wikihosting.com/site/Northrock/WebHome.html
And while this page loads beautifully in FF, IE interprets the tag:
<base href="WebHome.html"></base>
as meaning the rest of the content should come from a site called
http://welcome.html/whatever
Clearly this is not going to work.
I'm using SVN.SVN9998
Configure says:
$TWiki::cfg{PublishContrib}{Dir} = '/home/northrock/public_html/site';
$TWiki::cfg{PublishContrib}{URL} = 'http://northrockcapital.wikihosting.com/site';
Have I misconfigured?
Thanks. M.
>
Where are you seeing the base tag?
In the source of
http://northrockcapital.wikihosting.com/site/Northrock/WebHome.html
>
What skin are you using?
PatternSkin, with stylesheets as above.
>
Why is the base being set to a TWiki page name like that?
Good question. I have no idea.
>
Can you attach an example output?
If you open
http://northrockcapital.wikihosting.com/site/Northrock/WebHome.html with IE you'll see what I mean. All the images and links are dead as IE interprets them to belonging to a site called welcome.html
>
CC
Thanks.
MC
OK, I understand what is happening. BASE tags are supposed to be stripped by the publisher. The code that strips the base tag assumes the <base /> syntax, which is admittedly a bit cavalier, and doesn't work with the latest pattern skin, which has switched to <base...></base>. The fix for
Item2128 rewrites URLs so that web references point to webhome. Before this fix, the base tag would have expanded to the empty string, which is why the problem wasn't apparent before.
Fixed and uploaded.
CC
Thanks again. Works great now.
MC