bilah-asa

download bilah-asa

If you can't read please download the document

description

HEMM

Transcript of bilah-asa

//Recent Posts Script by bloggerplugins.org var postTitleOriginal, myLink, myDiv, myImage,mySeparator;var main;var float_clear=false;var flag = 0;function bprecentpostswiththumbnails(json) {for (var i = 0; i < numberOfPosts; i++) {if (i == json.feed.entry.length) break;var s; var entry = json.feed.entry[i]; var postTitle = entry.title.$t; postTitleOriginal = postTitle; if (isNaN(titleLength) || titleLength == 0) { postTitle = ''; } else if (postTitle.length > titleLength) postTitle = postTitle.substring(0, titleLength) + "..."; var postUrl=""; for (var k = 0; k < entry.link.length; k++) { if (entry.link[k].rel == 'replies' && entry.link[k].type == 'text/html') { var commentText = entry.link[k].title; var commentUrl = entry.link[k].href; } if (entry.link[k].rel == 'alternate') { postUrl = entry.link[k].href; break; } } if (showThumbs == true) { var thumbUrl = ""; try { thumbUrl = entry.media$thumbnail.url; thumbUrl = thumbUrl.replace("/s72-c/","/s"+imgDim+"-c/"); } catch (error) { if ("content" in entry) s = entry.content.$t; else s=""; if (thumbUrl == "" && mediaThumbsOnly == false) { regex = /http\:\/\/www\.youtube(-nocookie){0,1}\.com\/(v){0,1}(embed){0,1}\/(([^"&?' ]*))/; videoIds = s.match(regex); if (videoIds != null) { videoId = videoIds[4]; } if (videoIds != null && videoId != null) thumbUrl = "http://img.youtube.com/vi/" + videoId + "/2.jpg" } if (thumbUrl == "" && mediaThumbsOnly == false) { a = s.indexOf("