• Itsasylum

    (@itsasylum)


    I have a feed puller that pulls in articles to my site. I have one particular feed that has really good articles, however at the bottom of each post this bit of code in included. It messed up the entire post and i have to manually go in and edit it out for each post that comes from that site. is there any way that i could block this piece of code from being posted? I’d hate to have to drop that feed.

    ‘);
    jQuery(yt_video_wrapper).remove();
    });
    });

    }

    function runFacebookPixel() {
    !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function(){n.callMethod?
    n.callMethod.apply(n,arguments):n.queue.push(arguments)};if(!f._fbq)f._fbq=n;
    n.push=n;n.loaded=!0;n.version=’2.0′;n.queue=[];t=b.createElement(e);t.async=!0;
    t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window,
    document,’script’,’//connect.facebook.net/en_US/fbevents.js’);

    fbq(‘init’, ‘700623604017080’);
    fbq(‘track’, ‘PageView’);
    }

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    In theory it should be possible. Content can be altered through the use of regular expressions. The specific way of doing so depends on how your feed puller works. I suggest asking through that plugin’s dedicated support channel where its devs are in the best position to help you.

Viewing 1 replies (of 1 total)
  • The topic ‘blocking code from being posted.’ is closed to new replies.