Hien thi bai viet moi nhat ra ngoai trang chu dang tin tuc blogspot khong code ma hoa
Cập nhật:
25 thg 8, 2017
tháng 8 25, 2017
<script type='text/javascript'>
//<![CDATA[
imgr = new Array();
imgr[0] = "https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiaB5oa0x1W9tNkVQafZKHaFh4qUo_q4nXbO7fXVfmmoYK04Be6Lb03OpeFP-S3M4maIKAd2UZ-iGUGb4s461UolhHvsyCQY1M0UbN5MAxdz8-D3C8zNB7Ft5AS_lW4mtuUO6fiRvGeINsw/s1600/3.jpg";
showRandomImg = true;
numposts = 9; list1 = 1; sumPosts = 200;
function helloximo01(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0; img = new Array();
if (numposts <= json.feed.entry.length) {maxpost = numposts;} else {maxpost=json.feed.entry.length;} for (var i = 0; i < maxpost; i++) {var entry = json.feed.entry[i]; var posttitle = entry.title.$t; var pcm; var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {if (entry.link[k].rel == 'alternate') {posturl = entry.link[k].href; break;}} for (var k = 0; k < entry.link.length; k++) {if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {pcm = entry.link[k].title.split(" ")[0]; break;}} if ("content" in entry) {var postcontent = entry.content.$t;} else if ("summary" in entry) {var postcontent = entry.summary.$t;} else var postcontent = ""; if(j>imgr.length-1) j=0; img[i] = imgr[j]; s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
if("media$thumbnail" in entry){var thumburl = entry.media$thumbnail.url;}
else{ var thumburl = imgr[0]};
if (i==0) {var trtd = '<div class="hello-h-top"><a href="'+posturl+'" title="'+posttitle+'"><img src="'+img[i]+'"/></a><h2><a href="'+posturl+'" title="'+posttitle+'">'+posttitle+'</a></h2><div class="hello-h-top-info clear">'+removeHtmlTag(postcontent,160)+'...</div></div>'; document.write(trtd); }
if(i==1 || i==3 || i==5){var trtd = '<li class="hellotop"><a href="'+posturl+'" title="'+posttitle+'">'+posttitle+'</a></li>';document.write(trtd); } if(i==2 || i==4 || i==6){var trtd = '<li class="hellotop bg"><a href="'+posturl+'" title="'+posttitle+'">'+posttitle+'</a></li>';document.write(trtd); } }
document.write('');
}
function helloximo02(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0; img = new Array();
if (numposts <= json.feed.entry.length) {maxpost = numposts;} else {maxpost=json.feed.entry.length;} for (var i = 0; i < maxpost; i++) {var entry = json.feed.entry[i]; var posttitle = entry.title.$t; var pcm; var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {if (entry.link[k].rel == 'alternate') {posturl = entry.link[k].href; break;}}
for (var k = 0; k < entry.link.length; k++) {if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {pcm = entry.link[k].title.split(" ")[0]; break;}} if ("content" in entry) {var postcontent = entry.content.$t;} else if ("summary" in entry) {var postcontent = entry.summary.$t;} else var postcontent = ""; if(j>imgr.length-1) j=0; img[i] = imgr[j]; s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
if (i==0) {var trtd = '<div class="hello-h-left"><a href="'+posturl+'" title="'+posttitle+'"><img src="'+img[i]+'" alt="'+posttitle+'"/></a><h2><a href="'+posturl+'" title="'+posttitle+'">'+posttitle+'</a></h2><div class="hello-left-info clear">'+removeHtmlTag(postcontent,160)+'...</div></div>'; document.write(trtd); } if(i==1){var trtd = '<div class="hello-h-right"><a href="'+posturl+'" title="'+posttitle+'"><img src="'+img[i]+'"/></a><h2><a href="'+posturl+'" title="'+posttitle+'">'+posttitle+'</a></h2><div class="hello-left-info-li">'+removeHtmlTag(postcontent,200)+'...</div></div>'; document.write(trtd); } if(i>=2 && i <=6){var trtd = '<ul class="hello-h-right-li"><li><a href="'+posturl+'" title="'+removeHtmlTag(postcontent,200)+'">'+posttitle+'</a></li></ul>'; document.write(trtd); }
}
document.write('');
}
function helloximo03(json) {
j = (showRandomImg) ? Math.floor((imgr.length+1)*Math.random()) : 0; img = new Array();
if (numposts <= json.feed.entry.length) {maxpost = numposts;} else {maxpost=json.feed.entry.length;} for (var i = 0; i < maxpost; i++) {var entry = json.feed.entry[i]; var posttitle = entry.title.$t; var pcm; var posturl;
if (i == json.feed.entry.length) break;
for (var k = 0; k < entry.link.length; k++) {if (entry.link[k].rel == 'alternate') {posturl = entry.link[k].href; break;}} for (var k = 0; k < entry.link.length; k++) {if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') {pcm = entry.link[k].title.split(" ")[0]; break;}} if ("content" in entry) {var postcontent = entry.content.$t;} else if ("summary" in entry) {var postcontent = entry.summary.$t;} else var postcontent = ""; if(j>imgr.length-1) j=0; img[i] = imgr[j]; s = postcontent ; a = s.indexOf("<img"); b = s.indexOf("src=\"",a); c = s.indexOf("\"",b+5); d = s.substr(b+5,c-b-5);
if((a!=-1)&&(b!=-1)&&(c!=-1)&&(d!="")) img[i] = d;
if (i==0) {var trtd = '<div style="clear:both;overflow:hidden;"><div class="hi-h-left" style="width:110px;float:left;margin: 5px 10px 0 0;"><a href="'+posturl+'" title="'+posttitle+'"><img style="width:110px; height:85px;" src="'+img[i]+'"/></a></div><div class="hi-left-info" style=""><h3><a href="'+posturl+'" title="'+posttitle+'">'+posttitle+'</a></h3><p style=" margin-top: 0px;margin-bottom:0px">'+removeHtmlTag(postcontent,60)+'...</p></div></div>'; document.write(trtd); } if(i>=1 && i <=6){var trtd = '<ul class="hi-h-right-li"><li><a href="'+posturl+'" title="'+removeHtmlTag(postcontent,200)+'">'+posttitle+'</a></li></ul>'; document.write(trtd); }
}
document.write('');
}
//]]>
</script>
<h2 class='title'>Mới cập nhật</h2>
<script type='text/javascript'>
//<![CDATA[
document.write("<script src=\"/feeds/posts/default?max-results="+7+"&orderby=published&alt=json-in-script&callback=helloximo01\"><\/script>");
//]]>
</script>