[UWP]从UWP网站获取实时数据 [英] [UWP]Getting live data from website on UWP
问题描述
您好,请一些专家指导我如何从UWP网站上获取数据。为了更清楚,让我解释一下。
Hello, please some experts guide me how can I get data from website on UWP. To be more clear let me explain.
MY CONCEPT:我设计了一个包含1个文本框1个文本块和1个按钮的XAML。我把我想要获取内容的URL放在TextBox中。当我通过ClickEvent按下Button时,标题和正文内容等网站的内容必须显示在
TextBlock上,不包括横幅,评论,网站导航按钮等仅显示内容。
MY CONCEPT: I designed a XAML that contains 1 text box 1 text block and 1 button. I put the URL that I want to get contents from in TextBox. When I press Button through ClickEvent, the contents of website like Title and body content, must be displayed on TextBlock excluding banners, comments,website navigations buttons etc displaying only content.
我的尝试真的很远:到目前为止我尝试了HttpClientHandler,结果附在图片上。
MY TRY SO FAR: Most far I tried HttpClientHandler and the result is here attached on picture.
其他想法:所以,当网站上的文章更新等必须在APP上更新时,就像MSN新闻,Windows Central等新闻应用所做的真实数据一样。
ADDITIONAL IDEA: So, when something like article updates on website that must be updated on APP too, just like real data that news apps like MSN News,Windows Central etc, does.
编程语言:C#,UWP(Windows 10)。
PROGRAMMING LANGUAGE: C#, UWP(Windows 10).
我的研究:像DIFFBOT这样的某些api是一个证明我的理由的例子问题
MY RESEARCH: Certain api like DIFFBOT is an example to justify my question
推荐答案
您好Nischal,
我正在将您的主题转移到UWP论坛以获得快速响应。$
您的理解与合作将不胜感激。
Hi Nischal,
I am moving your thread to UWP forum for getting quick response.
Your understanding and cooperation will be grateful.
这篇关于[UWP]从UWP网站获取实时数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!