Android find the address in the html body -
i have rss feed title, author, description, , body. display them in android web view. need find if body has mailing address. if there, need show them highlighted , clickable, might launch new page. how can this? sample rss feed:
<title><![cdata[ nj ‘computer geek’ latest file beating claim against harrah’s a.c. security ]]></title> <author><![cdata[ sam wood <br> philly.com ]]></author> <description> </description> <body><![cdata[ <p><img style='float: left;height: 48px;padding: 0 8px 8px 0;width: 100px;' class='img_noborder partnerbadges' src='http://media.philly.com/designimages/partnericon-mobile-phillycom.jpg' border='0'/></p> <p>a new jersey computer engineering student latest person claim victim of unprovoked beating @ hands of security guards @ atlantic city casino, bringing total @ least four.</p> <p>richard travellin, 23, filed suit in bergen county court last week against harrah’s atlantic city , parent company, caesars entertainment corp.</p> <p>travellin, attorney described “shy computer geek,” joins mother , daughter florida , 2 atlantic county cab drivers poorly trained guards attacked them while on harrah’s property. each of alleged attacks captured on video harrah’s in-house surveillance cameras.</p> <p>a spokesman casino declined comment</body>
where body might have address : 120 morton street, philadelphia, pa
if (html.tostring().contains(struniqid)) { }
Comments
Post a Comment