How to programmatically determine whether an RSS feed is a full feed or a partial feed

后端 未结 3 1058
一生所求
一生所求 2021-02-08 10:52

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?

3条回答
  •  借酒劲吻你
    2021-02-08 11:14

    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.

提交回复
热议问题