Pierre Mazière
1068f31303
[BastaBridge] code simplification
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
efb6ad9ff2
[AskfmBridge] code simplification
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
ff5ac1659f
[Arte7bridge] code simplification
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
e74f526c19
[AnimeUltimeBridge] remove useless code and fix getName()
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
806f38b42d
[StripeAPIChangeLogBridge] fix unknown class Item
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
c37aee408d
[AcrimedBridge] fix method calling
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
3fed12af1d
[BandcampBridge] fix parameter 'tag' required status and fix the rest
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
e9ff7b32f1
[AskfmBridge] remove useless code and fix getName() and getURI()
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
fa7cd4a739
[AllocineFRBridge] fix and simplify code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +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
a4fd7b8b98
[GooglePlusPostBridge] fix uninitialized $param
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:05:03 +02:00
Pierre Mazière
ea46d532dc
[TwitterBridge] fix getURI() and simplify code
...
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
2301a12cc6
[WordpPessBridge] implement getURI() and simplify code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
792578aefb
[WikipediaBridge] remove useless code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
a24e6ea323
[WikipediaBridge] implement and use getURI() and getName()
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
0de4fce41d
[WhydBridge] remove useless code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
341ce2bf3e
[VkBridge] remove useless $request member
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
720b7924c5
[TwitchApiBridge] Simplify parameters and remove useless code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
72e3031d5c
[TwitchApiBridge] remove useless code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
05001f6b2e
[SoundcloudBridge] remove useless code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
292f0f85ad
[ParuVenduImmoBridge] fix undefined $param variable
...
and remove useless member $request
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
614d425da4
[InstagramBridge] fix uri, remove useless code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
760141a751
[InstagramBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
d95fa6117a
[IdenticaBridge] remove useless code and fix getURI()
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
c061057861
[GoogleSearchBridge] remove useless checks and useless member $request
...
still broken though
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
2f1fa81082
[GBAtempBridge] remove useless checks and simplify code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
ed0fd12193
[DailymotionBridge] simplify code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
0d36ca21df
[CNETBridge] remove useless member $topicName
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
1de7fb748c
[BandcampBridge] remove useless member $request
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Pierre Mazière
755d3e133f
[ABCTabsBridge] remove useless member $request
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-28 13:00:55 +02:00
Frans de Jonge
84c45e459e
Fix Esperanto
2016-08-28 11:48:27 +02:00
Frans de Jonge
0fcde196b9
WikipediaBridge: improved title detection
...
* improved title detection through changed AddTodaysFeaturedArticleGeneric function call
* added Dutch Wikipedia support
2016-08-28 11:42:54 +02:00
Pierre Mazière
b676eca0a2
[WikipediaBridge] fix 'fullarticle' feature
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 17:18:47 +02:00
Pierre Mazière
5e33a27f7c
[KununuBridge] fix 'fullarticle' feature
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 17:18:26 +02:00
Pierre Mazière
23a7edebd6
[WorldOfTanksBridge] code factorization
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 17:15:52 +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
3a0a2a9559
[FreenewsBridge] remove unused parameter 'id'
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 17:12:23 +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
3bad5ec45c
[TwitterBridge] fix 'nopic' feature
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 17:07:37 +02:00
Pierre Mazière
af1673d1c4
[WelLiveSecurity] fix proxy bypass
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 15:40:33 +02:00
Pierre Mazière
c34fdfa7fb
[TwitterBridge] fix bridge name and bridge uri
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 01:49:30 +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
70a8b88b6f
[IdenticaBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 00:47:52 +02:00
Pierre Mazière
ca9879fac9
[GooglePlusPostBridge] fix parameter 'username' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 00:45:20 +02:00
Pierre Mazière
946a0744ed
[GiphyBridge] merge parameters context
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 00:33:25 +02:00
Pierre Mazière
6dd45eae57
[DailymotionBridge] fix parameters 'p' and 's' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 00:19:41 +02:00
Pierre Mazière
b9207841cc
[CpasbienBridge] fix unhandled case
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 00:12:33 +02:00
Pierre Mazière
d530415481
[CpasbienBridge] use SimpleHTMLDOM str_get_html function
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-25 00:11:24 +02:00
Pierre Mazière
5b32050a6e
[AskfmBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-24 23:41:33 +02:00
Pierre Mazière
fbf17beae8
[Arte7Bridge] extract nested function
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-24 23:40:47 +02:00
logmanoriginal
73ec10f9ca
Merge branch 'ImproveBridgeLogic' of https://github.com/logmanoriginal/rss-bridge
2016-08-24 20:55:13 +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
logmanoriginal
1e9edf49de
[bridges] Activate all calls to the 'message' function
2016-08-24 18:20:49 +02:00
Pierre Mazière
c051730f7c
[GithubIssueBridge] fix comments number
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 21:20:21 +02:00
Pierre Mazière
c9822bffa7
[GithubIssueBriddge] list all issues when 'i' parameter is not provided
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-23 20:29:29 +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
747e54d64a
[IsoHuntBridge] Fix 'latest news' and 'latest hot topics'
2016-08-22 19:37:18 +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
d5418b3d11
[LeBonCoinBridge] fix typo in values list
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 11:15:00 +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
ee2b9d65ee
[WhydBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:31:17 +02:00
Pierre Mazière
306d50582d
[VkBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:26:53 +02:00
Pierre Mazière
b5cc7b4ded
[VkBridge] use BridgeAbstract::getSimpleHTMLDOM
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:26:14 +02:00
Pierre Mazière
4aaa921696
[ViadeoCompanyBridge] fix parameter 'c' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:20:02 +02:00
Pierre Mazière
af747af534
[ViadeoCompanyBridge] fix missing quotes
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:19:32 +02:00
Pierre Mazière
bbf95662c2
[TwitchApiBridge] use BridgeAbstract::getSimpleHTMLDOM
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:04:15 +02:00
Pierre Mazière
c54462d2f0
[TwitchApiBridge] fix parameter channel requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-22 00:03:17 +02:00
Pierre Mazière
f9b5cac1b7
[TagBoardBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 23:53:12 +02:00
Pierre Mazière
bdb1871474
[T411Bridge] fix parameter 'search' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 23:50:15 +02:00
Pierre Mazière
8adcc7d26a
[SoundCloudBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 23:45:08 +02:00
Pierre Mazière
f29d51510b
[ScoopItBridge] fix parameter 'u' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 20:15:17 +02:00
Pierre Mazière
5e52f4d3e6
[bridges] fix typo in getSimpleHTMLDOM call
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 20:08:18 +02:00
Pierre Mazière
84238a998d
[NovelUpdatesBridge] fix parameter 'n' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:54:29 +02:00
Pierre Mazière
8e32142ce5
[bridges] fix typo in getSimpleHTMLDOM call
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:48:23 +02:00
Pierre Mazière
181be164e0
[LinkedInCompany] fix parameter 'c' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:27:44 +02:00
Pierre Mazière
7641fb5266
[LinkedInCompany] fix missing quotes
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:25:23 +02:00
Pierre Mazière
b97317af2e
[bridges] fix typo in getSimpleHTMLDOM call
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 19:23:35 +02:00
Pierre Mazière
09bc211cc6
[GitlabCommits] fix parameters requirement status and default values
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 18:07:42 +02:00
Pierre Mazière
be98ad161a
[FuturaSciencesBridge] fix undefined $url variable
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 17:23:04 +02:00
Pierre Mazière
5410392968
[EZTVBridge] fix parameter 'i' requirement status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 17:06:51 +02:00
Pierre Mazière
cd088776a8
[DuckDuckGoBridge] fix keyword required status
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 17:03:14 +02:00
Pierre Mazière
2466f109b8
[DuckDuckGOBridge] fix missing quotes
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 16:59:28 +02:00
Pierre Mazière
dd1474f154
[bridges] extract nested functions
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 11:46:23 +02:00
Pierre Mazière
fd5c8ea658
[AllocineFRBridge] fix typo in getSimpleHTMLDOM call
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-21 01:41:04 +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
6e66c228f8
[TwitterBridge] rename 'pic' parameter to more consistent 'nopic'
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-20 12:32:05 +02:00
Pierre Mazière
71d8f4c465
[TwitterBridge] add 'Without replies' parameter
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-20 11:18:06 +02:00
logmanoriginal
7761d1b70a
Merge branch 'ElsevierBridge' of https://framagit.org/peetah/rss-bridge
2016-08-19 19:12:57 +02:00
Pierre Mazière
490c5094f5
[ElsevierBridge] fix time extraction
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 18:50:50 +02:00
Pierre Mazière
9cc00cb212
[TwitterBridge] fix HTML entities decoding in title
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 17:20:49 +02:00
Pierre Mazière
67d6802161
IsoHuntBridge: rename file_get_html to getSimpleHTMLDOM
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 11:06:20 +02:00
Pierre Mazière
be591d19e0
remove bridges already removed upstream
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
e754ca52e9
bridges: rename file_get_html to getSimpleHTMLDOM
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +02:00
Pierre Mazière
6e2c7ceaf4
bridges: rename file_get_html to getSimpleHTMLDOM
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-19 10:20:27 +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
b43e8ef689
Merge branch 'LWNprevBridge' of https://framagit.org/peetah/rss-bridge
2016-08-19 09:35:33 +02:00
Pierre Mazière
5986b9f786
follow up on site changes
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-18 10:21:58 +02:00
Pierre Mazière
1e953d3c3e
use BridgeAbstract::file_get_html instead of SimpleHTMLDOM one
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-18 10:20:57 +02:00