2012-04-06 8 views
0

Ich verwende den folgenden Link und analysiere die XML-Felder und zeige die Titel in der Listenansicht an. Mein Problem ist, dass die Beschreibung HTML-Tags enthält.Die Beschreibung in einem XML-Feed abrufen

<description><![CDATA[<p>We had one of our best episodes yet talking about how to monetize apps through advertisements and how to create custom ones. In addition we taught how to implement analytics in your app and how important analytics are to improving user experience. Our special guest for the show was Scott Mountenay, a web developer who has entered the Android ecosystem. He speaks about his experience, opinions, and favourite things about developing for Android. Join us in another two weeks on April 5th for another great episode.</p> 
<p>&nbsp;</p> 
<p>&nbsp;</p> 
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="296" id="utv206642" name="utv_n_61348"><param name="flashvars" value="loc=%2F&amp;autoplay=false&amp;vid=13501464&amp;locale=en_US&amp;hasticket=false&amp;id=13501464&amp;v3=1" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.ustream.tv/flash/viewer.swf" /><embed flashvars="loc=%2F&amp;autoplay=false&amp;vid=13501464&amp;locale=en_US&amp;hasticket=false&amp;id=13501464&amp;v3=1" width="480" height="296" allowfullscreen="true" allowscriptaccess="always" id="utv206642" name="utv_n_61348" src="http://www.ustream.tv/flash/viewer.swf" type="application/x-shockwave-flash" /></object></p> 
<p style="text-align: center;"><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" width="480" height="296" id="utv418087" name="utv_n_63775"><param name="flashvars" value="loc=%2F&amp;autoplay=false&amp;vid=13502856&amp;locale=en_US&amp;hasticket=false&amp;id=13502856&amp;v3=1" /><param name="allowfullscreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.ustream.tv/flash/viewer.swf" /><embed flashvars="loc=%2F&amp;autoplay=false&amp;vid=13502856&amp;locale=en_US&amp;hasticket=false&amp;id=13502856&amp;v3=1" width="480" height="296" allowfullscreen="true" allowscriptaccess="always" id="utv418087" name="utv_n_63775" src="http://www.ustream.tv/flash/viewer.swf" type="application/x-shockwave-flash" /></object></p>]]></description> 

Wie würde ich nur die Daten anzeigen, die sinnvoll sind. Klicken Sie auch auf die Listenansicht, um das Layout für diesen Text anzuzeigen, und wie würde ich ihn erstellen?

+1

Sie [hier] (http://stackoverflow.com/a/2116191/603127) zu zeigen, wie HTML in Textview finden. – ocanal

+0

Ja. Das hat funktioniert. Danke für die Hilfe – user1092042

Antwort

Verwandte Themen