Gnus development mailing list
 help / color / mirror / Atom feed
* Why doesn't this render in gnus shr/eww?
@ 2015-01-30 20:30 Steinar Bang
  2015-01-30 23:51 ` Adam Sjøgren
  2015-01-31  0:49 ` Lars Ingebrigtsen
  0 siblings, 2 replies; 8+ messages in thread
From: Steinar Bang @ 2015-01-30 20:30 UTC (permalink / raw)
  To: ding

Platform: Intel P4, debian testing ("jessie")
          Emacs-version: GNU Emacs 24.4.1 (i586-pc-linux-gnu, GTK+ Version 3.14.4) of 2014-10-26 on x86-csail-01, modified by Debian
          Gnus-version: Ma Gnus v0.8 (git master HEAD)


This article nntp://news.gwene.org/gwene.no.tu.forside/549
has this content type:
 Content-Type: text/html; charset=utf-8

with this content 
 <img src="http://www.tu.no/incoming/2015/01/02/1200036172.jpg/alternates/h585/1200036172.jpg" alt="Foto: Luminator />
 <p>Hindrer at gangfeltene forsvinner om vinteren.</p>

 <p><a href="http://www.tu.no/samferdsel/2015/01/03/her-kan-de-fa-gangfelt-som-lyser-oppa-snoen">Link</a>

and it renders like this:
 Foto: Lu
 Link

I would have expected shr/eww to be able to show that image and that
link?  It does in other articles in the same group (well, I haven't seen
images in that particular feed, actually..., but the links are
clickable).





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

* Re: Why doesn't this render in gnus shr/eww?
  2015-01-30 20:30 Why doesn't this render in gnus shr/eww? Steinar Bang
@ 2015-01-30 23:51 ` Adam Sjøgren
  2015-01-31  0:49 ` Lars Ingebrigtsen
  1 sibling, 0 replies; 8+ messages in thread
From: Adam Sjøgren @ 2015-01-30 23:51 UTC (permalink / raw)
  To: ding

Steinar writes:

> I would have expected shr/eww to be able to show that image and that
> link?  It does in other articles in the same group (well, I haven't seen
> images in that particular feed, actually..., but the links are
> clickable).

For what it is worth, I get the image (after a slight delay, while it
downloads, I assume).


  Best regards,

    Adam

-- 
 "Kræmmersjæl - mit x-idol                                    Adam Sjøgren
  Så omsorgsfuld som en elektrisk stol"                  asjo@koldfront.dk




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

* Re: Why doesn't this render in gnus shr/eww?
  2015-01-30 20:30 Why doesn't this render in gnus shr/eww? Steinar Bang
  2015-01-30 23:51 ` Adam Sjøgren
@ 2015-01-31  0:49 ` Lars Ingebrigtsen
  2015-01-31 14:02   ` Steinar Bang
  1 sibling, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2015-01-31  0:49 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

> I would have expected shr/eww to be able to show that image and that
> link?  It does in other articles in the same group (well, I haven't seen
> images in that particular feed, actually..., but the links are
> clickable).

Have you set `gnus-inhibit-images' or `shr-blocked-images', by any
chance?

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



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

* Re: Why doesn't this render in gnus shr/eww?
  2015-01-31  0:49 ` Lars Ingebrigtsen
@ 2015-01-31 14:02   ` Steinar Bang
  2015-02-05  3:37     ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Steinar Bang @ 2015-01-31 14:02 UTC (permalink / raw)
  To: ding

>>>>> Lars Ingebrigtsen <larsi@gnus.org>:

> Steinar Bang <sb@dod.no> writes:
>> I would have expected shr/eww to be able to show that image and that
>> link?  It does in other articles in the same group (well, I haven't seen
>> images in that particular feed, actually..., but the links are
>> clickable).

> Have you set `gnus-inhibit-images' or `shr-blocked-images', by any
> chance?

Er yes... sorry!

But the "Link" should be clickable with <p><a></a> and libxml2 in HTML
parse mode, shouldn't it?  It isn't clickable for me in this article.

Also, it only shows the first 8 chars of the alt text (but this may be
normal...?)  Hm... seems to be the case for all articles.

The links are clickable in most of the articles in the same feed.

Here is one that is clickable: nntp://news.gwene.org/gwene.no.tu.forside/791

Content-Type: text/html; charset=utf-8

<img src="http://www.tu.no/migration_catalog/2011/10/20/tu20111020img_288211311_56_20-1110201103.jpg/alternates/w620/TU20111020IMG_288211311_56_20%201110201103.jpg" alt="Foto: J.¶rgen Skjelsb.¦k" />
<p>Ny dansk analyse. </p>

<p><a href="http://www.tu.no/kraft/2015/01/30/billigere-a-rive-hus-og-bygge-vindmoller-enn-a-bygge-ut-havvind">Link</a>

One thing that is common for all of the artcles that shows a clickable
link, is that they have an extra paragraph with a little bit of text.

The unclickable ones have just the <img /> and then the <p><a>Link</a>




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

* Re: Why doesn't this render in gnus shr/eww?
  2015-01-31 14:02   ` Steinar Bang
@ 2015-02-05  3:37     ` Lars Ingebrigtsen
  2015-02-05 17:19       ` Steinar Bang
  0 siblings, 1 reply; 8+ messages in thread
From: Lars Ingebrigtsen @ 2015-02-05  3:37 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

>> Have you set `gnus-inhibit-images' or `shr-blocked-images', by any
>> chance?
>
> Er yes... sorry!
>
> But the "Link" should be clickable with <p><a></a> and libxml2 in HTML
> parse mode, shouldn't it?  It isn't clickable for me in this article.

It should be, but the HTML in that article is degenerate:

------------
<img src="http://www.tu.no/incoming/2015/01/02/1200036172.jpg/alternates/h585/1200036172.jpg" alt="Foto: Luminator />
<p>Hindrer at gangfeltene forsvinner om vinteren.</p>

<p><a href="http://www.tu.no/samferdsel/2015/01/03/her-kan-de-fa-gangfelt-som-lyser-oppa-snoen">Link</a>
------------

Note how everything until the href=" in the article is contained within
the alt=" text.

> Also, it only shows the first 8 chars of the alt text (but this may be
> normal...?)  Hm... seems to be the case for all articles.

Yes, it limits the placeholder text (to be replaced by the image), I
think.

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



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

* Re: Why doesn't this render in gnus shr/eww?
  2015-02-05  3:37     ` Lars Ingebrigtsen
@ 2015-02-05 17:19       ` Steinar Bang
  2015-02-05 20:24         ` Steinar Bang
  0 siblings, 1 reply; 8+ messages in thread
From: Steinar Bang @ 2015-02-05 17:19 UTC (permalink / raw)
  To: ding

>>>>> Lars Ingebrigtsen <larsi@gnus.org>:

> Note how everything until the href=" in the article is contained within
> the alt=" text.

(if one doesn't need closing tags, why would one need closing quotes...?)




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

* Re: Why doesn't this render in gnus shr/eww?
  2015-02-05 17:19       ` Steinar Bang
@ 2015-02-05 20:24         ` Steinar Bang
  2015-02-06 10:03           ` Lars Ingebrigtsen
  0 siblings, 1 reply; 8+ messages in thread
From: Steinar Bang @ 2015-02-05 20:24 UTC (permalink / raw)
  To: ding

>>>>> Steinar Bang <sb@dod.no>:
>>>>> Lars Ingebrigtsen <larsi@gnus.org>:

>> Note how everything until the href=" in the article is contained within
>> the alt=" text.

> (if one doesn't need closing tags, why would one need closing quotes...?)

(which is my way of saying I'm embarassed I didn't sport that one...)






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

* Re: Why doesn't this render in gnus shr/eww?
  2015-02-05 20:24         ` Steinar Bang
@ 2015-02-06 10:03           ` Lars Ingebrigtsen
  0 siblings, 0 replies; 8+ messages in thread
From: Lars Ingebrigtsen @ 2015-02-06 10:03 UTC (permalink / raw)
  To: ding

Steinar Bang <sb@dod.no> writes:

> (which is my way of saying I'm embarassed I didn't sport that one...)

No worries, mate.

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



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

end of thread, other threads:[~2015-02-06 10:03 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-01-30 20:30 Why doesn't this render in gnus shr/eww? Steinar Bang
2015-01-30 23:51 ` Adam Sjøgren
2015-01-31  0:49 ` Lars Ingebrigtsen
2015-01-31 14:02   ` Steinar Bang
2015-02-05  3:37     ` Lars Ingebrigtsen
2015-02-05 17:19       ` Steinar Bang
2015-02-05 20:24         ` Steinar Bang
2015-02-06 10:03           ` 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).