When selecting the preview image (the small image shown to the right of each entry in the list of stories) NewsBlur is misinterpreting the SRCSET attribute in the tag of the feed. SRCSET is being treated as a single URL, instead of as a list to be selected from. I’ve observed this on the iOS client, the Android client, and the web interface, so I believe it’s something happening on the server end.
Examples are visible the feed at: https://www.jwz.org/blog/feed/?_=3781
For example, the story “Today in rectal eel news.“has a section that includes this:
https://www.jwz.org/images/scaled/768/2017/nintchdbpict000317791931.jpg”; data-size=“2000x1768” STYLE=“width: 100%; height: auto; max-width: 2000px; max-height: 1768px; border: 1px solid; box-sizing: border-box;” SRCSET=“https://www.jwz.org/images/scaled/768/2017/nintchdbpict000317791931.jpg 2000w, https://www.jwz.org/images/scaled/1280/2017/nintchdbpict000317791931.jpg 1280w, https://www.jwz.org/images/scaled/768/2017/nintchdbpict000317791931.jpg 768w, https://www.jwz.org/images/scaled/640/2017/nintchdbpict000317791931.jpg 640w, https://www.jwz.org/images/scaled/360/2017/nintchdbpict000317791931.jpg 360w” SIZES=”(max-width: 660px) 31vw, 23em">
In the HTML on the NewsBlur web interface, I’m given this:
which is trying to loadhttps://www.jwz.org/images/scaled/768/2017/nintchdbpict000317791931.jpg%202000w,%20https://www.jwz.o…
when I would have expectedhttps://www.jwz.org/images/scaled/768/2017/nintchdbpict000317791931.jpg
or something similar chosen from the list.
This happens with some frequency in JWZ’s feed, and he’s currently serving a special image for the malformed requests, which hopefully should make it easier to identify.
Hey I just fixed this last night. It should work on any stories published after 11pm PT yesterday.
I’ve observed the unexpected behavior again. In the feed https://www.jwz.org/blog/feed/?_=3781
For the item
I see no way this could possibly go wrong.
The has this:
https://www.jwz.org/images/scaled/768/2017/x-2017-11-28-at-9.18.13-pm.png"; data-size=“894x692” STYLE=“width: 50%; height: auto; max-width: 894px; max-height: 692px; border: 1px solid; box-sizing: border-box; margin: 0 0 1em 1em; float: right; clear: right;” SRCSET=“https://www.jwz.org/images/scaled/768/2017/x-2017-11-28-at-9.18.13-pm.png 894w, https://www.jwz.org/images/scaled/768/2017/x-2017-11-28-at-9.18.13-pm.png 768w, https://www.jwz.org/images/scaled/640/2017/x-2017-11-28-at-9.18.13-pm.png 640w, https://www.jwz.org/images/scaled/360/2017/x-2017-11-28-at-9.18.13-pm.png 360w” SIZES="(max-width: 660px) 50vw, 36em">
For the preview image on the story list, Newsblur for the web chose this URL:
I think it was working for a while. The item
<title>Baphomet dons his fearsome "Tree Topper" aspect.</title><link>https://www.jwz.org/blog/2017/11/baphomet-dons-his-fearsome-tree-topper-aspect/
appears to have done the right thing, but the very next item
Hi, I’m the person who wrote that comment on jwz’s blog linked above^^^. I’m a premium customer and very interested in getting this fixed; please let me know if I can supply any additional debugging info or test a new build.
What story is having issues? The problem is that he’s blocked NewsBlur so I can’t really debug this since everything comes up broken.
According to the comment I linked above, the story was https://www.jwz.org/blog/2017/11/amazons-get-the-harley-quinn-makeover/ - that’s where the image jwz references in his comment is from.
Ok, I forcibly removed all references to the broken images. If you see that red broken image again, please let me know in this thread. I need to find out what’s causing it and from what I can tell it shouldn’t be showing up anymore.
I never actually noticed the problem jwz is referencing - I don’t know if the images just failed to load silently without a “broken image” indication.
By the way I asked him to unblock NewsBlur so it should be good again.