PRO HUB
Join the 2026 Syndication Network
Enter email to receive your API keys
DETECTED
Mining Balance
0.00000000
🔗 Custom URL Shortener
prohub.link/
50 ) {
stickyNavigation.addClass('sticky');
} else {
stickyNavigation.removeClass('sticky');
}
});
$j('#content-1').css('background-image', 'url('+$j('#sectionsLabels .Image img').attr('src')+')');
var firstPostContent = $j('#first-post .widget');
if (firstPostContent.length) {
var firstPostContent = $j('#first-post').html();
var firstPost = $j('#page_body .post:first');
firstPost.after('
'; postHTML += '' + menuThumbnails + postTitle + ''; } else if (postsStyle === 'mosaic') { postHTML += '';
} else if(postsStyle === 'bloglist'){
postHTML += '';
} else if(postsStyle === 'postnav'){
var id = (i===0) ? 'next' : 'previous';
var arrow = (i===0) ? 'left' : 'right';
var arrowTitle = (i===0) ? ' '+postTitle :
postTitle+' ';
var align = (i===0) ? '' : 'justify-content-end';
postHTML += '' +
' ';
} else if( postsStyle === 'related' ){
postHTML += '';
} else if( postsStyle === 'video' ){
postHTML += '';
var youtubeRegex = /((?:https?:)?\/\/)?((?:www|m)\.)?((?:youtube\.com|youtu.be))(\/(?:[\w\-]+\?v=|embed\/|v\/)?)([\w\-]+)(\S+)?/i
if( youtubeRegex.exec( postContent ) ) {
var youtubeUrlArray = postContent.match( youtubeRegex );
var youtubeUrl = 'https://www.youtube.com/embed/'+youtubeUrlArray[5];
postHTML += ''
postHTML += '
'; } else if (postsStyle === 'menulist') { var menuId = postsType.toLowerCase().replace(/[^a-z0-9]/, ''); postHTML = '' + postsType + '' + '';
} else if (postsStyle === 'course') {
postHTML = '
' + '
' + '';
} else if (postsStyle === 'simplelist') {
postHTML = '
');
btemplatesJqueryGetPosts($j(this), postsToDisplay, postsType, postsThumbnailSize, postsStyle, postsExclude);
} else if (commentsre.exec($j(this).html()) && ajaxSupport) {
var commentsSettings = $j(this).html().split('-');
var commentsToDisplay = parseInt(commentsSettings[0]);
$j(this).html('
');
btemplatesJqueryGetComments($j(this), commentsToDisplay);
}
});
$j('.post .post-body').each( function(i){
var re = /\[posts--(tag\:.*?)--(\d+)\]/i
if (re.exec($j(this).html()) && ajaxSupport) {
var postsSettings = $j(this).html().match(re);
var postsShortcode = postsSettings[0];
var postsTag = postsSettings[1];
var postsToDisplay = postsSettings[2];
var loading = '
';
$j(this).html( $j(this).html().replace( postsShortcode, loading ) );
var postsContainerId = $j('#posts-list-tag');
btemplatesJqueryGetPosts( postsContainerId, postsToDisplay, postsTag, 0, 'simplelist' );
}
});
var newerPost = $j(".blog-pager-newer-link");
var olderPost = $j(".blog-pager-older-link");
if (newerPost.length || olderPost.length) {
newerPost = newerPost.length ? newerPost.attr('href') : '';
olderPost = olderPost.length ? olderPost.attr('href') : '';
btemplatesJqueryNextPosts($j('#blog-pager'), newerPost, olderPost, 175);
}
$j('body').on('click', '.btemplates-portfolio .item', function () {
window.location = $j(this).find('a').attr('href');
});
$j('#btemplates-search-icon').on('shown.bs.modal', function () {
$j('#btemplates-search .BlogSearch input[type="text"]').trigger('focus');
});
var btDate = new Date();
$j('#this-year').text(btDate.getFullYear());
$j(window).scroll(function () {
$j(this).scrollTop() > 400 ? $j("#back-top").fadeIn() : $j("#back-top").fadeOut()
});
$j("#back-top").click(function () {
return $j("body,html").animate({scrollTop: 0}, 800), !1
});
$j('#comments .avatar-image-container img').each( function(){
var defaultBloggerAvatarRegex = /\/\/lh\d\.googleusercontent\.com.*=s35/i;
var currentAvatar = $j(this).attr('src');
if( defaultBloggerAvatarRegex.test(currentAvatar) ){
var newDefaultAvatar = currentAvatar.replace('s35', 's100');
$j(this).attr('src', newDefaultAvatar);
}
});
});
//]]>
' + firstPostContent + '
');
}
if ($j('.widget').length) {
$j('.widget').each(function (index) {
var widgetTitle = $j(this).children('h3').text().trim();
var regDescription = /(.*?)-desc:(.*?)$/i;
if (regDescription.exec(widgetTitle)) {
var widgetSettings = widgetTitle.match(regDescription);
var title = widgetSettings[1];
var description = widgetSettings[2];
$j(this).children('h3').text(title);
$j(this).children('h3').after('' + description + '
'); } }); } if ($j('.avatar-image-container').length) { $j('.avatar-image-container img').each(function () { $j(this).addClass('rounded-circle border border-secondary'); var avatarUrl = $j(this).attr('src').replace('/s35/', '/s100/'); $j(this).attr('src', avatarUrl); if (avatarUrl.indexOf('blogblog.com/img/blank.gif') !== -1) { $j(this).attr('src', 'https://3.bp.blogspot.com/-qnvargRhquo/XSJ9VCaxZ4I/AAAAAAAABNU/f5c-lN4M9dIl3Wr87zT_guszgZY9RDe6gCLcBGAs/s100/user.png'); } }) } var _0x3c41=["\x3A\x76\x69\x73\x69\x62\x6C\x65","\x69\x73","\x23\x74\x68\x61\x6E\x6B\x73\x2D\x66\x6F\x72\x2D\x6B\x65\x65\x70\x69\x6E\x67\x2D\x74\x68\x69\x73","\x6F\x70\x61\x63\x69\x74\x79","\x63\x73\x73","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x62\x74\x65\x6D\x70\x6C\x61\x74\x65\x73\x2E\x63\x6F\x6D","\x69\x6E\x64\x65\x78\x4F\x66","\x68\x74\x6D\x6C","\x68\x74\x74\x70\x73\x3A\x2F\x2F\x6F\x70\x65\x6E\x74\x68\x65\x6D\x65\x73\x2E\x63\x6F\x6D","\x4F\x70\x65\x6E\x20\x54\x68\x65\x6D\x65\x73","\x74\x65\x78\x74","\x42\x6C\x6F\x67\x67\x65\x72\x20\x74\x65\x6D\x70\x6C\x61\x74\x65","\x23\x74\x68\x61\x6E\x6B\x73\x2D\x66\x6F\x72\x2D\x6B\x65\x65\x70\x69\x6E\x67\x2D\x74\x68\x69\x73\x20\x61\x3A\x66\x69\x72\x73\x74","\x70\x6F\x73\x69\x74\x69\x6F\x6E","\x61\x62\x73\x6F\x6C\x75\x74\x65","\x62\x61\x63\x6B\x67\x72\x6F\x75\x6E\x64\x2D\x63\x6F\x6C\x6F\x72","\x63\x6F\x6C\x6F\x72","\x23\x74\x68\x61\x6E\x6B\x73\x2D\x66\x6F\x72\x2D\x6B\x65\x65\x70\x69\x6E\x67\x2D\x74\x68\x69\x73\x20\x61","\x30","\x74\x65\x78\x74\x2D\x69\x6E\x64\x65\x6E\x74","\x3C\x64\x69\x76\x20\x63\x6C\x61\x73\x73\x3D\x22\x74\x65\x78\x74\x2D\x64\x61\x6E\x67\x65\x72\x20\x74\x65\x78\x74\x2D\x63\x65\x6E\x74\x65\x72\x20\x6D\x79\x2D\x34\x22\x3E\x50\x6C\x65\x61\x73\x65\x20\x64\x6F\x6E\x27\x74\x20\x64\x65\x6C\x65\x74\x65\x20\x74\x68\x65\x20\x63\x72\x65\x64\x69\x74\x73\x20\x6F\x6E\x20\x74\x68\x69\x73\x20\x74\x65\x6D\x70\x6C\x61\x74\x65\x2E\x20\x49\x74\x20\x74\x6F\x6F\x6B\x20\x6D\x6F\x72\x65\x20\x74\x68\x61\x6E\x20\x35\x20\x77\x65\x65\x6B\x73\x20\x6F\x66\x20\x77\x6F\x72\x6B\x20\x74\x6F\x20\x6D\x61\x6B\x65\x2E\x20\x59\x6F\x75\x20\x63\x61\x6E\x20\x63\x6F\x6E\x73\x69\x64\x65\x72\x20\x62\x75\x79\x69\x6E\x67\x20\x74\x68\x65\x20\x50\x72\x6F\x20\x76\x65\x72\x73\x69\x6F\x6E\x20\x74\x6F\x20\x62\x65\x20\x61\x62\x6C\x65\x20\x74\x6F\x20\x64\x65\x6C\x65\x74\x65\x20\x74\x68\x65\x6D\x20\x61\x6E\x64\x20\x73\x75\x70\x70\x6F\x72\x74\x20\x75\x73\x2E\x20\x54\x68\x61\x6E\x6B\x20\x79\x6F\x75\x21\x20\x3A\x29\x3C\x2F\x64\x69\x76\x3E","\x61\x66\x74\x65\x72","\x23\x74\x6F\x70\x2D\x6E\x61\x76\x69\x67\x61\x74\x69\x6F\x6E"];var _0x7958=[_0x3c41[0],_0x3c41[1],_0x3c41[2],_0x3c41[3],_0x3c41[4],_0x3c41[5],_0x3c41[6],_0x3c41[7],_0x3c41[8],_0x3c41[9],_0x3c41[10],_0x3c41[11],_0x3c41[12],_0x3c41[13],_0x3c41[14],_0x3c41[15],_0x3c41[16],_0x3c41[17],_0x3c41[18],_0x3c41[19],_0x3c41[20],_0x3c41[21],_0x3c41[22]];if(!$j(_0x7958[2])[_0x7958[1]](_0x7958[0])|| $j(_0x7958[2])[_0x7958[4]](_0x7958[3])!= 1 || $j(_0x7958[2])[_0x7958[7]]()[_0x7958[6]](_0x7958[5])=== -1 || $j(_0x7958[2])[_0x7958[7]]()[_0x7958[6]](_0x7958[8])=== -1 || $j(_0x7958[2])[_0x7958[10]]()[_0x7958[6]](_0x7958[9])=== -1 || $j(_0x7958[2])[_0x7958[10]]()[_0x7958[6]](_0x7958[11])=== -1 || !$j(_0x7958[12])[_0x7958[1]](_0x7958[0]) || $j(_0x7958[2])[_0x7958[4]](_0x7958[13])== _0x7958[14] || $j(_0x7958[2])[_0x7958[4]](_0x7958[15])== $j(_0x7958[17])[_0x7958[4]](_0x7958[16]) || $j(_0x7958[17])[_0x7958[4]](_0x7958[19])[_0x7958[6]](_0x7958[18])=== -1){$j(_0x7958[22])[_0x7958[21]](_0x7958[20]);var ajaxSupport=![]}else {var ajaxSupport=!![]} $j('span.blog-author').html(' '); $j('.post-body iframe, .post-body embed, .post-body object').wrap(''); $j('.Label li span').each(function (i) { $j(this).text($j(this).text().replace('(', '').replace(')', '')); if ($j.isNumeric($j(this).text()) && $j(this).parent().children().length > 1) { $j(this).addClass('rounded-circle border border-secondary text-center float-right'); var link = $j(this).prev().attr('href'); if (link !== undefined) $j(this).wrap(''); } }); $j('#sidebar .LinkList li a, #footer .LinkList li a').each(function () { var la = $j(this).attr('href').toLowerCase(); var socialNetworks = ['500px', 'amazon', 'android', 'angellist', 'apple', 'bandcamp', 'behance', 'bitbucket', 'bitcoin', 'bluetooth', 'buysellads', 'chrome', 'codepen', 'deviantart', 'digg', 'dribbble', 'dropbox', 'drupal', 'etsy', 'facebook', 'firefox', 'flickr', 'foursquare', 'github', 'gitlab', 'google', 'imdb', 'instagram', 'joomla', 'linkedin', 'linode', 'linux', 'medium', 'meetup', 'opencart', 'openid', 'opera', 'paypal', 'pinterest', 'qq', 'quora', 'reddit', 'renren', 'scribd', 'skype', 'slideshare', 'snapchat', 'soundcloud', 'spotify', 'steam', 'telegram', 'tripadvisor', 'tumblr', 'twitch', 'twitter', 'vimeo', 'wechat', 'weibo', 'weixin', 'whatsapp', 'wikipedia', 'windows', 'wordpress', 'yahoo', 'yelp', 'youtube']; var currentLink = $j(this); var widget = $j(this).closest('.widget').first(); var widgetHasClass = false; $j.each(socialNetworks, function (i, sn) { if (la.indexOf(sn) !== -1 && ajaxSupport) { if( ! widgetHasClass ) { widget.addClass('social'); widgetHasClass = true; } currentLink.html(''); currentLink.parent().replaceWith(currentLink); return false; } }); }); $j('.LinkList a, .Text a, .Image a, .post-body a').each(function () { var hashlink = $j(this).attr('href'); if( typeof hashlink !== typeof undefined && hashlink !== false ) { if(hashlink.indexOf('#bt-home') !== -1){ $j(this).attr('href', blogurl); } } }); function btemplatesJqueryGetPosts(el, postsToDisplay, postsType, postsThumbnailSize, postsStyle, exclude) { postsToDisplay = parseInt(postsToDisplay); postsStyle = typeof postsStyle !== 'undefined' ? postsStyle : 'list'; exclude = typeof exclude !== 'undefined' ? exclude : false; postsToDisplay = exclude ? postsToDisplay + 1 : postsToDisplay; var tag = tagName = ''; regex = /tag\:(.*?)$/i; if (regex.exec(postsType)) { var tagName = postsType.match(regex); postsType = tagName[1]; tag = '/-/' + encodeURI(tagName[1]); } $j.get( blogurl + '/feeds/posts/default' + tag, { 'alt': 'json', 'max-results': postsToDisplay }, function(data){ if( typeof data === 'undefined' ){ return data; } var code = btemplatesProcessPosts(data, postsToDisplay, postsThumbnailSize, postsStyle, postsType, exclude); el.html(code); if( postsStyle === 'video' ) $j('.post-body iframe, .post-body embed, .post-body object').wrap(''); }) } function btemplatesJqueryNextPosts(el, newerPostUrl, olderPostUrl, postsThumbnailSize) { postsThumbnailSize = parseInt(postsThumbnailSize); var startIndex = 1; var foundPosts = 0; var posts = []; $j.get(blogurl + '/feeds/posts/default/', { 'alt':'json', 'max-results':'500', 'start-index':startIndex }, function(data){ for (var i = 0; i < data.feed.entry.length; i++) { post = data.feed.entry[i]; for (var j = 0; j < post.link.length; j++) { if (post.link[j].rel === 'alternate') { if (post.link[j].href !== newerPostUrl && post.link[j].href !== olderPostUrl) delete data.feed.entry[i]; else posts.push(post); if( posts.length >= 2 ) break; } } } if (posts.length > 0) { data.feed.entry = posts; var code = btemplatesProcessPosts(data, 500, postsThumbnailSize, 'postnav'); el.html(code); } }) } function btemplatesProcessPosts(json, postsToDisplay, postsThumbnailSize, postsStyle, postsType, exclude) { if (typeof json.feed.entry === 'undefined') return 'No posts found'; postsToDisplay = parseInt(postsToDisplay); var postSummaryLength = 110; var postThumbnailWidth = parseInt(postsThumbnailSize); var postHTML = ''; var months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"]; var olderPostDate = Date.now(); for (var i = 0; i < postsToDisplay; i++) { var post = postTitle = postDateTime = postDate = postYear = postMonth = postMonthName = postDay = postUrl = postLabelsList = postCommentsCount = postThumbnail = postContent = postTags = postSummary = postsThumbnailSquare = postAuthor = postAuthorAvatar = postId = postLocation = ''; post = json.feed.entry[i]; if (post === undefined) continue; postId = post.id.$t; if (exclude && postId.indexOf(exclude) !== -1) continue; postTitle = post.title.$t != null ? post.title.$t : ''; postCommentsCount = post.thr$total; postDateTime = post.published.$t; if( new Date(olderPostDate) > new Date(postDateTime) ) olderPostDate = postDateTime; olderPostDate = olderPostDate === null ? '' : olderPostDate+''; olderPostDate = olderPostDate.replace( /\.\d{3}/, '' ); postDate = postDateTime.substring(0, 10); postYear = postDate.substring(0, 4); postMonth = postDate.substring(5, 7); postMonthName = months[parseInt(postMonth) - 1]; postDay = postDate.substring(8, 10); postDateStr = postDay + ' ' + postMonthName + ' ' + postYear; postAuthor = post.author[0].name.$t; postAuthorAvatar = ( 'gd$image' in post.author[0] ) ? post.author[0].gd$image.src : 'https://3.bp.blogspot.com/-qnvargRhquo/XSJ9VCaxZ4I/AAAAAAAABNU/f5c-lN4M9dIl3Wr87zT_guszgZY9RDe6gCLcBGAs/s35/user.png'; postLocation = ( 'georss$featurename' in post ) ? post.georss$featurename.$t : ''; for (var j = 0; j < post.link.length; j++) { if (post.link[j].rel === 'alternate') { postUrl = post.link[j].href; break; } } if ('category' in post) { for (var c = 0; c < post.category.length; c++) { var comma = (c === post.category.length - 1) ? '' : ', '; postTags += post.category[c].term + comma; } } if ('content' in post) { postContent = post.content.$t; postSummary = postContent.replace(/<\/?[^>]+(>|$)/g, "").substring(0, postSummaryLength) + '...'; } else { postContent = postSummary = post.summary.$t; } var imagesRegex = /(https?:\/\/[^\s\#\?]*\.(jpe?g|gif|png))|(https?:\/\/blogger\.googleusercontent\.com\/img\/[^"=]*=)/ig; var images = postContent.match(imagesRegex); if( images !== null && images.length > 0 ){ if( images[0].indexOf('googleusercontent') !== -1 ){ postThumbnail = images[0]+'w'+postThumbnailWidth; postThumbnailSquare = images[0]+'s'+postThumbnailWidth+'-c'; } else { postThumbnail = images[0].replace(/(https?:\/\/[^\s\#\?]*\/)(s\d+|w\d+-h\d+|w\d+)(\/[^\s\#\?\/]*\.)(jpe?g|png|gif)/i, function(match, g1, g2, g3, g4){return g1+'w'+postThumbnailWidth+g3+g4}); postThumbnailSquare = postThumbnail.replace('/w'+postThumbnailWidth+'/', '/s'+postThumbnailWidth+'-c/'); } } else if(post.media$thumbnail) { var rawThumbnail = post.media$thumbnail; var youTubePreviewRegex = /img\.youtube\.com\/vi\/.*\/default\.jpg/i; if(youTubePreviewRegex.test(rawThumbnail.url)){ postThumbnail = postThumbnailSquare = rawThumbnail.url.replace('default.jpg', 'maxresdefault.jpg'); } else { postThumbnail = rawThumbnail.url.replace('s72-c', 'w' + postThumbnailWidth); postThumbnailSquare = rawThumbnail.url.replace('s72-c', 's' + postThumbnailWidth + '-c'); } } else { postThumbnail = 'https://1.bp.blogspot.com/-OoP4sWGVriY/XPBuyFZuqyI/AAAAAAAABGI/F3CU_cugs1ozET0Wl6ijZrNcvwJzupbcgCLcBGAs/w' + postThumbnailWidth + '/post-image.png'; postThumbnailSquare = 'https://1.bp.blogspot.com/-OoP4sWGVriY/XPBuyFZuqyI/AAAAAAAABGI/F3CU_cugs1ozET0Wl6ijZrNcvwJzupbcgCLcBGAs/s' + postThumbnailWidth + '-c/post-image.png'; } if (postsStyle === 'slider') { var active = (i === 0) ? ' active ' : ''; postThumbnail = postThumbnail.replace(/\/(s|w|h)\d+\//i, '/w1100-h550-c/'); postHTML += '' +
'
' +
'
';
} else if (postsStyle === 'testimonial') {
var active = i === 0 ? ' active ' : '';
postLocation = postLocation !== '' ? '' +
'
' +
'' +
'
' +
'' + postTitle + '
' + '' +
'' +
'
' +
' '+postLocation+'
' : '';
postHTML += '' +
'
' +
'
';
} else if (postsStyle === 'menulist') {
var menuThumbnails = postsThumbnailSize === 0 ? '' : '' +
'
' +
'' +
'
' +
'' + postTitle + '
' + '' +
'
' +
postLocation +
'' + postSummary + '
' + ''; postHTML += '' + menuThumbnails + postTitle + ''; } else if (postsStyle === 'mosaic') { postHTML += '
' +
'
';
} else if(postsStyle === 'course'){
postLocation = postLocation !== '' ? '' +
'' +
'
' +
'' +
'
' +
'' +
'' + postTags + '' +
'' +
'
' +
'' + postTitle + '
' + '' + ' '+postLocation+'
' : '';
postHTML += '' +
'
' + '
' +
'' +
'
' +
'' +
'
' +
'' +
'
' +
'
' +
'' +
'' +
postTitle +
'' +
'
' + '
' +
postSummary +
'
' +
postLocation +
'' +
postDate +
'
' +
'' +
'
' + '
' +
'' +
'
' +
'' +
'
' +
'' +
'' +
postTitle +
'' +
'
' +
'' +
postDateStr +
'
' +
'' + '
' +
postSummary +
'
' +
''+
'
';
} else if(postsStyle === 'simplelist'){
postHTML += ''+
''+
'
'+
''+
'
'+
''+
''+arrowTitle+''+
'
'+
'' +
'' +
'' +
'
' +
'' +
postSummary +
'' +
'
';
} else {
postHTML = ''+postContent+'
'
}
} else {
postHTML += ''+
''+
'
'+
'
'+
''+
'
'+
'';
}
}
nextPostsUrl = ( postsType !== 'latest' ) ?
blogurl+'search/label/'+encodeURI(postsType)+'?updated-max='+olderPostDate+'&max-results='+postsToDisplay +'&start='+postsToDisplay+'&by-date=false':
blogurl+'search?updated-max='+olderPostDate+'&max-results='+postsToDisplay+'&start='+postsToDisplay+'&by-date=false';
if (postsStyle === 'slider') {
var indicatorHTML = '';
for (var l = 0; l < postsToDisplay; l++) {
var active = l === 0 ? ' active ' : '';
indicatorHTML += '';
}
indicatorHTML = ''+postTitle+
'
'+
''+postSummary+
'
'+
'- ' + indicatorHTML + '
- ' + indicatorHTML + '
'; } else if (postsStyle === 'menulist') { var menuId = postsType.toLowerCase().replace(/[^a-z0-9]/, ''); postHTML = '' + postsType + '' + '
' +
postHTML +
'
';
} else if (postsStyle === 'mosaic') {
postHTML = '' + postHTML + '
' + '
' +
'
';
} else if (postsStyle === 'bloglist') {
postHTML = '' +
postHTML +
'
' +
'' +
'
' +
'' +
'' +
'' +
'' +
'
' +
'' + '
' +
'
';
} else if (postsStyle === 'postnav') {
postHTML = '' +
postHTML +
'
' +
'' +
'
' +
'' +
'' +
'' +
'' +
'
' +
''+postHTML+'
- '+postHTML+'
'+postHTML+'
';
} else if (postsStyle === 'video') {
postHTML = '' + postHTML + '
';
} else {
postHTML = ''+postHTML+'
';
}
return postHTML;
}
function btemplatesJqueryGetComments(el, commentsToDisplay) {
commentsToDisplay = parseInt(commentsToDisplay);
$j.get( blogurl + '/feeds/comments/summary', { 'alt':'json', 'max-results':commentsToDisplay }, function(data) {
var code = btemplatesProcessComments(data, commentsToDisplay);
el.html(code);
});
}
function btemplatesProcessComments(json, commentsToDisplay) {
if (json.feed.entry === undefined)
return 'No comments found';
var commentHTML = '';
var months = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"];
for (var i = 0; i < commentsToDisplay; i++) {
var comment = commentDateTime = commentDate = commentYear = commentMonth = commentMonthName =
commentDay = commentUrl = commentContent = commentSummary = commentAuthor =
commentAuthorAvatar = postTitle = '';
comment = json.feed.entry[i];
if (comment === undefined)
continue;
commentDateTime = comment.published.$t;
commentDate = commentDateTime.substring(0, 10);
commentYear = commentDate.substring(0, 4);
commentMonth = commentDate.substring(5, 7);
commentMonthName = months[parseInt(commentMonth) - 1];
commentDay = commentDate.substring(8, 10);
commentAuthor = comment.author[0].name.$t;
for (var j = 0; j < comment.link.length; j++) {
if (comment.link[j].rel === 'alternate') {
commentUrl = comment.link[j].href;
break;
}
}
commentContent = commentSummary = comment.summary.$t;
commentAuthorAvatar = comment.author[0].gd$image.src;
if (commentAuthorAvatar.indexOf('blogblog.com/img/blank.gif') !== -1 ) {
commentAuthorAvatar = 'https://3.bp.blogspot.com/-qnvargRhquo/XSJ9VCaxZ4I/AAAAAAAABNU/f5c-lN4M9dIl3Wr87zT_guszgZY9RDe6gCLcBGAs/s100/user.png';
}
postTitle = comment.title.$t;
commentHTML += ''+
''+
'
' +
'
'+
''+
''+commentAuthor+': '+commentContent+
'
'+
'';
}
return commentHTML;
}
linkListUl = $j('.navbar .section ul').each(function(){ $j(this).addClass('navbar-nav') });
$j('.navbar .section li').each(function(i){
var navItemText = $j(this).children('a').text();
$j(this).addClass('nav-item align-self-lg-center');
$j(this).children('a').addClass('nav-link');
var re = /^-([^-]+)/i;
var resub = /^--([^-]+)/i;
var retag = /^(tag:[^-]+)-?(\d+)?-?(true|false)?/i;
if (re.exec(navItemText) && ajaxSupport) {
var previousNavItem = $j(this).prev();
if(previousNavItem.length){
var navItemLink = $j(this).children('a').attr('href');
var navItemNewText = navItemText.replace(/^-/i, '');
var nextNavItem = $j(this).next();
var nextNavItemText = nextNavItem.text();
var previousNavItemLink = previousNavItem.children('a').attr('href');
var previousNavItemText = previousNavItem.children('a').text();
var newLink = subitems = '';
while( resub.exec($j(this).next().text()) ) {
subitems += '' +
'' + $j(this).next().text().replace('--', '') + '';
$j(this).next().remove();
}
$j(this).remove();
if( resub.exec(nextNavItemText) ) {
newLink = '' +
''+navItemNewText+'' +
'
';
} else {
newLink = '' + navItemNewText + '';
}
if (previousNavItem.hasClass('dropdown')) {
var dropdownList = previousNavItem.find('.dropdown-menu').first();
dropdownList.append(newLink);
} else {
previousNavItem.className += ' ' + 'dropdown';
previousNavItem.addClass('dropdown');
previousNavItem.html('' +
previousNavItemText +
'' +
'' +
subitems +
'
' +
'' +
newLink +
'
');
}
}
} else if (retag.exec(navItemText) && ajaxSupport) {
var dropdownSettings = navItemText.match(retag);
var postsType = dropdownSettings[1];
var postsToDisplay = parseInt(dropdownSettings[2]);
var postsThumbnailSize = dropdownSettings[3] === 'true' ? 200 : 0;
$j(this).addClass('dropdown');
$j(this).children('a').html(postsType.replace(/tag:|-\d/, ''));
btemplatesJqueryGetPosts($j(this), postsToDisplay, postsType, postsThumbnailSize, 'menulist');
}
});
$j('#topMenu').removeClass('d-none');
$j(function() {
$j("div.dropdown-menu [data-toggle='dropdown']").on("click", function(event) {
event.preventDefault();
event.stopPropagation();
$j(this).closest('.dropdown-menu.show').find('.dropdown-menu').removeClass('show');
$j(this).siblings().toggleClass("show");
if (!$j(this).next().hasClass('show')) {
$j(this).parents('.dropdown-menu').first().find('.show').removeClass("show");
}
$j(this).parents('li.nav-item.dropdown.show').on('hidden.bs.dropdown', function(e) {
$j('.dropdown-submenu .show').removeClass("show");
});
});
});
$j('.navbar-simple .section').each(function(){
if($j(this).find('.widget-content').length)
$j(this).html($j(this).find('.widget-content').html());
});
$j('.navbar-simple .section li').each(function(){
var navItemText = $j(this).children('a').text();
$j(this).addClass('nav-item');
$j(this).children('a').addClass('nav-link');
});
$j('.navbar-simple .section ul').each(function(){
$j(this).addClass('nav');
});
$j('.btemplates-dropdown nav, .btemplates-dropdown .navbar-simple').each(function(){
$j(this).removeClass('d-none');
});
$j('.HTML .widget-content').each(function(i){
var re = /^\s?(\d+)-(.*?)-(\d+)p?x?-?(list|slider|menulist|mosaic|course|testimonial|bloglist|video|related)?-?(\d*)?\s?$/i;
var commentsre = /(\d+)-comments/i;
if (re.exec($j(this).html()) && ajaxSupport) {
var postsSettings = $j(this).html().match(re);
var postsToDisplay = postsSettings[1];
var postsType = postsSettings[2];
var postsThumbnailSize = postsSettings[3];
var postsStyle = postsSettings[4] ? postsSettings[4] : 'list';
var postsExclude = postsSettings[5] ? postsSettings[5] : false;
$j(this).html('
');
btemplatesJqueryGetPosts($j(this), postsToDisplay, postsType, postsThumbnailSize, postsStyle, postsExclude);
} else if (commentsre.exec($j(this).html()) && ajaxSupport) {
var commentsSettings = $j(this).html().split('-');
var commentsToDisplay = parseInt(commentsSettings[0]);
$j(this).html('
');
btemplatesJqueryGetComments($j(this), commentsToDisplay);
}
});
$j('.post .post-body').each( function(i){
var re = /\[posts--(tag\:.*?)--(\d+)\]/i
if (re.exec($j(this).html()) && ajaxSupport) {
var postsSettings = $j(this).html().match(re);
var postsShortcode = postsSettings[0];
var postsTag = postsSettings[1];
var postsToDisplay = postsSettings[2];
var loading = '
Syncing Data...
Redirecting to Piku Home to verify node connection
VERIFY NOWUPLOADING TO CLOUD: 3s