简体   繁体   English

无法使用RSSFeed获取信息

[英]Unable to get information using RSSFeed

To get the latest news from the client's website in the application I use RSSFeed. 要从应用程序中的客户网站获取最新消息,我使用RSSFeed。

when I use the URL 当我使用URL时

http://www.wiseadvice.co.nz/feed/rss/

information can be seen in the simulator 可以在模拟器中看到信息

but when I use the URL 但是当我使用URL时

http://www.wiseadvice.co.nz/category/accounting-news-nz/

no information is available in the simulator. 模拟器中没有可用信息。

Actually I want to arrange the information according to date and in the first URL date is not available. 实际上,我想按日期排列信息,并且第一个URL中的日期不可用。

That's why I have to use another URL. 这就是为什么我必须使用另一个URL。

can anybody tell me why does this problem occur? 谁能告诉我为什么会出现这个问题?

第一个URL返回有效的XML文件,第二个URL返回整个html页面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM