Code Monkey home page Code Monkey logo

Comments (12)

 avatar commented on May 22, 2024

I guess AntennaPod only supports rss 1.0 and rss 2.0, but those are rss 0.9.0 feeds...

from antennapod.

lapseofreason avatar lapseofreason commented on May 22, 2024

You are right, they do indeed seem to be RSS 0.9.* feeds. This version still seems to be quite common though, at least a lot of my feeds are.

from antennapod.

danieloeh avatar danieloeh commented on May 22, 2024

In commit 38439db i have added support for RSS 0.9.1 and 0.9.2 feeds and the feeds you posted now seem to work. If you know of any more RSS 0.9.* feeds, you can post them too, if you want, so that i can add them to the testfile and make sure that they work.

from antennapod.

lapseofreason avatar lapseofreason commented on May 22, 2024

Thanks a lot for the quick fix! I will check all feeds and see if any of them still don't work.

I had problems building it in Eclipse though, is it possible that the class de.danoeh.antennapod.R is missing in the repo?

from antennapod.

danieloeh avatar danieloeh commented on May 22, 2024

The R.java file should be generated automatically by eclipse. If it is not built automatically, there might be errors in the project or you might just have to clean the project first.

from antennapod.

lapseofreason avatar lapseofreason commented on May 22, 2024

You are right, there were some errors in res/values-land/styles.xml and res/values/styles.xml because the style Theme.Sherlock.Light.ForceOverflow could not be found. Apparently, it is not available any more in newer versions of Android, so I replaced it with Theme.Sherlock.Light. Also proguard.cfg refers to some paths that are specific to your computer, which I replaced by relative paths.

I finally got it to build, but when I try to add the feed, the download does not complete but stays at 100% (or 400%-something for risky.biz) forever. I'm not sure if it's a problem with the code or just with my build though, if you have another build for me to test I would gladly do that.

from antennapod.

danieloeh avatar danieloeh commented on May 22, 2024

At the moment, i am using version 4.1.0 of that library because i haven't decided what to use instead of the ForceOverflow theme yet. And i should definitely change the proguard.cfg file (maybe those lines can be removed, i haven't tested it).

I uploaded an APK to the downloads section that contains the bugfixes for this issue and issue #48. With this APK the feeds worked on my device.

from antennapod.

lapseofreason avatar lapseofreason commented on May 22, 2024

Thanks for the build, with Antennapod-issue47.apk most of the feeds do indeed work now, except the last two in the list above (risky.biz), which still result in "Invalid type".

from antennapod.

danieloeh avatar danieloeh commented on May 22, 2024

The links you posted are links to HTML pages. Have you tried the actual feed URLs?

http://risky.biz/feeds/risky-business
http://risky.biz/feeds/rb2

from antennapod.

lapseofreason avatar lapseofreason commented on May 22, 2024

I think those are the actual feeds, at least those are the links to the feeds from the main website and firefox recognizes them as such. When looking at the page source they seem to be xml and the rss tag is present, but I'm not sure how to check whether they are valid.

from antennapod.

danieloeh avatar danieloeh commented on May 22, 2024

The links i posted are RSS feeds, but the ones in the first post were HTML pages:

http://risky.biz/feeds/risky-business <- Feed
http://www.risky.biz/netcasts/risky-business <- HTML

http://risky.biz/feeds/rb2 <- Feed
http://www.risky.biz/netcasts/rb2 <- HTML

In version 0.9.6 the feeds should work. If not, could you post the Android version that is running on your device?

"Valid" just means that the root of the XML is "rss" (or "feed" for Atom feeds). AntennaPod recognizes HTML sites as "Invalid feeds" because the root is "html". I admit that the error message AntennaPod is giving in this situation is not the most detailed one.

from antennapod.

lapseofreason avatar lapseofreason commented on May 22, 2024

You are absolutely right about the feed, I missed the www in the address. I can confirm that the feeds now work in version 0.9.6, thanks a lot.

from antennapod.

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.