summaryrefslogtreecommitdiff
path: root/providers
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2019-03-26 21:46:35 +0100
committeremkael <emkael@tlen.pl>2019-03-26 21:46:35 +0100
commit5e4abc17872983e0c3f14a75f6331b804cff98d5 (patch)
treeb4a370731e78fef40142cf83a1b9cb2d4409a5d5 /providers
parenta799dd5738d486c6bf64ab9c0a14f172e8f3b33c (diff)
PZBS feeds proxied
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';
+ }
+
+}
+
+?>