mirror of
https://github.com/RSS-Bridge/rss-bridge.git
synced 2024-11-27 03:50:42 +03:00
28331e7cd6
Re-requesting the same feed in normal mode (not debug mode) returns the cached version. The name and URI of the feed however was not returned. This adds checks to getName() and getURI() in order to return the cached infos when using the cached version. Notice: For this to work correctly all bridges must call to parent::getName() and parent::getURI() respectively if the queriedContext is not defined. Example: switch($this->queriedContext){ case 'My context': // do your stuff here! break; default: parent::getName(); } |
||
---|---|---|
.. | ||
Bridge.php | ||
BridgeAbstract.php | ||
BridgeInterface.php | ||
Cache.php | ||
CacheInterface.php | ||
contents.php | ||
error.php | ||
Exceptions.php | ||
FeedExpander.php | ||
Format.php | ||
FormatAbstract.php | ||
FormatInterface.php | ||
html.php | ||
RssBridge.php | ||
validation.php |