pictuga / morss

Get full text RSS feeds
https://morss.it/
GNU Affero General Public License v3.0
621 stars 75 forks source link

Does not grab images in certain feeds #101

Open oldmacilli opened 2 years ago

oldmacilli commented 2 years ago

Images not available on certain graph links

heise News via MORSS

iNtEgraIR2021 commented 1 year ago

This does seem to concern all rss feeds of Heise Verlag[^1].

To my personal understanding the svg placeholder images in the a-img tags would have to be replaced by the img tags in the noscript tags below.

<!-- source: https://www.heise.de/hintergrund/Warum-Facebook-und-Twitter-Alternativen-anstrengend-sind-aber-dennoch-gut-tun-6286706.html?wt_mc=rss.red.tr.tr.atom.beitrag.beitrag -->
<a-img alt="" height="3000" high-dpi-quality="70" quality="85" src="/imgs/71/3/5/6/1/2/3/8/Eva_Wolfangel_Credit_Helena_Ebel-e62f046951fef5ee.jpg" style="aspect-ratio: 4500 / 3000;" width="4500">
    <img alt="" height="3000" src="data:image/svg+xml,%3Csvg xmlns=&#39;http://www.w3.org/2000/svg&#39; width=&#39;696px&#39; height=&#39;391px&#39; viewBox=&#39;0 0 696 391&#39;%3E%3Crect x=&#39;0&#39; y=&#39;0&#39; width=&#39;696&#39; height=&#39;391&#39; fill=&#39;%23f2f2f2&#39;%3E%3C/rect%3E%3C/svg%3E" style="aspect-ratio: 4500 / 3000; object-fit: cover;" width="4500">
</a-img>

<noscript>    
    <img alt="" src="https://heise.cloudimg.io/width/4500/q50.png-lossy-50.webp-lossy-50.foil1/_www-heise-de_/imgs/71/3/5/6/1/2/3/8/Eva_Wolfangel_Credit_Helena_Ebel-e62f046951fef5ee.jpg" srcset="https://heise.cloudimg.io/width/9000/q30.png-lossy-30.webp-lossy-30.foil1/_www-heise-de_/imgs/71/3/5/6/1/2/3/8/Eva_Wolfangel_Credit_Helena_Ebel-e62f046951fef5ee.jpg 2x" style="width:100%;">
</noscript>

[^1]: Europe's biggest tech media house (according to themself) also see: https://en.wikipedia.org/wiki/Heinz_Heise