如何以编程方式确定 RSS 提要是完整提要还是部分提要 [英] How to programmatically determine whether an RSS feed is a full feed or a partial feed

查看:44
本文介绍了如何以编程方式确定 RSS 提要是完整提要还是部分提要的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要以编程方式确定 RSS 提要是公开其文章的全部内容还是仅公开文章的摘录.你会怎么做?

I would need to programmatically determine whether an RSS feed exposes the full content of its articles or just extracts of them. How would you do it?

推荐答案

在结尾处查找显示更多"、继续"、全文"、..."或类似内容的链接.除非您想点击页面上的每个链接并查找提要中的文本以及其他内容.

Look for a link at the end that says "More", "Continued", "Full article", "..." or similar. Unless you want to follow every link on the page and look for the text from the feed plus extra perhaps.

这篇关于如何以编程方式确定 RSS 提要是完整提要还是部分提要的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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