Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Bas Schuiling

    (@basszje)

    Hi,

    Could you be more specific which codes actually are you referring to? Preferably with some example you can show me on a site.

    Thread Starter Sophiamolino

    (@sophiamolino)

    Of course.

    I have an example here:

    https://minimalblogs.com/milky/

    Let me know if you need more specific information.

    Plugin Author Bas Schuiling

    (@basszje)

    That’s not so much HTML as it is Javascript, which is very strange since something like that should not be coming from a feed. What feed are you using?

    Thread Starter Sophiamolino

    (@sophiamolino)

    A RSS feed? Do you mean that?

    This is the feed URL: https://www.fireonthehead.com/feeds/posts/default?alt=rss

    Plugin Author Bas Schuiling

    (@basszje)

    Yes that’s what I meant. I checked the feed and the format is different then was I’m used to. Also it included scripting inside the content, something that’s not really handy.

    I don’t think currently there is solution for this, other then kindly asking the feed owner not to include javascripts into their feeds, or making a better – more SEO friendly also – feed.

    I’m having the same issue with JS in feed posts. I tried using the keyword stripping as the script is always the same, but then my posts don’t have anything at all in them. Here’s what I’d need to strip from each post:

    !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");

    Plugin Author Bas Schuiling

    (@basszje)

    Question: The RSS-feeds you are importing, are those from blogger.com or some other big provider?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Remove HTML from post’ is closed to new replies.