Giter Site home page Giter Site logo

syndikit's Issues

dataCorrupted for some feeds

When I try to parse https://feeds.npr.org/344098539/podcast.xml, I get this error. Tried with another RSS parser, and it was able to parse it, so I'm not sure what's wrong exactly.

dataCorrupted(Swift.DecodingError.Context(codingPath: [], debugDescription: "Failed to decode data with several decoders.", underlyingError: Optional((extension in SyndiKit):Swift.DecodingError.Dictionary(errors: ["RSS": Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "link", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "channel", intValue: nil), CodingKeys(stringValue: "item", intValue: nil), XMLKey(stringValue: "193", intValue: 193), XMLKey(stringValue: "193", intValue: 193), CodingKeys(stringValue: "link", intValue: nil)], debugDescription: "No attribute or element found for key CodingKeys(stringValue: \"link\", intValue: nil) (\"link\").", underlyingError: nil)), "Atom": Swift.DecodingError.keyNotFound(CodingKeys(stringValue: "id", intValue: nil), Swift.DecodingError.Context(codingPath: [CodingKeys(stringValue: "id", intValue: nil)], debugDescription: "No attribute or element found for key CodingKeys(stringValue: \"id\", intValue: nil) (\"id\").", underlyingError: nil))]))))

Make all `WordPressElements` as `Equatable`, and make their properties as public

To make following WordPressElements confirming to Equatable protocol, and their properties as public:

Reason:
We needed them part of ContributeWordPress testing, and their properties are inaccessible due to internal access modifier.

Parse Other Podcast Elements

<podcast:transcript url="https://share.transistor.fm/s/336118a1/transcript.srt" type="text/srt" rel="captions"/>
<podcast:chapters url="https://share.transistor.fm/s/336118a1/chapters.json" type="application/json+chapters"/>

Problems with RSS from some major news cooperations

I tried out SyndiKit in my app, where I want to parse the RSS feed from CNN and the national Danish broadcasting company 'DR'. Both fail. When I try an RSS feed from the national Swedish broadcasting company 'SVT', it works fine.

I can't seem to figure out, what the difference is, that makes CNN and DR fail.

The failing RSS feeds:

The working RSS feed:

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.