Reputation: 383
I'm trying to make a Windows phone app which takes data from an HTML page
HTML example
<span id="ctl00_ContentPlaceHolderPrincipale_ListViewEventi_ctrl0_dataLabel" class="dataNotizia">27 dicembre 2013</span>
<br />
<span id="ctl00_ContentPlaceHolderPrincipale_ListViewEventi_ctrl0_titoloLabel" class="titoloNotizia">FOCUS: ANCHE I VIP AL FREDDO COME I POVERI</span>
<a id="ctl00_ContentPlaceHolderPrincipale_ListViewEventi_ctrl0_LinkButton1" class="linkSMS" href="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolderPrincipale$ListViewEventi$ctrl0$LinkButton1", "", false, "", "sms_vedi.aspx?evento=FOCUS: ANCHE I VIP AL FREDDO COME I POVERI&data=27/12/2013", false, true))">Vedi tutti gli SMS della puntata</a>
<br />
<br />
For example I want to show a list which shows the text in the class titoloNotizia
. How can I do this?
Upvotes: 0
Views: 262
Reputation: 15860
To get the data from an HTML source, and show it as a software is a job of a Browser app.
Which requires you to get Network usage permission, which would load the data from the HTML source.
But if you're saying an offline (downloaded) HTML page, then you might need to edit the app as to read the HTML lines and show them as needed.
Still my bet would be a Web Browser!
Upvotes: 0