• Do not register here on develop.twiki.org, login with your twiki.org account.
• Use View topic Item7848 for generic doc work for TWiki-6.1.1. Use View topic Item7851 for doc work on extensions that are not part of a release. More... Close
• Anything you create or change in standard webs (Main, TWiki, Sandbox etc) will be automatically reverted on every SVN update.
Does this site look broken?. Use the LitterTray web for test cases.

Item4765: Reading static HTML's for upgrade/install is difficult without internet connection/behind firewall

Item Form Data

AppliesTo: Component: Priority: CurrentState: WaitingFor: TargetRelease ReleasedIn
Engine Documentation Urgent Closed   minor 4.2.0

Edit Form Data

Summary:
Reported By:
Codebase:
Applies To:
Component:
Priority:
Current State:
Waiting For:
Target Release:
Released In:
 

Detail

I've tested TWiki 4.2.0 beta2. Updating from 4.1.2 I opened the TWikiUpgradeGuide.html, but my test-twiki runs in a VMware without internet connection.

Firefox, Konqueror and other browsers will 'hang' a while before showing this static HTML page. There are RSS, CSS and a favicon which will be loaded from twiki.org.

After unpacking the .tar.gz all files are also available in the sub directories.

Is it possible to remove these internet links and replace them by local pathes?

I manually changed eg. the TWikiUpgradeGuide.html the following way:

--- TWikiUpgradeGuide.orig.html 2007-10-03 11:08:11.000000000 +0200
+++ TWikiUpgradeGuide.html 2007-10-03 11:10:23.000000000 +0200
@@ -4,12 +4,12 @@
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="" lang="">
 <head>
  <title> TWikiUpgradeGuide &lt; TWiki &lt; TWiki</title>
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="robots" content="noindex" /> <link rel="alternate" type="application/rss+xml" title="RSS Feed" href="http://twiki.org/cgi-bin/view/TWiki/WebRss" />
- <link rel="icon" href="http://twiki.org/p/pub/TWiki/WebPreferences/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="http://twiki.org/p/pub/TWiki/WebPreferences/favicon.ico" type="image/x-icon" />
+ <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <meta name="robots" content="noindex" /> 
+ <link rel="icon" href="pub/TWiki/WebPreferences/favicon.ico" type="image/x-icon" /> <link rel="shortcut icon" href="pub/TWiki/WebPreferences/favicon.ico" type="image/x-icon" />
  <meta name="description" content="TWikiUpgradeGuide" />
     
- <script type="text/javascript" src="http://twiki.org/p/pub/TWiki/TWikiJavascripts/twikilib.js"></script>
-<script type="text/javascript" src="http://twiki.org/p/pub/TWiki/TWikiJavascripts/twikiWindow.js"></script>
+ <script type="text/javascript" src="pub/TWiki/TWikiJavascripts/twikilib.js"></script>
+<script type="text/javascript" src="pub/TWiki/TWikiJavascripts/twikiWindow.js"></script>
 <script type="text/javascript">
 //<![CDATA[
  function launchWindow(inWeb, inTopic) {
@@ -22,10 +22,10 @@
 //]]>
 </script>
  <style type="text/css" media="all">
-@import url('http://twiki.org/p/pub/TWiki/TWikiTemplates/base.css');
+@import url('pub/TWiki/TWikiTemplates/base.css');
 </style>
 <style type="text/css" media="all">
-@import url('http://twiki.org/p/pub/TWiki/TWikiTemplates/default.css');
+@import url('pub/TWiki/TWikiTemplates/default.css');
 </style>
 <!--[if IE]><style type="text/css" media="screen">
 pre {
@@ -297,4 +297,4 @@
 <p />
 <p />
 </div><!--/twikiPage--></body></html>
-<p />
\ Kein Zeilenumbruch am Dateiende.
+<p />

I've seen such internet links also in INSTALL.html and others. Please decide, if this is more useful for users behind firewalls.

-- TWiki:Main/StefanScherer - 03 Oct 2007

These docs are generated by the build script from real TWiki topics. It seems some of this junk gets included now.

We may simply have to filter some more stuff off in the build script.

-- TWiki:Main.KennethLavrsen - 03 Oct 2007

I will take this one

-- TWiki:Main.KennethLavrsen - 12 Oct 2007

I gave the fix_local_links a good makeover.

I decided that removing images was the right thing to do.

And the header - instead of trying to fix it - I simply reduced it to a bare minimum. These 4 files that are created in the TWiki root are supposed to work being opened at file level in a browser and should not depend on anything. And it is silly to put jpegs in the root just to show a lightbulb. The docs work fine without these small graphics.

To the user this is visible as a resolution to the reported problem so it goes in release note - so Waiting for release.

-- TWiki:Main.KennethLavrsen - 25 Nov 2007

Cleaned "WaitingFor" field.

-- TWiki:Main.GilmarSantosJr - 10 Aug 2008

ItemTemplate
Summary Reading static HTML's for upgrade/install is difficult without internet connection/behind firewall
ReportedBy TWiki:Main.StefanScherer
Codebase 4.2.0, ~twiki4
SVN Range TWiki-4.3.0, Sun, 30 Sep 2007, build 15107
AppliesTo Engine
Component Documentation
Priority Urgent
CurrentState Closed
WaitingFor

Checkins TWikirev:15778 TWikirev:15779
TargetRelease minor
ReleasedIn 4.2.0
Edit | Attach | Watch | Print version | History: r12 < r11 < r10 < r9 < r8 | Backlinks | Raw View |  Raw edit | More topic actions
Topic revision: r12 - 2008-08-10 - GilmarSantosJr
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback