Orijinali görüntüle

‘);
$(“.next-news-title”).html(htmlDecode(currentContainer.find(‘.page-next-news-title’).val()));
$(‘link[rel=”alternate”]’).attr(‘href’, htmlDecode(currentContainer.find(‘.page-alternate-url’).val()));
$(“link[rel=’amphtml’]”).attr(‘href’, htmlDecode(currentContainer.find(‘.page-amp-url’).val()));
$(“link[rel=’image_src’]”).attr(‘href’, htmlDecode(currentContainer.find(‘.page-img-url’).val()));
$(“link[rel=’thumbnail’]”).attr(‘href’, htmlDecode(currentContainer.find(‘.page-img-url’).val()));
$(document).attr(“title”, htmlDecode(currentContainer.find(‘.page-title’).val()));
$(“meta[name=description]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-description’).val()));
$(“meta[name=keywords]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-keywords’).val()));
if(currentContainer.find(‘.page-video-content’).val() != ”){
$(“meta[name=’twitter:card’]”).attr(“content”, “player”);
$(“head”).append(”);
$(“head”).append(”);
$(“head”).append(”);
} else {
$(“meta[name=’twitter:card’]”).attr(“content”, “summary_large_image”);
$(“meta[name=’twitter:player’]”).remove();
$(“meta[name=’twitter:player:width’]”).remove();
$(“meta[name=’twitter:player:height’]”).remove();
}
$(“meta[name=’twitter:image’]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-img-url’).val()));
$(“meta[name=’twitter:url’]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-url’).val()));
$(“meta[name=’twitter:title’]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-social-title’).val()));
$(“meta[name=’twitter:description’]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-social-description’).val()));
$(“meta[property=’og:image’]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-img-url’).val()));
$(“meta[property=’og:title’]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-social-title’).val()));
$(“meta[property=’og:description’]”).attr(“content”, htmlDecode(currentContainer.find(‘.page-social-description’).val()));
$(“#breadcrumbStructuredData”).remove();
$(“head”).append(‘

‘);
lastNewsContainer.find(“.rb”).append(”);
$(“#newsPageContainer”).append(‘

Yükleniyor lütfen bekleyiniz

‘);
$scrollElm.removeClass(“true”);

if($(“.next-news”).data(“scroll”) == true){
$(“.next-news”).data(“scroll”,false);
$(“.next-news”).data(‘id’,lastNewsContainer.find(‘.page-next-news-id’).val());
window.scrollTo(0,$(“#newsDetail”+dataPageId).offset().top);
}

setTimeout(function(){
html.css(‘overflow’, ‘auto’);
}, 500);

} else {
html.css(‘overflow’, ‘auto’);
}
});
}, 200);
} else {
$(“#morePost”).fadeOut(“slow”);
}
});
})();