mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-21 09:05:26 +03:00
8
Bridge API
Niehztog edited this page 2021-08-17 11:58:54 +02:00
A Bridge is an class that allows RSS-Bridge to create an RSS-feed from a website. A Bridge represents one element on the Welcome screen and covers one or more sites to return feeds for. It is developed in a PHP file located in the bridges/
folder (see Folder structure) and extends one of the base classes of RSS-Bridge:
Base class | Description |
---|---|
BridgeAbstract |
This class is intended for standard Bridges that need to filter HTML pages for content. |
FeedExpander |
This class is an extension of HttpCachingBridgeAbstract , designed to load existing feeds into RSS-Bridge |
XPathAbstract |
This class is meant as an alternative base class for bridge implementations. It offers preliminary functionality for generating feeds based on XPath expressions. |
For more information about how to create a new Bridge, read How to create a new Bridge?