question: private String readAlternateLink ( XmlPullParser parser ) throws IOException , XmlPullParserException { String link = null ; parser . require ( XmlPullParser . START_TAG , ns , "link" ) ; String tag = parser . getName ( ) ; String relType = parser . getAttributeValue ( null , "rel" ) ; if ( relType . equals ( "alternate" ) ) { link = parser . getAttributeValue ( null , "href" ) ; } while ( true ) { if ( parser . nextTag ( ) == XmlPullParser . END_TAG ) { break ; } } return link ; }
target:  Processes link tags in the feed.