* bug#26231: 25.1; eww-open-file of downloaded html page fails redirect
@ 2017-03-23 23:55 Andrea
2017-03-24 0:16 ` Andrea
2018-04-12 23:32 ` Lars Ingebrigtsen
0 siblings, 2 replies; 3+ messages in thread
From: Andrea @ 2017-03-23 23:55 UTC (permalink / raw)
To: 26231
Hello,
thanks a lot for maintaining this fantastic editor: it was my start in
the lisp world and I am really grateful!
I am having fun extending org-feed to download the whole contents of
feeds. To do this I am automatically downloading the relating html page
and opening it with eww-open-file.
It is a couple of times that I get an error with some particular html
pages: they contain an element <noscript> which forces the refresh of
the page.
Strangely, opening this sort of pages with eww-open-file fails the
redirection. For example with the attached html page (saved in the /tmp
directory of a Linux system) I get:
url-file: File does not exist: file:///tmp/’http://blog.getpostman.com/2017/03/14/going-native/?utm_source=All+contacts&ModPagespeed=noscript’
I can fix this by removing the <noscript> element of the html with
"sed", but I thought that you may want to be aware of this strange
behaviour: why does eww try to lookup the redirection reference locally
if it is an http address?
Thanks again for the great Emacs!
All the best,
Andrea
----
In GNU Emacs 25.1.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.24.31)
of 2017-02-22 built on localhost
Windowing system distributor 'The X.Org Foundation', version 11.0.11804000
Configured using:
'configure --disable-dependency-tracking
--prefix=/nix/store/c7q3xa60rw6wvdgvfs737jsvpxc8h771-emacs-25.1
--with-modules --with-x-toolkit=gtk2 --with-xft'
Configured features:
XPM JPEG TIFF GIF PNG RSVG SOUND DBUS GSETTINGS NOTIFY GNUTLS LIBXML2
FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS GTK2 X11 MODULES
Important settings:
value of $LC_MONETARY: en_GB.UTF-8
value of $LC_NUMERIC: en_GB.UTF-8
value of $LC_TIME: en_GB.UTF-8
value of $LANG: en_GB.UTF-8
value of $XMODIFIERS: @im=ibus
locale-coding-system: utf-8
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#26231: 25.1; eww-open-file of downloaded html page fails redirect
2017-03-23 23:55 bug#26231: 25.1; eww-open-file of downloaded html page fails redirect Andrea
@ 2017-03-24 0:16 ` Andrea
2018-04-12 23:32 ` Lars Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Andrea @ 2017-03-24 0:16 UTC (permalink / raw)
To: 26231
[-- Attachment #1: Type: text/plain, Size: 47 bytes --]
Sorry, forgot to attach the html page.
Andrea
[-- Attachment #2: bla.html --]
[-- Type: text/html, Size: 51260 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#26231: 25.1; eww-open-file of downloaded html page fails redirect
2017-03-23 23:55 bug#26231: 25.1; eww-open-file of downloaded html page fails redirect Andrea
2017-03-24 0:16 ` Andrea
@ 2018-04-12 23:32 ` Lars Ingebrigtsen
1 sibling, 0 replies; 3+ messages in thread
From: Lars Ingebrigtsen @ 2018-04-12 23:32 UTC (permalink / raw)
To: Andrea; +Cc: 26231
Andrea <agiugliano91@gmail.com> writes:
> Strangely, opening this sort of pages with eww-open-file fails the
> redirection. For example with the attached html page (saved in the /tmp
> directory of a Linux system) I get:
>
> url-file: File does not exist: file:///tmp/’http://blog.getpostman.com/2017/03/14/going-native/?utm_source=All+contacts&ModPagespeed=noscript’
This seems to be fixed in Emacs now -- at least I can't reproduce it
with the attached HTML file.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-12 23:32 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 23:55 bug#26231: 25.1; eww-open-file of downloaded html page fails redirect Andrea
2017-03-24 0:16 ` Andrea
2018-04-12 23:32 ` Lars Ingebrigtsen
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).