Rongronggg9 / RSS-to-Telegram-Bot

A Telegram RSS bot that cares about your reading experience
https://t.me/RSStT_Bot
GNU Affero General Public License v3.0
1.54k stars 277 forks source link

Try standard Wordpress RSS endpoint if the subscription prompt failed #422

Open soupault opened 9 months ago

soupault commented 9 months ago

The location of RSS feeds at Wordpress-powered websited is quite standardized - https://wordpress.com/support/feeds/ . For a website xxx.yy, the feed is typically located at xxx.yy/feed.

When prompted with /sub xxx.yy and no feed found, the bot could automatically check whether xxx.yy/feed is a valid RSS endpoint and, if so, subscribe to it.

Test example: /sub https://finland.fi/ fails, while /sub https://finland.fi/feed subscribes successfully.

Rongronggg9 commented 8 months ago

IMHO this is the fault of the website you've mentioned - they try to hide something they should never hide. I, however, do not object to such a feature, so PR is welcomed.