Re: linking to root of website, not root of drive

2018-03-04 Thread Tim Hill
[Email copy of news posting to comp.sys.acorn.misc] Posted in Netsurf users, as it follows up a question and in c.s.a.misc because it's not NetSurf specific. Please reply in Usenet. In article <6c94decc56.r...@user.minijem.plus.com>, Richard Porter wrote: > On 19 Feb 2018 Jim Nagel wrote: > >

Re: linking to root of website, not root of drive

2018-02-23 Thread Rob Kendrick
On Fri, Feb 23, 2018 at 02:18:18PM +, Jim Nagel wrote: > - The distant server (probably running on Linux) does not care about > RiscOS filetypes and Netsurf correctly displays pages from there when > my !2018.css has RiscOS filetype as text That's because it will be using the file extension

Re: linking to root of website, not root of drive

2018-02-23 Thread Jim Nagel
Rob Kendrick wrote on 19 Feb: > On Mon, Feb 19, 2018 at 03:46:41PM +, Jim Nagel wrote: >> - Netsurf displays the pages served up via Webjames perfectly, >> except that it is NOT obeying the stylesheet (which is /2018.css ) >> even though the Webjames log records a GET success for the CSS f

Re: linking to root of website, not root of drive

2018-02-19 Thread Tim Hill
In article <56ccec687fjoh...@ukgateway.net>, John Williams wrote: [Snip] > PS and yes, it is actually RISC OS, not RiscOS with its pseudo > camel-case. Editor should have spotted that one! The confusion of RiscPC and RISC OS is not a new phenomenon just as WebJames is often called Webjames. Ho

Re: linking to root of website, not root of drive

2018-02-19 Thread Tim Hill
In article , Jim Nagel wrote: [Snipped] > (Begs the question: why does RiscOS actually bother having a specific > filetype for a CSS file? You don't need to give your HTML or CSS files an extension with WebJames. It seems to use the filetype to create the MIME data. Conversely, files with n

Re: linking to root of website, not root of drive

2018-02-19 Thread John Williams
In article , Jim Nagel wrote: > why does RiscOS actually bother having a specific filetype for a CSS > file? It's only text. Doubleclicking it only loads it into a text > editor. Many files are just plain text, but the filetype is helpful in that an icon can be assigned, helping to spot the

Re: linking to root of website, not root of drive

2018-02-19 Thread Jim Nagel
Michael Drake wrote on 19 Feb: > On 19/02/18 15:46, Jim Nagel wrote: >> - NetSurf displays the pages served up via WebJames perfectly, >> except that it is NOT obeying the stylesheet > I guess WebJames is not serving the CSS file with the "text/css" MIME > type. I think there's a mimemap fil

Re: linking to root of website, not root of drive

2018-02-19 Thread Michael Drake
On 19/02/18 15:46, Jim Nagel wrote: > - NetSurf displays the pages served up via WebJames perfectly, > except that it is NOT obeying the stylesheet I guess WebJames is not serving the CSS file with the "text/css" MIME type. I think there's a mimemap file that lives somewhere in !Boot, which ma

Re: linking to root of website, not root of drive

2018-02-19 Thread Jim Nagel
Richard Porter wrote on 19 Feb: > I have the same problem. I'm running WebJames with its root directory > as the directory containing my web sites. That means that "/" on the > local site takes me back to the top level and not the root of the site > I want. Eureka! I tried setting a system vari

Re: linking to root of website, not root of drive

2018-02-19 Thread Tim Hill
In article <92f5dfcc56@6.abbeypress.net>, Jim Nagel wrote: > Richard Porter wrote on 19 Feb: > > ... I don't think your ISP's software comes into it unless your ISP > > is also your hosting company. > Sorry: I used the wrong term. I did mean the hosting company. No, you didn't. Hosting is

Re: linking to root of website, not root of drive

2018-02-19 Thread Tim Hill
In article <20180219154920.gj3...@platypus.pepperfish.net>, Rob Kendrick wrote: > On Mon, Feb 19, 2018 at 03:46:41PM +, Jim Nagel wrote: > > - Netsurf displays the pages served up via Webjames perfectly, > > except that it is NOT obeying the stylesheet (which is /2018.css ) > > even though

linking to root of website, not root of drive

2018-02-19 Thread Tim Hill
In article <9f33c3cc56@6.abbeypress.net>, Jim Nagel wrote: [Snip] >2018.css or ../2018.css or ../../2018.css etc [Snip] > Is there a way around this? [Snip] I'm going to run away and hide after writing this: 1. Apart from files in the root, link them all with ../ and copy th

Re: linking to root of website, not root of drive

2018-02-19 Thread Jim Nagel
Richard Porter wrote on 19 Feb: > ... I don't think your ISP's software comes into it unless your ISP is > also your hosting company. Sorry: I used the wrong term. I did mean the hosting company. -- Jim Nagel www.archivemag.co.uk || See you at the show? www.risco

Re: linking to root of website, not root of drive

2018-02-19 Thread Rob Kendrick
On Mon, Feb 19, 2018 at 03:46:41PM +, Jim Nagel wrote: > - Netsurf displays the pages served up via Webjames perfectly, > except that it is NOT obeying the stylesheet (which is /2018.css ) > even though the Webjames log records a GET success for the CSS file > just as it did for the logo

Re: linking to root of website, not root of drive

2018-02-19 Thread Jim Nagel
Michael Drake wrote on 19 Feb: > Use a webserver to serve the root directory of the web > site you're developing, and point your browser at > http://localhost/I believe WebJames can do this on RISC OS. Thanks. I've now got Webjames successfully serving local pages, and obeying those "absolu

Re: linking to root of website, not root of drive

2018-02-19 Thread Richard Porter
On 19 Feb 2018 Jim Nagel wrote: > Is there a way around this? Is there some setting I would need to > make in Netsurf to define what I mean by "/" as root? (Presumably > there is such a setting in my ISP's software, for I am not being taken > to the root of their drive!) I have the same proble

Re: linking to root of website, not root of drive

2018-02-19 Thread Daniel Silverstone
On Mon, Feb 19, 2018 at 10:35:22 +, Jim Nagel wrote: > Is there a way around this? Is there some setting I would need to > make in Netsurf to define what I mean by "/" as root? (Presumably > there is such a setting in my ISP's software, for I am not being taken > to the root of their drive

Re: linking to root of website, not root of drive

2018-02-19 Thread Michael Drake
On 19/02/18 10:35, Jim Nagel wrote: [snip] Is there a way around this? Use a webserver to serve the root directory of the web site you're developing, and point your browser at http://localhost/ I believe WebJames can do this on RISC OS. Cheers, -- Michael Drake

linking to root of website, not root of drive

2018-02-19 Thread Jim Nagel
I have tidied up one of my websites to make better use of CSS, and now intend to add some new pages to it. Of course I want to keep it Netsurf-friendly. The section of each article includes the usual link to my stylesheet, which (in Linux filepath syntax) might be 2018.css or ../2018