creating a smartphone client for windows phone 7 or android -
I am trying to design an Android or Windows Phone 7 app (a customer) who will get news from the website , That website has not provided an API or XML file.
My question is, what is the best way to do this? Can I just parse my content by downloading html file? If my questions are a bit unclear then I apologize, but I am not asking for codes. I need some guidelines or approach to do this.
Note: I will not violate any copyright, just a portal for my university website.
If Windows 7 is a version of HTML Integrity Pack for WP7.
Here is some sample code:
Public zero hap () {HtmlWeb.LoadAsync ("http://www.mycollege.edu/news", on-callback ); } Private Zero On-Callback (Object S, HTML DocLock Loaded Complete HTMLDocumentLoadCompleted) {var htmlDocument = htmlDocumentLoadCompleted.Document; / / <> There is another way that any kind of service should be done, it actually acts as a scrapping and management of news, you can control the format that uses mobile devices. . Such as XML or JSON.
Comments
Post a Comment