Re: saving out the URL -- gotcha

2008-12-08 Thread Tony Moore
On 8 Dec 2008, Jim Nagel <[EMAIL PROTECTED]> wrote:
> Michael Drake  wrote on 8 Dec:
> > In article <[EMAIL PROTECTED]>,
> >Jim Nagel <[EMAIL PROTECTED]> wrote:
>
> > > the gotcha, as i discovered the hard way, is that Netsurf gives
> > > this URL a filename that is the same as the leafname of the URL.
> > > which in the case of http://www.avisoft.force9.co.uk/TaskUsage.htm
> > > was TaskUsage, which happened also to be the name of the main
> > > module within the app.
>
> > Iconbar menu > Choices...  Open the "Interface" section and untick
> > "Strip filename extensions when saving".
>
> OK, that saves my URL as "taskusage/htm".  it isn't an HTML file, but
> i guess i can live with this inelegancy since it makes the gotcha less
> likely to happen.

That doesn't solve the problem. If a link points to, say, download.zip ,
both the downloaded zip, and the saved url file, will have the leafname
download/zip , so that one overwrites the other.

I would support Jim's earlier suggestion that the url file should be
named with a /url extension. Even download/zip/url would be ok.

Tony







Re: saving out the URL -- gotcha

2008-12-08 Thread Richard Ashbery
In article <[EMAIL PROTECTED]>, Jim Nagel
<[EMAIL PROTECTED]> wrote

[snip]

> now, whenever i download a utility or application, i always save
> the URL and file it inside the app, so that in future i know where
> to check for background information or updates.

Sounds a little dicey to me. I know it keeps the number of files to a
minimum but there is always the danger of overwriting things inside
the app.

> perhaps, to be safe, Netsurf could modify the leafname somehow --
> maybe, in this case, "taskusage~" or "taskusage/url". 

It might be safer..

Regards

Richard




Re: streetmap.co.uk

2008-12-08 Thread Michael Drake
In article <[EMAIL PROTECTED]>,
   Richard Porter <[EMAIL PROTECTED]> wrote:
> On 6 Dec 2008 Rob Kendrick wrote:

> > A browser that cannot render broken HTML is not a useful thing, given
> > the vast majority of sites are broken.  Thus, knowing that sites are
> > broken is not useful.

> But knowing how they are broken is, and so is knowing how mainstream 
> browsers deal with the same faults. Knowing that a site is valid is 
> also useful, since a browser must correctly render compliant sites.

The point that Rob and I really wanted to make is; if you find a page that
NetSurf makes a mess of, telling the web master of the site that their
pages fail to validate will never help NetSurf render that page.

Even if the web master immediately fixed the reams of trivial issues the
validator throws up there wouldn't be a change in NetSurf's rendering. The
validator checks markup grammar and syntax, but issues with these will
cause the same effects in NetSurf as in other browsers. HTML5 has
formulated exactly how to handle bad HTML syntax and grammar based on the
behaviour of the mainstream browsers. NetSurf now has an implementation of
the HTML5 parsing algorithm, so be behave has other browsers do in the
face of invalid HTML.

So if you find a site that doesn't work with NetSurf and you would like to
contact the web master about it, hoping they'll be able to produce a work
around faster than we can fix NetSurf then consider the following:

+ If the site doesn't work in a mainstream browser with JavaScript disabled
  then NetSurf has no chance. You could let the web master know that you
  need to be able to access the site without JavaScript to use it.

+ If the site does work in a mainstream browser with JavaScript disabled
  then NetSurf should probably manage and it's a NetSurf bug or
  un-implemented feature at fault. The only way for the web master to do
  anything about it would be to install NetSurf and try it for themselves.
  We have the following page for this purpose:
  http://www.netsurf-browser.org/webmasters/
  Maybe we could update that page with more info.

Of course, even if you contact the web master about a page, the NetSurf
developers would like to see it too, so always report non-working sites to
us. :)

Note, I've said "you", but I really meant to address any NetSurf user here.

Best regards,

Michael

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/




Re: saving out the URL -- gotcha

2008-12-08 Thread Jim Nagel
Michael Drake  wrote on 8 Dec:

> In article <[EMAIL PROTECTED]>,
>Jim Nagel <[EMAIL PROTECTED]> wrote:

>> the gotcha, as i discovered the hard way, is that Netsurf gives this
>> URL a filename that is the same as the leafname of the URL.  which in
>> the case of http://www.avisoft.force9.co.uk/TaskUsage.htm was
>> TaskUsage, which happened also to be the name of the main module
>> within the app.

> Iconbar menu > Choices...  Open the "Interface" section and untick "Strip
> filename extensions when saving".

OK, that saves my URL as "taskusage/htm".  it isn't an HTML file, but 
i guess i can live with this inelegancy since it makes the gotcha less 
likely to happen.

the next item on Choices>Interface, now that i'm looking there, 
happens to be "Request confirmation before overwriting files".  this 
IS ticked.  curious, then, that i had no confirmation before the URL 
file overwrote the module.



-- 
>>> no need to reply my entire message back to me ;=]
Jim Nagelwww.archivemag.co.uk
   Abbey Press   32 Norbins Rd(01458) 83 3603
   Glastonbury   BA6 9JG pocket 0797 415 3861



Re: saving out the URL -- gotcha

2008-12-08 Thread Michael Drake
In article <[EMAIL PROTECTED]>,
   Jim Nagel <[EMAIL PROTECTED]> wrote:

> the gotcha, as i discovered the hard way, is that Netsurf gives this 
> URL a filename that is the same as the leafname of the URL.  which in 
> the case of http://www.avisoft.force9.co.uk/TaskUsage.htm was 
> TaskUsage, which happened also to be the name of the main module 
> within the app.

Iconbar menu > Choices...  Open the "Interface" section and untick "Strip
filename extensions when saving".

Michael

-- 

Michael Drake (tlsa)  http://www.netsurf-browser.org/




saving out the URL -- gotcha

2008-12-08 Thread Jim Nagel
it's nifty that Netsurf lets you drag the contents of the address bar 
and it gets saved as text, into a filer directory or into an 
application such as Edit or Impression.  or Shift-drag it, and it gets 
saved with filetype URL.  nifty.

now, whenever i download a utility or application, i always save the 
URL and file it inside the app, so that in future i know where to 
check for background information or updates.

the gotcha, as i discovered the hard way, is that Netsurf gives this 
URL a filename that is the same as the leafname of the URL.  which in 
the case of http://www.avisoft.force9.co.uk/TaskUsage.htm was 
TaskUsage, which happened also to be the name of the main module 
within the app.  so no wonder the app did not work:  i had overwritten 
its operative module.  i would think this example quite typical of 
many apps and their webpages.

the moral, i guess, is that this trick of dragging the contents of a 
window (or field) to disk is nice, but since the user never sees the 
conventional RiscOS Save dialogue, you have to be on guard for the 
name the resultant file gets.

perhaps, to be safe, Netsurf could modify the leafname somehow -- 
maybe, in this case, "taskusage~" or "taskusage/url".  (Fresco had a 
similar drag-it-out trick, and its filename was always just "URL".)

-- 
>>> no need to reply my entire message back to me ;=]
Jim Nagelwww.archivemag.co.uk
   Abbey Press   32 Norbins Rd(01458) 83 3603
   Glastonbury   BA6 9JG pocket 0797 415 3861



Re: Streetmap oddity!

2008-12-08 Thread Richard Porter
On 8 Dec 2008 Torrens (lists) wrote:

> Streetmap's old site
> http://www.streetmap.co.uk/newdefaulte2.htm

> There is a peculiarity in Netsurf ( r5886 )

> If you type in a postcode, Streetmap finds it OK.

> But if you drag and drop the same postcode, then click on Search,
> Streetmap returns an error page (which gets displayed as text).

> So why is drag and drop into Netsurf giving the wrong thing? CTRL C-V
> works as drag and drop.

In case it helps anyone, I've included the following form in my local 
home page. It still calls up the old style site which works on NS and 
Fresco. I prefer to use Fresco because the saved Draw files are very 
much easier to unpack leaving just the map.


http://www.streetmap.co.uk/newsearch.srf?"; 
name="f" method="post">







 Post Code
 GB Place
 UK Street
 London Street

 OS grid (x,y)
 Landranger
 Lat/Long
 Tel Code


-- 
 _
|_|. _   Richard Porter   http://www.minijem.plus.com/
|\_||_mailto:[EMAIL PROTECTED]
Disclaimer: I disclaim everything.



Re: Streetmap oddity!

2008-12-08 Thread Torrens (lists)
In article <[EMAIL PROTECTED]>,
   Kevin Wells <[EMAIL PROTECTED]> wrote:
> >So why is drag and drop into Netsurf giving the wrong thing? CTRL C-V
> >works as drag and drop.
> >

> I think it is a soft space when you type but a hard space when you drag
> abd drop or CTRL C-V

That _would_ explain it. However the text I drag in contains a soft space.
If NetSurf munges that into a hard space, then there is a problem!

Deleting the (dragged) space and typing a soft space does cure it.

Would someone care to file a bug report?

-- 
Richard Torrens.
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
and more!



Re: Streetmap oddity!

2008-12-08 Thread Kevin Wells
In message <[EMAIL PROTECTED]>
  "Torrens (lists)" <[EMAIL PROTECTED]> wrote:

>Streetmap's old site
>http://www.streetmap.co.uk/newdefaulte2.htm
>
>There is a peculiarity in Netsurf ( r5886 )
>
>If you type in a postcode, Streetmap finds it OK.
>
>But if you drag and drop the same postcode, then click on Search,
>Streetmap returns an error page (which gets displayed as text).
>
>So why is drag and drop into Netsurf giving the wrong thing? CTRL C-V
>works as drag and drop.
>

I think it is a soft space when you type but a hard space when you drag
abd drop or CTRL C-V

Testing on one of my site's that uses forms I did a type and got this
result:



Using CTRL C to copy and CTRL V to paste I got this result





-- 
Kev Wells  http://riscos.kevsoft.co.uk/
http://kevsoft.co.uk/   http://kevsoft.co.uk/AleQuest/
ICQ 238580561
Real Stupidity beat Artificial Intelligence 11 times out of 10.



Streetmap oddity!

2008-12-08 Thread Torrens (lists)
Streetmap's old site
http://www.streetmap.co.uk/newdefaulte2.htm

There is a peculiarity in Netsurf ( r5886 )

If you type in a postcode, Streetmap finds it OK.

But if you drag and drop the same postcode, then click on Search,
Streetmap returns an error page (which gets displayed as text).

So why is drag and drop into Netsurf giving the wrong thing? CTRL C-V
works as drag and drop.

-- 
Richard Torrens.
http://www.Torrens.org.uk for genealogy, natural history, wild food, walks, cats
and more!