ahorn / android-rss

Lightweight Android library to parse RSS 2.0 feeds.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Not Working well with some rss urls

julias99 opened this issue · comments

Hi everybody
This is my rss and it won't work in this library

http://yazd.irib.ir/news/-/asset_publisher/Z10PWtuy88n7/rss

i would know why!

Thanks

commented

Is an exception thrown? If yes, a good way of going about solving this problem it is to analyze the stack trace that you get. It likely has to do with the text encoding.

Unfortunately it doesn't throws any exception, only not showing anything and RssFeed is empty.

I tested persian rss with this code before and it worked.

commented

Does it get to startElement in RSSHandler? I am afraid you may have to insert some debug statements to narrow down the problem.

Hello again sir

yes i check it ( insert Log.i).
I had a lot of log from startElemt.
so what should i do?
thanks for your attention

commented

What's your development background? You can use either simple debug
statements to, say, find out whether the setter variable is being assigned
the right value (see the choice of SET_* constants) or you could use a
debugger in your favourite IDE, e.g. Eclipse.

On 9 May 2016 at 09:45, julias99 notifications@github.com wrote:

Hello again sir

yes i check it ( insert Log.i).
I had a lot of log from startElemt
https://github.com/ahorn/android-rss/blob/master/src/main/java/org/mcsoxford/rss/RSSHandler.java#L325
.
so what should i do?
thanks for your attention


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#31 (comment)

Can u check this url ?
I checked a lot but ... nothing yet

Hello again
the all of setters will return null

commented

That means the qname of the startElement argument is none of the following:
https://github.com/ahorn/android-rss/blob/master/src/main/java/org/mcsoxford/rss/RSSHandler.java#L301

Please take it from here.

On 9 May 2016 at 23:44, julias99 notifications@github.com wrote:

Hello again
the all of setters will return null


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#31 (comment)