News

Britain’s Biggest Chicken Producer Says the Country’s Binge on Cheap Food is over and It

[ad_1]

(SocialLY brings you all the latest breaking news, viral trends and information from social media world, including Twitter, Instagram and Youtube. The above post is embeded directly from the user’s social media account and LatestLY Staff may not have modified or edited the content body. The views and facts appearing in the social media post do not reflect the opinions of LatestLY, also LatestLY does not assume any responsibility or liability for the same.)

var visible = false;
var working = false;
var k=1;
var articleid = $(‘.article_widget’).attr(‘data-articleid’);
var articleupdate = $(‘.article_widget’).attr(‘data-articleupdate’);
var socially_title = “Britain’s Biggest Chicken Producer Says the Country’s Binge on Cheap Food is over and It … – Latest Tweet by Reuters”;
var socially_url = “https://www.latestly.com/socially/world/britains-biggest-chicken-producer-says-the-countrys-binge-on-cheap-food-is-over-and-it-latest-tweet-by-reuters-2952769.html”;
var socially_url1 = “https://www.latestly.com/socially/world/britains-biggest-chicken-producer-says-the-countrys-binge-on-cheap-food-is-over-and-it-latest-tweet-by-reuters-2952769.html”;
var currenthref = socially_url;
var socially_url2 = ”;
var emoji=”;
var emoji1 = ”;
var relatedArticleWidget=””;
var articleid1 = ”;
$(document).scroll(function () {
$(‘.socially_article_widget’).each(function (el,i) {

articleid = $(this).attr(‘data-articleid’);
articleupdate = $(this).attr(‘data-articleupdate’);
socially_title = $(this).attr(‘data-articletitle’);
socially_url = $(this).attr(‘data-newurl’);
emoji = $(this).attr(‘data-emoji’);

emoji1 = $(this).prevAll(“.socially_article_widget2”).attr(‘data-emoji’);
socially_url2 = $(this).prevAll(“.socially_article_widget2”).attr(‘data-newurl’);
articleid1 = $(this).prevAll(“.socially_article_widget2”).attr(‘data-newid’);

var top = window.pageYOffset;
var distance = top – $(this).offset().top;
var newhref = socially_url;

var scrollTop = $(window).scrollTop();
var top_of_element1 = jQuery(“.socially_article”).last().offset().top;
//console.log(“count: “+scrollTop+” “+top_of_element1);
if((scrollTop 3000) && !working && currenthref != socially_url1){
working = true;
currenthref = socially_url1;
var infiniteScrollArticles=”

  • “;
    //bottom sticky widget when scroll up at 1st article
    $(“.bxslider”).html(infiniteScrollArticles);
    var emoji2 = “Britain’s Biggest Chicken Producer Says the Country’s Binge on Cheap Food is over and It … – Latest Tweet by Reuters | 🌎 LatestLY”;
    console.log(“count1”);
    var newhref1 = “https://www.latestly.com/socially/world/britains-biggest-chicken-producer-says-the-countrys-binge-on-cheap-food-is-over-and-it-latest-tweet-by-reuters-2952769.html”;
    $(‘h1:first’).text(“Britain’s Biggest Chicken Producer Says the Country’s Binge on Cheap Food is over and It … – Latest Tweet by Reuters”);
    $(document).find(“title”).text(emoji2)
    window.history.pushState(“”,””,”https://www.latestly.com/socially/world/britains-biggest-chicken-producer-says-the-countrys-binge-on-cheap-food-is-over-and-it-latest-tweet-by-reuters-2952769.html”);
    gtag(‘config’, ‘UA-111635423-1’, { ‘page_path’: newhref1.replace(“https://”+window.location.hostname+”/”, “”)});
    setTimeout(function(){ working=false; }, 400);
    return false;
    }

    //console.log(“distance “+distance+” && working”+working+” &&currenthref:”+currenthref+” && newhref”+newhref+” && socially_url2″+socially_url2+” “+k);
    if(distance -900 && !working && newhref != socially_url2 && currenthref == newhref && typeof socially_url2 != ‘undefined’){
    newhref = socially_url2;

    //bottom sticky widget when scroll up
    relatedArticleWidget = $(‘.bx’+articleid1).html();
    $(“.bxslider”).html(relatedArticleWidget);
    currenthref = newhref;
    console.log(“change url2″+newhref);
    working = true;

    $(‘h1:first’).text($(this).prevAll(“.socially_article_widget2”).attr(‘data-articletitle’));
    $(‘meta[property=og\:title]’).attr(‘content’, $(this).prevAll(“.socially_article_widget2”).attr(‘data-articletitle’));
    $(‘meta[property=og\:url]’).attr(‘content’, newhref);
    $(document).find(“title”).text($(this).prevAll(“.socially_article_widget2”).attr(‘data-articletitle’)+’ | ‘+emoji1+’ LatestLY’)
    window.history.pushState(“”,””,newhref);
    gtag(‘config’, ‘UA-111635423-1’, { ‘page_path’: newhref.replace(“https://”+window.location.hostname+”/”, “”)});
    self.COMSCORE && COMSCORE.beacon({ c1: “2”, c2: “27040963” });

    setTimeout(function(){ working=false; }, 500);
    return false;
    }else if (distance -450 && !working && currenthref != newhref) {
    working = true;

    ////bottom sticky widget when scroll down
    relatedArticleWidget = $(‘.bx’+articleid).html();
    $(“.bxslider”).html(relatedArticleWidget);
    currenthref = newhref;
    console.log(“change url1″+newhref);
    $(‘h1:first’).text($(this).attr(‘data-title’));
    $(‘meta[property=og\:title]’).attr(‘content’, socially_title);
    $(‘meta[property=og\:url]’).attr(‘content’, newhref);
    $(document).find(“title”).text(socially_title +’ | ‘+emoji+’ LatestLY’)
    window.history.pushState(“”,””,newhref);
    //var res = newhref.replace(“https://www.latestly.com/”, “”);
    gtag(‘config’, ‘UA-111635423-1’, { ‘page_path’: newhref.replace(“https://”+window.location.hostname+”/”, “”)});
    self.COMSCORE && COMSCORE.beacon({ c1: “2”, c2: “27040963” });
    setTimeout(function(){ working=false; }, 400);
    return false;
    }
    });
    var bottom_of_screen = jQuery(window).scrollTop() + window.innerHeight;
    var top_of_element = jQuery(“.container .article-footer”).last().offset().top;
    if(bottom_of_screen top_of_element && !visible){
    visible = true;
    k=k+1;
    if(k==2 && false){
    var dm_js = document.createElement(‘script’);
    dm_js.src=”https://stfe.latestly.com/js/dm-ce.min.js?v=1.1″;
    dm_js.async=”async”;
    document.body.appendChild(dm_js);
    }
    $.ajax({
    method: “GET”,
    url: “/larajax/live-socially-ajax/”,
    data:{ curr_socially:articleid,curr_date:articleupdate,index:k },
    dataType: ‘json’
    }).done(function( data ) {
    $(“.socially_article”).append(data.html);
    $(“img.lazyload”).lazyload();
    window.instgrm.Embeds.process();
    var slotName = “div-gpt-ad-1560419575255-“+k;


    [ad_2]

    Read More:Britain’s Biggest Chicken Producer Says the Country’s Binge on Cheap Food is over and It