crazyhitty / Munch

[Deprecated] A minimalistic Rss Reader for Android devices
MIT License
169 stars 57 forks source link

Feeds failed to load #1

Closed callmepeanut closed 8 years ago

callmepeanut commented 8 years ago

Nice UI! But when I try to add feeds and refresh, it show "Feeds failed to load" toast after "not working" toast. I test several feeds, same problem, for example: http://us2.campaign-archive1.com/feed?u=887caf4f48db76fd91e20a06d&id=4eb677ad19

callmepeanut commented 8 years ago

I look into the code and find:

            if (mSource.equals("all_sources")) {
                mFeedsPresenter.attemptFeedLoading();
            } else {
                Toast.makeText(getActivity(), "not working", Toast.LENGTH_SHORT).show();
                //fix it later
                mFeedsPresenter.attemptFeedLoading(mSource);
            }

I know why, you have not implemented single source yet.

crazyhitty commented 8 years ago

This toast was unnecessary, I most probably forgot to remove this part while publishing. Regarding the feed, the parser I made with jsoup fails to recognize this as a valid url. The parser unfortunately doesn't support every rss feed url yet. You can take a look at the library I created that parses the rss feed urls here.

The library is still in a very early stage, and I will try my best to fix it as soon as possible.

crazyhitty commented 8 years ago

Now users won't receive the toast message "not working". It was a mistake on my end. You will still get an error showing "Feeds failed to load" as I have not fixed the problem in the library yet.

callmepeanut commented 8 years ago

Oh, I tried http://www.engadget.com/rss.xml, it works.