summaryrefslogtreecommitdiff
path: root/providers
diff options
context:
space:
mode:
Diffstat (limited to 'providers')
-rw-r--r--providers/Pzbs.php20
1 files changed, 20 insertions, 0 deletions
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';
+ }
+
+}
+
+?>