Ranchero-Software / NetNewsWire

RSS reader for macOS and iOS.
https://netnewswire.com/
MIT License
8.46k stars 536 forks source link

images can't display #4091

Open yk1316 opened 1 year ago

yk1316 commented 1 year ago

Hello, thank you very much for your RSS software.

During use, I discovered an issue: Subscribed to this RSS feed: https://manateelazycat.github.io/feed.xml,This website has articles such as https://manateelazycat.github.io/2023/08/06/tourism-daxinganling/ Unable to display images inside.

Thank you for your selfless efforts. Thank you!

GetToSet commented 1 year ago

I believe this feed got wrong URLs for img tags, they should start with http[s]://

yk1316 commented 1 year ago

I believe this feed got wrong URLs for img tags, they should start with http[s]://

Yes,the address of these images start with "//", do you have plan to fix id ?

different55 commented 6 months ago

// is a pretty common convention on the web, it sends requests over whatever protocol the page is currently using. So if I visit https://example.org/index.html and it embeds //example.org/image.png, it will load image.png using https as well. If I use http, so does the image. Browsers get cranky when you mix and match, so this is the solution to that.

brentsimmons commented 6 months ago

I hadn’t realized that // was common for this — I know about / of course for server-relative URLs, but I hadn’t realized that // was a synonym