Gnus development mailing list
 help / color / mirror / Atom feed
* Gnus and ewws
@ 2014-02-21 16:30 Matt Ford
  2014-02-21 23:51 ` Adam Sjøgren
  2014-03-05 14:07 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 5+ messages in thread
From: Matt Ford @ 2014-02-21 16:30 UTC (permalink / raw)
  To: ding

Hi,

Do shr and ewws have the same DNA?  It seems eww does a better job at
rendering web pages than shr does at rendering messages...

Can I use ewws to render my messages?
-- 
Matt




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnus and ewws
  2014-02-21 16:30 Gnus and ewws Matt Ford
@ 2014-02-21 23:51 ` Adam Sjøgren
  2014-02-22  3:40   ` Steinar Bang
  2014-03-05 14:07 ` Lars Ingebrigtsen
  1 sibling, 1 reply; 5+ messages in thread
From: Adam Sjøgren @ 2014-02-21 23:51 UTC (permalink / raw)
  To: ding


Matt Ford <matt@dancingfrog.co.uk> writes:

> Do shr and ewws have the same DNA?  It seems eww does a better job at
> rendering web pages than shr does at rendering messages...

Do you mean shr and "eww"? I'm pretty sure that eww mostly uses shr
under the hood, as it were.

What kinds of differences do you see?


  Best regards,

    Adam

-- 
 "Apparantly I was misinformed."                              Adam Sjøgren
                                                         asjo@koldfront.dk




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnus and ewws
  2014-02-21 23:51 ` Adam Sjøgren
@ 2014-02-22  3:40   ` Steinar Bang
  2014-02-22  8:33     ` Adam Sjøgren
  0 siblings, 1 reply; 5+ messages in thread
From: Steinar Bang @ 2014-02-22  3:40 UTC (permalink / raw)
  To: ding

>>>>> asjo@koldfront.dk (Adam Sjøgren):

> What kinds of differences do you see?

Cne difference could be that the renderer in Gnus doesn't by default,
and design, fetch messages referenced by <img> (and presumably doesn't
fetch <iframe>s for the same reason...?).




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnus and ewws
  2014-02-22  3:40   ` Steinar Bang
@ 2014-02-22  8:33     ` Adam Sjøgren
  0 siblings, 0 replies; 5+ messages in thread
From: Adam Sjøgren @ 2014-02-22  8:33 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

> Cne difference could be that the renderer in Gnus doesn't by default,
> and design, fetch messages referenced by <img>

Maybe changing:

,----[ C-h v mm-w3m-safe-url-regexp RET ]
| mm-w3m-safe-url-regexp is a variable defined in `mm-decode.el'.
| Its value is nil
| Original value was "\\`cid:"
| 
| Documentation:
| Regexp matching URLs which are considered to be safe.
| Some HTML mails might contain a nasty trick used by spammers, using
| the <img> tag which is far more evil than the [Click Here!] button.
| It is most likely intended to check whether the ominous spam mail has
| reached your eyes or not, in which case the spammer knows for sure
| that your email address is valid.  It is done by embedding an
| identifier string into a URL that you might automatically retrieve
| when displaying the image.  The default value is "\\`cid:" which only
| matches parts embedded to the Multipart/Related type MIME contents and
| Gnus will never connect to the spammer's site arbitrarily.  You may
| set this variable to nil if you consider all urls to be safe.
`----

and checking out:

,----[ C-h v gnus-inhibit-images RET ]
| gnus-inhibit-images is a variable defined in `gnus-art.el'.
| Its value is nil
| 
| Documentation:
| Non-nil means inhibit displaying of images inline in the article body.
`----

could make a difference?

> (and presumably doesn't fetch <iframe>s for the same reason...?).

I don't think shr handles frames nor iframes at all?

  $ zgrep '(defun shr-tag-' /usr/share/emacs/24.3.50/lisp/net/shr.el.gz | wc -l
  44
  $ zgrep '(defun shr-tag-' /usr/share/emacs/24.3.50/lisp/net/shr.el.gz | grep frame
  $ 


  Best regards,

    Adam

-- 
 "HALLELUJAH!                                                 Adam Sjøgren
  Så att säga."                                          asjo@koldfront.dk




^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Gnus and ewws
  2014-02-21 16:30 Gnus and ewws Matt Ford
  2014-02-21 23:51 ` Adam Sjøgren
@ 2014-03-05 14:07 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 5+ messages in thread
From: Lars Ingebrigtsen @ 2014-03-05 14:07 UTC (permalink / raw)
  To: Matt Ford; +Cc: ding

Matt Ford <matt@dancingfrog.co.uk> writes:

> Do shr and ewws have the same DNA?  It seems eww does a better job at
> rendering web pages than shr does at rendering messages...

eww uses shr for almost all rendering.  The only thing that eww does
that shr doesn't is to render <form> elements.

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-03-05 14:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-21 16:30 Gnus and ewws Matt Ford
2014-02-21 23:51 ` Adam Sjøgren
2014-02-22  3:40   ` Steinar Bang
2014-02-22  8:33     ` Adam Sjøgren
2014-03-05 14:07 ` Lars Ingebrigtsen

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 NNTP newsgroup(s).