用Delphi获取全文Feed [英] Get Full-Text Feed with Delphi

查看:363
本文介绍了用Delphi获取全文Feed的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个Delphi程序,通过组件Indy idHTTP ..读取Feed的来源,但Feed不显示完整,仅显示其摘要,我的意思是Feed不显示content标签。

I'm developing a Delphi program that reads the source of a feed through the component Indy idHTTP.. but the feed does not appear complete, appears only its summary, I mean the feed does not show the "content" tag.

我认为可以获取全文的Feed,因为我在互联网上找到了一些网站(如 http://fulltextrssfeed.com/ ),即使是仅显示摘要的Feed也可以显示全文本Feed。

I think it is possible to get full-text feeds because I have found some sites on the Internet (like http://fulltextrssfeed.com/) that can show the full-text feed, even for feeds that show only the summary.

如何通过Delphi读取全文本Feed?
是否有特定的Delphi组件来执行此操作或可以使用idHTTP?

What should I do to be able to read the full-text feed via Delphi? Is there a specific Delphi component to do this or can I do it with idHTTP?

任何帮助将非常欣赏

谢谢你所有!

推荐答案


  1. Indy内置TCP / IP控件。尝试一下,看看你是否得到不同的结果。即使是一个实验,它只需要大约30秒(将拖放组件拖放到表单上,设置URL,获取结果,并查看您获得的内容)。正确吗?

  1. Delphi has other built-in controls for TCP/IP besides Indy. Try one, and see if you get different results. Even as an experiment, it would only take about 30 seconds (drag drop component onto a form, set the URL, fetch the results, and see what you get). Correct?

如果有问题的网站没有给您全文本Feed,我不知道会自动获取的任何Delphi组件为你。以下是关于某些启发式的一个很好的链接,可以从部分RSS内容中获取它:

If the site in question isn't giving you a full-text feed, I'm not aware of any Delphi component that will automagically get it for you. Here's a good link about some heuristics to get it yourself from the partial RSS contents:

如何以编程方式确定RSS Feed是否为完整Feed或部分Feed

和使用Delphi解析RSS的教程:

And a tutorial on parsing the RSS, using Delphi:

使用Delphi阅读和操作XML文件

最后,似乎有一些网络应用程序可以为您提供全文RSS:

Finally, there seem to be a number of web apps out there which CAN get the full-text RSS for you:

http://fulltextrssfeed.com/feed.php

http://www.fullrssfeed.com/

http://www.unsum.com/con转换器

也许您可以将这些服务之一集成到您的应用程序中?

Perhaps you can integrate one of these services into your app?

这篇关于用Delphi获取全文Feed的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆