Git Product home page Git Product logo

Comments (3)

ErisDS avatar ErisDS commented on July 29, 2024 1

@kirrg001 I'm the maintainer here ;)

I think the best approach for a non-breaking change would be to add a flag that is disabled by default, but when enabled auto-removes iframes? Possibly the same for #49, and then we can turn those features on by default for a 2.0.0 release?! πŸ€”

from node-rss.

jochenkirstaetter avatar jochenkirstaetter commented on July 29, 2024 1

Hi,

That would be great. Discovered today that my automatic blog post distribution using Feedburner did not fire due to invalid RSS feed. I run into both issue #49 and this one. I'm using Ghost as blogging platform (came from their issue #8442 here).

  • XML parsing error: :131:3519: not well-formed (invalid token)
  • content:encoded should not contain iframe tag
  • content:encoded should not contain script tag
  • content:encoded should not contain data-lang attribute

The iframe is related to the Youtube card, and script element is based on the Twitter card in Ghost's editor.

I'm going to apply @ErisDS's ensureValid method from your branch to check whether invalid characters are going to be resolved.

Cheers, JoKi

from node-rss.

kirrg001 avatar kirrg001 commented on July 29, 2024

yeah great idea πŸ‘

from node-rss.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.