1
0
Fork 0
forked from blallo/rss-bridge
rss-bridge/bridges/NumeramaBridge.php
Pierre Mazière 3f64d2d65a [bridges] make them WordPressBridge derivatives
The specific content filtering used in these bridges will need to
be reintegrated later as part of the bridge or as part of the
WordPressBridge if they are considered generic enough filters,
such as the already existing WordPressBridge <script> removal filter.

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00

15 lines
391 B
PHP

<?php
require_once('WordPressBridge.php');
class NumeramaBridge extends WordPressBridge {
const MAINTAINER = 'mitsukarenai';
const NAME = 'Numerama';
const URI = 'http://www.numerama.com/';
const DESCRIPTION = 'Returns the newest posts from Numerama (full text)';
const PARAMETERS = array();
public function getCacheDuration() {
return 1800; // 30min
}
}