Re: BBC news site misbehaving.

2012-11-29 Thread Learning Partners

 If you use http://m.bbc.co.uk/home/desktop you'll get the correct page
 clicking on 'News'.

 I spoke too soon. I think cookies are coming into play here. It was
 working OK, I deleted all the bbc cookies and it went wrong again,
 even for the main bbc web site.

 Richard Porter

I have very easily altered Netsurf homepage link to BBC news to above link
pro tem for when / if BBC respond to any objections sent (there is a form
at the bottom of the mobile page). I presume this could be carried out by
the developers if no better workround is found - but I am confident one
will be (rather like the Google problem).

John




Full Save not setting of CSS files

2012-11-29 Thread John Rickman Iyonix
When you run a NetSurf Full Save application it does not act on the 
the CSS information because the CSS file is given a type of Text.

This is on an Iyonix 5.19, NetSurf #674. I think it used to work but 
am not sure.

As an example open:-

   http://rickman.orpheusweb.co.uk/temp/

do a Full Save, then run the resulting !temp application. The 
background picture is not shown and the two column layout is lost.

On my machine the CSS file created is called 0x71755530, and has a 
type of text. If this is changed to type CSS the two column layout is 
reinstated but the background image is still not shown because the 
name in the CSS file no longer matches the name of the image that 
NetSurf has created.

I will report as a bug if it is confirmed here.
-- 
John - http://mug.riscos.org/




Re: Full Save not setting of CSS files

2012-11-29 Thread Brian Jordan
In message 152966f652.iyoj...@rickman.argonet.co.uk
  John Rickman Iyonix rick...@argonet.co.uk wrote:

 When you run a NetSurf Full Save application it does not act on the
 the CSS information because the CSS file is given a type of Text.

 This is on an Iyonix 5.19, NetSurf #674. I think it used to work but
 am not sure.

 As an example open:-

http://rickman.orpheusweb.co.uk/temp/

 do a Full Save, then run the resulting !temp application. The
 background picture is not shown and the two column layout is lost.

 On my machine the CSS file created is called 0x71755530, and has a
 type of text. If this is changed to type CSS the two column layout is
 reinstated but the background image is still not shown because the
 name in the CSS file no longer matches the name of the image that
 NetSurf has created.


[snip]

 Here the CSS file (in this case 0x67192c10) is shown as the 
 correct type (f79 CSS) and I see the two column layout when 
 I load the HTML file. The background image is saved as a jpg 
 file 0x669d26e0 but the reference within the CSS file is 
 unchanged as torridon.jpg. Editing the CSS file to use the 
 saved name of the graphic file achieves the correct result. 
 It looks like the CSS file should be edited in the full save 
 process or the graphic file should have its name unchanged. 
 This in version 685 of Netsurf and after a quick check all 
 the above seems to apply under Netsurf 2.9.

Brian




-- 

Brian Jordan
Virtual RPC-AdjustSA
RISC OS 6.20



Re: Full Save not setting of CSS files

2012-11-29 Thread John Rickman Iyonix


  John Rickman Iyonix wrote:

 When you run a NetSurf Full Save application it does not act on the
 the CSS information because the CSS file is given a type of Text.
 This is on an Iyonix 5.19, NetSurf #674.
eg
http://rickman.orpheusweb.co.uk/temp/

 do a Full Save, then run the resulting !temp application. The
 background picture is not shown and the two column layout is lost.
...

Brian Jordan  wrote

  Here the CSS file (in this case 0x67192c10) is shown as the
  correct type (f79 CSS) and I see the two column layout when
  I load the HTML file. The background image is saved as a jpg
  file 0x669d26e0 but the reference within the CSS file is
  unchanged as torridon.jpg. Editing the CSS file to use the
  saved name of the graphic file achieves the correct result.
  It looks like the CSS file should be edited in the full save
  process or the graphic file should have its name unchanged.
  This in version 685 of Netsurf and after a quick check all
  the above seems to apply under Netsurf 2.9.


Thanks Brian
I have just updated to #685 but get the same result, ie the css file 
is typed Text.
Are you using RISC OS 5.19?





-- 
John - http://mug.riscos.org/




Re: Full Save not setting of CSS files

2012-11-29 Thread Brian Jordan
In message d58c6df652.iyoj...@rickman.argonet.co.uk
  John Rickman Iyonix rick...@argonet.co.uk wrote:



  John Rickman Iyonix wrote:

 When you run a NetSurf Full Save application it does not act on the
 the CSS information because the CSS file is given a type of Text.
 This is on an Iyonix 5.19, NetSurf #674.
eg
http://rickman.orpheusweb.co.uk/temp/

 do a Full Save, then run the resulting !temp application. The
 background picture is not shown and the two column layout is lost.
 ...

 Brian Jordan  wrote

  Here the CSS file (in this case 0x67192c10) is shown as the
  correct type (f79 CSS) and I see the two column layout when
  I load the HTML file. The background image is saved as a jpg
  file 0x669d26e0 but the reference within the CSS file is
  unchanged as torridon.jpg. Editing the CSS file to use the
  saved name of the graphic file achieves the correct result.
  It looks like the CSS file should be edited in the full save
  process or the graphic file should have its name unchanged.
  This in version 685 of Netsurf and after a quick check all
  the above seems to apply under Netsurf 2.9.


 Thanks Brian
 I have just updated to #685 but get the same result, ie the css file
 is typed Text.
 Are you using RISC OS 5.19?

John
Is this file type a mimemap issue? Does your mimemap file contain a 
line like text/css  CSS f79 .css? If not it might help to add it. As 
to my operating system it is 6.20 on a Virtual Acorn.
-- 

Brian Jordan
Virtual RPC-AdjustSA
RISC OS 6.20



Re: Full Save not setting of CSS files

2012-11-29 Thread David Pitt
John Rickman Iyonix, on 29 Nov, wrote:

 When you run a NetSurf Full Save application it does not act on the the
 CSS information because the CSS file is given a type of Text.
 
 This is on an Iyonix 5.19, NetSurf #674. I think it used to work but am
 not sure.
 
 As an example open:-
 
http://rickman.orpheusweb.co.uk/temp/
 
 do a Full Save, then run the resulting !temp application. The background
 picture is not shown and the two column layout is lost.

There are two style sheets referenced in the original, as retrieved with a
normal save :-

 link rel=stylesheet type=text/css href=home.css /
 link rel=stylesheet type=text/css href=local.css /

The full save only recognizes the first of these :-

 LINK rel=stylesheet type=text/css href=0x68d0f9c8/LINK
 LINK rel=stylesheet type=text/css
href=http://rickman.orpheusweb.co.uk/temp/local.css;/LINK

http://rickman.orpheusweb.co.uk/temp/local.css on its own gives a not found
error.

There does appear to be some garbage at the top of the full save index file.

 On my machine the CSS file created is called 0x71755530, and has a type of
 text. If this is changed to type CSS the two column layout is reinstated
 but the background image is still not shown because the name in the CSS
 file no longer matches the name of the image that NetSurf has created.

The css file is correctly typed here on the ARMini, mimemap does have the
css entry.

Hope this helps.

-- 
David Pitt