Giter Site home page Giter Site logo

Handle invalid rss feeds about feed-rs HOT 6 CLOSED

ayrat555 avatar ayrat555 commented on June 14, 2024
Handle invalid rss feeds

from feed-rs.

Comments (6)

markpritchard avatar markpritchard commented on June 14, 2024

Hi @ayrat555 , there was a fix merged recently for invalid dates in Atom feeds and testing with reddit on cdd83a40e4c51c9b9401feddb7fcc395a0a4de15 it parses correctly. Looking at the feed though, it appears to already comply (the issue was a missing colon in the timezone component of the date field).

In any case, I'll be releasing 0.2.4 shortly with this fix, along with a regression test case to ensure Reddit parses correctly in the future too.

from feed-rs.

ayrat555 avatar ayrat555 commented on June 14, 2024

@markpritchard I just tried a master branch and it doesn't work for me with NoFeedRoot as well as #53

I think the issue should be re-opened

from feed-rs.

markpritchard avatar markpritchard commented on June 14, 2024

Curious - do you have the raw XML that fails @ayrat555 ? It would help reproduce and fix the issue.

from feed-rs.

markpritchard avatar markpritchard commented on June 14, 2024

Suspect this was due to redirects, similar to #53 . Feel free to comment + upload the examples if this is not the case @ayrat555

from feed-rs.

ayrat555 avatar ayrat555 commented on June 14, 2024

The issue was caused by Reddit API. It needed a user-agent header. I'm sorry for the inconvenience.

I completely migrated el_monitorro to feed-rs as parsing backend

from feed-rs.

markpritchard avatar markpritchard commented on June 14, 2024

Great, thanks for the update @ayrat555 - great to hear you find the library useful!

from feed-rs.

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.