获取完整的 RSS Feed,而不仅仅是摘录
可能的重复:
我应该在 PHP 中使用什么 RSS 解析器?
基本上我'我试图提取当地新闻网站之一的整个提要并将其显示在我的网站中。我希望它从提要中获取所有信息(包括图像)。由于某些奇怪的原因,它只允许我抓取实际内容的一部分,而不是整个页面。有没有办法获取所有内容?我知道我听说某些网站可能只向其 RSS 提要提供一定量的信息。这是真的吗?有什么办法解决这个问题吗?谢谢
Possible Duplicate:
What RSS parser should I use in PHP?
Basically I'm trying to pull the entire feed of one of the local news sites and display it in my site. I want it to grab all of the information from the feed(images included). For some weird reason it only allows me to grab a part of the actual content and not the entire page. Is there a way to grab all of the content? I know I've heard some sites may only provide a certain amount of info to their RSS Feed to. Is that true? Is there any way around this? Thanks
Here is the feed:
http://www.themonitor.com/common/rss/rss.php?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
![扫码二维码加入Web技术交流群](/public/img/jiaqun_03.jpg)
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
网站限制 RSS 源中的内容是很常见的。事实上,大多数框架(例如 Wordpress)都提供插件来做到这一点。这限制了内容被盗的可能性。
It's very common for sites to limit the content in their RSS feeds. In fact, most frameworks such as Wordpress offer plugins to do just that. This limits the possibility of content theft.
这里有一个网络服务,可以自动从您的 feed 创建完整的 RSS feed:全文 RSS Feed Builder
Here is a web service which automatically creates full RSS feed from your feed: Full Text RSS Feed Builder