Quantcast
Channel: Android: how to get link from Atom - Stack Overflow
Viewing all articles
Browse latest Browse all 2

Android: how to get link from Atom

$
0
0

I'm making RSS reader for Android but I have problem with Atom. In RSS 2.0 I get link with this:

if (xpp.getName().equalsIgnoreCase("link"))

and it's made like this:

<link>http://wiadomosci.wp.pl/kat,1329,title,Kuratorium-odrzucilo-zastrzezenia-dyrektora-gimnazjum-salezjanskiego,wid,15039916,wiadomosc.html</link>

so there is no problem. But in Atom it's made in another way:

<link href="http://wiadomosci.onet.pl/media/spor-posla-po-z-wprost-czuje-sie-oszukany,1,5285815,wiadomosc.html"  rel="alternate"></link>

How to get this link?


Viewing all articles
Browse latest Browse all 2

Trending Articles





<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>