[Rest2web-develop] external webaddress in 'target' keyword doesn't seem to work (// -> /)
Brought to you by:
mjfoord
From: Hans F. <h.f...@so...> - 2009-01-17 00:52:30
|
Dear rest2web community, first many thanks to Michael and all contributors: rest2web is an excellent tool to quickly generate static webpages. I have come across one problem though, which I hope somebody can help me with. In the navigation (mini-)bar, I would like to add one entry that points to an external webpage (let's say to "http://www.google.com" for clarity). I.e. this is a button (or <li> entry in the sidebar) that is not pointing to a page x.html that was generated from x.txt. Instead, it should point to an external URL. Here is the restindex I have used to create that link in the navigation bar: restindex crumb: Google format: rest page-title: Google include: Yes target: http://www.google.com build: no page-description: Google /description /restindex However, once r2w is gone over this, the output for this link in the navigation bar in file, say, index.html reads: <li><a href="http:/www.google.com">Google</a></li> Note that the URL beginning has only one slash ('/') but should have ('//'). This error is somewhat difficult to spot as safari will guess correctly that a double slash was meant, but IE7 and firefox 3 (on Windows) will interpret this as a local page (which doesn't exist). Any suggestions, anybody? Many thanks, Hans -- Hans Fangohr School of Engineering Sciences University of Southampton Phone: +44 (0) 238059 8345 Email: fa...@so... http://www.soton.ac.uk/~fangohr |