How to display the latest news from a web news feed in delphi firemonkey application?

谁都会走 提交于 2019-12-11 08:25:14

问题


Well, I have a program and a website, the website has to part with the latest news, only formatted with CSS3, etc. .. I have no idea how to display in my delphi program the latest news, since the TWebBrowser is not transparent, can not render CSS3 and HTML5, has some other way?


回答1:


Publish your news in an RSS feed. In your program, fetch that feed with something like Indy, extract the important parts with an XML parser, and present it however you want. You don't need to embed a Web browser for that.

You can rig your Web server to generate the news page using input from that same RSS feed.




回答2:


Try Delphi Chromium Embedded. It has the same HTML5 and CSS features as Google Chrome, more or less. No adobe flash support out of box though. I have not used it with Firemonkey yet, but there is a demo of doing that here.



来源:https://stackoverflow.com/questions/10708186/how-to-display-the-latest-news-from-a-web-news-feed-in-delphi-firemonkey-applica

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!