diff options
-rw-r--r-- | config/rss.json | bin | 412 -> 536 bytes | |||
-rw-r--r-- | providers/Pzbs.php | 20 |
2 files changed, 20 insertions, 0 deletions
diff --git a/config/rss.json b/config/rss.json Binary files differindex 9870e0a..bf41eba 100644 --- a/config/rss.json +++ b/config/rss.json diff --git a/providers/Pzbs.php b/providers/Pzbs.php new file mode 100644 index 0000000..c37edee --- /dev/null +++ b/providers/Pzbs.php @@ -0,0 +1,20 @@ +<?php + +namespace Providers; + +require_once('Rss.php'); +require_once('Item.php'); + +class Pzbs extends \Providers\Rss { + + protected function _getFeedUrl($feed) { + return sprintf('https://www.pzbs.pl/%s?format=feed&type=rss', $feed); + } + + protected function _getCachePath() { + return '../cache/pzbs.%s'; + } + +} + +?> |