问题
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