In the previous post, I included HTML code generated from a published Google Sheet. To do so, I first used the code proposed when publishing a Google Document and selecting Blogger as target.
This is basically the HTML code Google proposes to post into the HTML code of post on Blogger:
<iframe src="URL to HTML page" frameborder="0" height="350" width="520">
This works when viewing the blog post in a browser, but when reading the post with a feed reader, the HTML iframe is sometimes ommitted. Recently, I read an interesting article "The object tag - embed content in valid strict HTML -" arguing for the use of the HTML object tag as follows:
<object data="URL to HTML page" type="text/html" width="520" height="350">
alt : <a href="URL to HTML page">alternate text</a>
The advantage of using the object tag is that the HTML object (the Googele sheet) appears when reading the blog post inline with netvibes:
In Google Reader, the alternate text appears (in this case the URL to the HTML of the document):
In iGoogle, it is even worse. There even the alternate text does not appear:
The above picture displays the Atom feed from Google (http://castfortwo.blogspot.com/feeds/posts/default) and the feed from feedburner (http://feeds.feedburner.com/cast42).
Conclusion is that even using the object tag is no ideal solution to include an exteral HTML page into a blog post. But if you opt to do it, the use of the object tag may be preferred instead of using an Iframe. In case you would know a better solution, do not hesitate to add a comment.