This isn't as simple as it sounds, particularly if you have something like an Atom feed. Putting an IMG SRC pointing at //example.com/foo.jpg in the HTML served as a regular web page will work fine for nearly everyone. However, putting that same construct in your feed will cause a nontrivial number of people to "GET //example.com/foo.jpg" from your web server. It's irritating.<p>If you then change your feed to hard-code "<a href="http://example.com/..." rel="nofollow">http://example.com/...</a> in IMGs and such, you've just created the mixed-content hole when someone reads your feed over https. So, then you really have to have a second instance of the feed with nearly-identical URLs but with https protocols.<p>Why not serve https to everyone? Some places block it. They tend to be oppressive regimes, but that's the way it is. They can get to you on port 80 but not port 443.<p>I had to go to a hybrid scheme. Web pages get //host/path, http fetches of my Atom feed get <a href="http://host/path" rel="nofollow">http://host/path</a>, and https fetches of the Atom feed get <a href="https://host/path" rel="nofollow">https://host/path</a>.<p>Even then, some browsers <i>still</i> don't quite work with the web site, but I'm okay with ignoring them, since they didn't send User-Agent strings and are obviously broken. Besides, there have only been two of them so far this entire week.<p>( Mostly recycled from a post about this not too long ago: <a href="http://rachelbythebay.com/w/2012/08/28/feed/" rel="nofollow">http://rachelbythebay.com/w/2012/08/28/feed/</a> )