forked from blallo/rss-bridge
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 |