Jeff
1
I have a problem where images in figure blocks don’t show up, but images in paragraph blocks do.
IFor example at Gizmodo that there’s an image. With curl on the command line I can download the image, so I don’t think it’s a certificate problem on my server, or a the remote side rejecting based on referrer or browser ID.
When the article shows up in my feed, instead of having the image at the correct spot, it has
<figure>
<div>
<div></div>
<figcaption>Image: DC Comics.</figcaption>
</div>
</figure>
When I look at a feed where the image is working, it’s in a
<p>...</p>
or a
<span>...</span>
with the expected
<img src="https://myserver/hash=...png"...>
Is this the problem? If so, what can I do about it?
I’ve tried with and without readability, and with and without image caching. I have af_feedmod and feediron enabled, but I have the problem on feeds that don’t pass through them.
This is on the current git master, running on a Debian stable system with php5, or whatever is included. It very well could be a local problem, but I don’t know where to start looking.
fox
2
tt-rss does not arbitrarily modify feed XML (unless you ask it to), whatever you see was in the feed already, which is something that you can easily check via myfeedsucks
If so, what can I do about it?
you can make a plugin to rewrite that markup out of the feed, i guess
also: gawker feeds being broken has been reported multiple times before (see old forum)
Jeff
3
Yeah, I’d been assuming it was the Gawker stuff being broken, as usual, but maybe Univision has a good web department? The feed checks fine on myfeedsucks, and shows me what I expect to see in TT-RSS.
One entry on the feed starts like this
<figure class="js_marquee-assetfigure align--bleed"style="max-width:1280px;">
<div class="img-wrapper lazy-image "><div class="img-permalink-sub-wrapper" style="padding-bottom: 56.3%"><picture><source class="ls-small-media-source"data-srcset="https://i.kinja-img.com/gawker-media/image/upload/s--8hkfk
]]>
<
fox
14

surprisingly relevant for so many reasons
fox
16

definitely the right stuff for an rss feed content which is going to be displayed in an unspecified third party program
with bonus “we had img srcset but we decided it was not convoluted enough so welp here’s another tag (which contains other new tags)”