This PR adds a (killer? 🤩) functionality, namely the ability to consume any Web site / HTML source, also when an RSS / Atom feed is not available.
It is based on XPath 1.0, which is natively available in PHP:
- https://www.w3.org/TR/xpath-10/
- https://php.net/class.domxpath
- https://developer.mozilla.org/docs/Web/XPath/Axes
This is a light version of what RSS Bridge offers, but natively inside FreshRSS and much easier to use:
- https://github.com/RSS-Bridge/rss-bridge/wiki/The-collectData-function
- https://github.com/RSS-Bridge/rss-bridge/wiki/XPathAbstract
Using a third-party tool did not scale enough anymore for me, when I just need to quickly add another (simple) source.
FreshRSS can then also republish as RSS.
This can be combined with our existing ability to follow article links to retrieve full article content (use with parsimony).
Contributes indirectly to other issues: