logmanoriginal
f8e0a4afbc
[Pinterest] Move all existing code into 'From search' section
...
'By username and board' requires a different search algorithm
2016-09-17 19:14:05 +02:00
logmanoriginal
c1cc4da8ef
[Pinterest] Cleanup code
2016-09-17 19:09:33 +02:00
Pierre Mazière
9a0da733ef
[bridges] use constants instead of variable members
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-01 23:15:51 +02:00
Pierre Mazière
75f312ea7b
[PinterestBridge] add getURI() + code simplification
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
logmanoriginal
4f7fbae861
[bridges] Fix conditional checks on getInput
...
isset($this->getInput('')) does not work
2016-08-28 20:38:08 +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
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
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
Pierre Mazière
3c0d13c1bb
bridges: use BridgeAbstract::getSimpleHTMLDOM
...
instead of BridgeAbstract::file_get_html
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +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
0ddf664d89
bridges: Remove obsolete getName() and getURI()
2016-08-06 18:45:02 +02:00
logmanoriginal
5ad157d2fd
bridges: Remove getCacheDuration if default
...
BridgeAbstract will return 3600 seconds by default, so the function
can be removed from any bridge implementing getCacheDuration
returning the same value.
Documentation updated accordingly.
2016-08-06 16:23:09 +02:00
Pierre Mazière
955eecc299
use BridgeAbstract::file_get_html in all bridges
...
instead of simple_html_dom function file_get_html
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-25 23:17:42 +02:00
Teromene
04ec53010c
Corrected cache time.
2016-02-26 15:10:26 +00:00
Teromene
f09dedf16b
Corrected PinterestBridge.
2016-02-26 14:58:03 +00:00
teromene
78c9dcc705
Last batch of bridges, all implemented !
...
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
pauder
284e103326
Fix format for pinterest board page, fix a warning
2015-01-05 12:16:50 +01:00
pauder
368b73f5d7
Merge remote-tracking branch 'upstream/master'
2015-01-05 11:56:38 +01:00
Mitsukarenai
8d476a0644
add homepage + date to main bridges
2014-05-25 23:27:14 +02:00
Mitsukarenai
2a8e4034e3
add original maintainers
2014-05-21 19:44:14 +02:00
Mitsukarenai
7d24be9653
update bridges with maintainer
2014-05-21 19:18:07 +02:00
pauder
45f147ec24
Use the full size image in feed instead of the small sized version
2014-03-11 11:17:57 +01:00
Sebastien SAUVAGE
b4b3c4b0ac
Added parameters checks for PinterestBridge
2014-02-09 15:20:52 +01:00
pauder
4a63fed224
search query
2014-01-30 15:25:25 +01:00
pauder
19f806acd5
Add a pinterest bridge
2014-01-30 14:55:35 +01:00