Pierre Mazière
f1fb95b257
[core] extract BridgeAbstract methods to make them functions
...
- returnError, returnServerError, returnClientError ,debugMessage are
moved to lib/error.php
- getContents, getSimpleHTMLDOM, getSimpleHTMLDOMCached are moved to
lib/contents.php
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-25 23:22:33 +02:00
Pierre Mazière
8f58c9f86b
[bridges] make them FeedExpander
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +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
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
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
63bb7ef24d
bridges: Remove unnecessary functions getName() and getURI()
2016-08-09 20:08:46 +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
7c62bf070b
Fix Rue89Bridge
2016-06-21 22:33:51 +01:00
teromene
b3733069d4
3rd batch of bridges.
...
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
GregThib
9f93656bf4
Anti-hotlinking was apparently disabled
...
It seems that anti-hotlinking method (data-src + JS) was disabled on Rue89 site.
Because I'm not sure that modification is permanent, I put an "if" for testing it before replacement.
--> tested ok on my rssbridge instance. IMG are back.
2015-08-07 16:30:42 +02:00
GregThib
17e887631c
AuthorName in the output (usefull for RSS readers)
...
Add the Author's name in the output fields.
2015-07-23 16:05:26 +02:00
Mitsukarenai
c16747757d
(some cleanup)
2015-06-04 17:06:14 +02:00
Mitsukarenai
091bf7872e
Rue89: fixes, optim, clean, meta
2015-01-30 19:56:55 +01:00
pit-fgfjiudghdf
7f46cc3e91
Create Rue89Bridge.php
...
Voici le code. Mon serveur est en vrac, je ne peux pas valider qu il fonctionne tjs mais, il y a une semaine je n'avais pas de soucis.
2014-05-31 12:39:35 +02:00