Commit graph

9 commits

Author SHA1 Message Date
logmanoriginal
8ed3b02899 Merge branch 'core' of http://framagit.org/peetah/rss-bridge 2016-08-28 20:33:27 +02:00
logmanoriginal
a7b3519c35 [bridges] Fix all calls to get_cached 2016-08-28 19:38:34 +02:00
Pierre Mazière
1b3c8a8aeb [core + bridges] add BridgeAbstract::$inputs and BridgeAbstract::getInput()
Inputs are not stored in BridgeAbstract::$parameters anymore to separate
static data from dynamic data.
The getInput method allows for more readable code.

Also fix an "undefined index 'global'" notice

Probability of breaking bridges: high !

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
de1b39c8e5 [core + bridges] get rid of loadMetadata
if a bridge needs to modify some of the data that were initialized
there, ::__construct() should be used instead.

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
b6fe424ddb [Gawker] fix parameter 'site' requirement status
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 17:12:54 +02:00
Pierre Mazière
a67a219bf9 [core] remove '$param' argument from RssExpander::collectExpandableDatas
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 17:11:49 +02:00
Pierre Mazière
117031bf0f [core] store parameters values in BridgeAbstract::parameters
This way, any BridgeAbstract method can now have access to these values,
no only collectData

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 01:24:53 +02:00
logmanoriginal
5a7bc9b0c3 [bridges] Fix all calls from 'message' to 'debugMessage' 2016-08-24 20:19:30 +02:00
logmanoriginal
237a26e4ff [bridges] Rename bridges that are missing 'Bridges'
The word 'Bridge' is a requirement for the filename and class name.
Also documented here (now):
https://github.com/rss-bridge/rss-bridge/wiki/how-to-create-a-new-bridge
2016-08-24 19:06:07 +02:00
Renamed from bridges/Gawker.php (Browse further)