1
0
Fork 0
forked from blallo/rss-bridge
Commit graph

23 commits

Author SHA1 Message Date
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
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
Pierre Mazière
4a1f360d39 [bridges] use BridgeAbstract::getContents instead of file_get_contents
use of the proxy feature when enabled

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 23:39:40 +02:00
logmanoriginal
bf0a9d754e [bridges] Change all occurrences of the Item object to array 2016-08-22 18:55:59 +02:00
Pierre Mazière
f0e502ce37 [bridges] migrate all bridges to an array based definition of parameters
see github issue 356

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 01:25:56 +02:00
Pierre Mazière
bba216073c [bridges] remove useless 'update' property from all bridges
That's the source code manager job to keep this information
consistent

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 00:21:41 +02:00
logmanoriginal
74f0572d91 bridges: Replace returnError function with more specific
Replacements depend on original error code:
400: returnClientError
404: returnServerError
500: returnServerError
501: returnServerError
2016-08-17 14:45:08 +02:00
logmanoriginal
fa59a25229 bridges: Update bridges with 'required' attributes 2016-08-15 01:19:16 +02:00
logmanoriginal
63bb7ef24d bridges: Remove unnecessary functions getName() and getURI() 2016-08-09 20:08:46 +02:00
logmanoriginal
42b6c82753 bridges: Cleanup occurrences of $item->thumbnailUri
This is a subsequent change to f3eefab
2016-08-09 15:50:55 +02:00
logmanoriginal
e2043574f2 Remove content duplication 2016-01-22 20:14:03 +01:00
logmanoriginal
d1fe87651d Add items in reverse order (add to front) for correct ordering 2016-01-22 19:34:19 +01:00
logmanoriginal
182dcbec60 Encode special chars for feeds to work properly 2016-01-22 19:30:45 +01:00
logmanoriginal
621c7af6b7 Add title to inputs and improve descriptions 2016-01-21 21:49:23 +01:00
logmanoriginal
4422024cfd Add new option to get popular updates 2016-01-20 22:01:45 +01:00
logmanoriginal
a73807130a Reduce parameter name to bare minimum 2016-01-20 20:56:09 +01:00
logmanoriginal
170818a625 Return entire chapter name as item title 2016-01-20 20:53:32 +01:00
logmanoriginal
0e1b84263e Return items starting at the end, not the beginning when working with limits 2016-01-19 21:41:14 +01:00
logmanoriginal
2e4e0077a8 Move date information into a time tag 2016-01-19 21:36:41 +01:00
logmanoriginal
e6f388d6e4 Add new option to receive chapter updates for one specific manga 2016-01-16 16:30:29 +01:00
logmanoriginal
ff9c60f53c Use '/latest' instead of the main page to reduce loading time 2016-01-10 09:46:35 +01:00
logmanoriginal
2aba815b55 Implement new Bridge to mangareader.net
This Bridge returns information about the last updates on mangareader.net
2016-01-10 00:00:16 +01:00