I have a stream, similar to the Twitter home feed, but without any JS. I'm using nested iframes (and nesting them further for every new post) and using a refresh header. This is the only way I found to support text browsers.
But for non-text browsers, how can I make the nested content follow my website's CSS?
My iframes:
<iframe src="/api/v1/get_new_posts?since=$TIME"></iframe>
Contents of /api/v1/get_new_posts
, when empty, including Refresh header:
Refresh: 10
<html><head></head><body></body></html>
Contents when not empty (including Refresh header - or lack thereof):
<html><head></head><body>
<iframe src="/api/v1/get_new_posts?since=$TIME"></iframe>
<!-- post HTML -->
</body></html>