Friday, 29 June 2018

Re: launching a PDF from a link

On 28 June 2018 19:13:56 BST, Tim Hill <tim@timil.com> wrote:
[snip]
>It's easy to think NetSurf really ought to have to option to Filer_Run
>any file it doesn't understand after downloading it but it doesn't; it
>leaves you to do that which is fine up to a point but a shame because
>it
>prevents sound and video playing from a link, just as it makes you open
>your downloaded PDFs 'manually'.
>
>I'm expecting to find a utility somewhere which will monitor a specific
>folder and filer_run anything saved there but having no luck so far.

Though on more popular OSs many take the opportunity to selectively disable auto-run net stuff for obvious reasons.
--
Fred
@ypical ink

Thursday, 28 June 2018

Re: launching a PDF from a link

In message <570f5c0542tim@timil.com>
Tim Hill <tim@timil.com> wrote:

>In article <f7f9420f57.ricp@user.minijem.plus.com>, Richard Porter
><ricp@minijem.plus.com> wrote:

>I'm expecting to find a utility somewhere which will monitor a specific
>folder and filer_run anything saved there but having no luck so far.

Talk of monitoring implies something that runs as a task and which
stores the state of the folder and only acts when it notes that the
state has changed. For a lot less effort you could have a utility
that you start yourself, say by doubleclicking on its icon,
that simply filer_runs whatever appropriate stuff it finds in the folder.
But maybe the whole point of what you are looking for is that it
acts automatically without the user having to start it?

--
Gavin Wraith (gavin@wra1th.plus.com)
Home page: http://www.wra1th.plus.com/

Re: launching a PDF from a link

In article <f7f9420f57.ricp@user.minijem.plus.com>, Richard Porter
<ricp@minijem.plus.com> wrote:
> On 28 Jun 2018 Jim Nagel wrote:

> > When you click the link for a Jpeg (or various other types of file),
> > the file opens immediately. Why does PDF behave differently? What
> > is the mechanism involved?

> I think that offering a save dialogue is the norm. Netsurf processes
> JPEG, GIF and PNG files itself, plus html and text of course, so
> there's no need to save them.

It's easy to think NetSurf really ought to have to option to Filer_Run
any file it doesn't understand after downloading it but it doesn't; it
leaves you to do that which is fine up to a point but a shame because it
prevents sound and video playing from a link, just as it makes you open
your downloaded PDFs 'manually'.

I'm expecting to find a utility somewhere which will monitor a specific
folder and filer_run anything saved there but having no luck so far.

--

Tim Hill

timil.com : tjrh.eu : butterwick.eu : blue-bike.uk : youngtheatre.co.uk

Re: launching a PDF from a link

On 28 Jun 2018 Jim Nagel wrote:

> When you click the link for a Jpeg (or various other types of file),
> the file opens immediately. Why does PDF behave differently? What is
> the mechanism involved?

I think that offering a save dialogue is the norm. Netsurf processes JPEG,
GIF and PNG files itself, plus html and text of course, so there's no need
to save them.

> And why does the PDF link cause BOTH the download dialogue AND a blank
> web page to appear?

It doesn't unless there's a target="_new" argument or equivalent and
you've got "Allow links to open in new windows" ticked in Choices >
Content.

BUT

It's different if you click on an html link in Messenger Pro. In that case
NetSurf always opens a new window and then decides what to do. I raised a
feature request about this ages ago, but to no avail.

Richard
--
Richard Porter http://www.minijem.plus.com/
t: @westernexplorer mailto:ricp@minijem.plus.com
I don't want a "user experience" - I just want stuff that works.

Wednesday, 27 June 2018

launching a PDF from a link

Is there a way of causing Netsurf to actually open a PDF, rather than
offering to download it, when the user clicks a link to the PDF?

When you click the link for a Jpeg (or various other types of file),
the file opens immediately. Why does PDF behave differently? What is
the mechanism involved?

And why does the PDF link cause BOTH the download dialogue AND a blank
web page to appear?

I'm using RiscOS 5.23 and at the moment Netsurf #4342.
(I presume things would differ for, say, Amiga instead of RiscOS.)

--
Jim Nagel www.archivemag.co.uk

Tuesday, 26 June 2018

NS SDK workshop at RMLL / Libre Software Meeting (Strasbourg, July 8th)

Hi,

Next week (July 7th-12th) the Libre Software Meeting (RMLL: Rencontres
Mondiales du Logiciel Libre) will take place in Strasbourg, France.


I'll be giving a workshop about installing and using the NS SDK to
cross-compile stuff for Atari, Amiga & friends.

cf.

https://2018.rmll.info/fr/program/calendar/table


Also the occasion to mention NS, and maybe find new contributors.


François.

Thursday, 14 June 2018

Re: Image won't display

On 12/06/18 18:35, Richard Torrens (lists) wrote:

> That is because I have changed the image name so that it does work!

Now: http://stronged.torrens.org/man/modes/img/clklist.png

Why is that even an image?

--
Vince M Hudd - Soft Rock Software - www.softrock.co.uk
RISCOSitory - www.riscository.com