The live RSS feed gets refreshed whenever a post is created, updated or deleted to ensure everything is as it should be. That's been fine until now but, with rssCloud pings, I've put in an extra bit of logic to stop this happening when working on a draft. There's no need for an update in that scenario and it avoids spamming folks with needless notifications.
I might also work on checking if the post being updated/deleted is even in the feed (currently last 10 items) to determine if a refresh is required.
With Chromium based browsers 1 auto-blocking mixed mode content, links to images addressed as http:// will not load. This leaves certain items incomplete – not ideal.
I'm working around this as follows:
/reader checks the content of an item for images addressed as http using a preg_match_all query
for each 'match' it gets the url and file type
prepares a random file name with the relevant extension
grabs the image and saves a temp copy to the server as that name
replaces the url in the item content
No more mixed mode issues!
To stop things getting cluttered, each time /reader is loaded, it deletes any files in the temp location older than a specified number of seconds.
This may cause a slight delay (especially with large images) but it's better than having no images at all.
and let's face it, that's most browsers now 😢 ↩