Whenever I load any blogger page through an XML object in actionscript 2 almost all of the contents of the page magically disappear. I would assume that since the pages are in xhtml that this should work. Here is what I get if I try to load Steve Yegge's blog:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" xmlns:b="http://www.google.com/2005/gml/b" xmlns:data="http://www.google.com/2005/gml/data" xmlns:expr="http://www.google.com/2005/gml/expr"><head><script type="text/javascript">(function() { var a=window;function f(e){this.t={};this.tick=function(d,b,c){var i=c?c:(new Date).getTime();this.t[d]=[i,b]};this.tick("start",null,e)}var g=new f;a.jstiming={Timer:f,load:g};try{a.jstiming.pt=a.external.pageT}catch(h){};a.tickAboveFold=function(e){var d,b=e,c=0;if(b.offsetParent){do c+=b.offsetTop;while(b=b.offsetParent)}d=c;d</script></head></html>
Scroll to the end and you can see that the entire <body>
tag is missing. Any suggestions on how to fix this?
Edit: Here is some quick code so you can test it yourself:
var foo:XML = new XML();
foo.ignoreWhite = true;
foo.onLoad = function(success:Boolean) {
trace(foo.toString());
}
foo.load("http://steve-yegge.blogspot.com/");