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
Pierre Mazière
65c6b08aed
fix DOMNode and DOMElement mess
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-17 16:19:51 +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
d3cebe9c65
[IsoHunt] Add new bridge
2016-08-16 01:34:25 +02:00
logmanoriginal
fa59a25229
bridges: Update bridges with 'required' attributes
2016-08-15 01:19:16 +02:00
az5he6ch
ceb3e9a039
Merge branch 'master' of https://github.com/az5he6ch/rss-bridge
2016-08-14 20:16:27 +09:30
az5he6ch
a5c7179b0e
[Askfm] Add new bridge
2016-08-14 20:16:16 +09:30
logmanoriginal
eeb6c9681d
[YoutubeBridge] Fix typo
2016-08-11 21:42:49 +02:00
logmanoriginal
2a04940fb8
[KununuBridge] Increase cache duration to 1 day
2016-08-10 23:27:48 +02:00
logmanoriginal
f0f2e8f847
[KununuBridge] Add new bridge
2016-08-10 23:18:35 +02:00
logmanoriginal
0c1ec44c49
bridges: Merge all Allocine* bridges into AllocineFRBridge
2016-08-10 11:41:35 +02:00
logmanoriginal
68d1c1f961
[TwitterBridgeExtended] -> [TwitterBridge] make this the only one
2016-08-10 11:00:40 +02:00
logmanoriginal
1ea38d521d
bridges: Remove all Twitter bridges except TwitterBridgeExtended
2016-08-10 10:56:06 +02:00
logmanoriginal
5ef26343b3
[TwitterBridgeExtended] Complete definition of parameters
2016-08-10 10:55:06 +02:00
logmanoriginal
a628abd04c
[TwitterBridgeExtended] Add option to show/hide profile pictures
2016-08-10 10:52:04 +02:00
logmanoriginal
89aad9f796
[TwitterBridgeExtended] Directly write content to ->title
2016-08-10 10:26:29 +02:00
logmanoriginal
6138031793
[TwitterBridgeExtended] Add border around profile picture
2016-08-10 10:08:03 +02:00
logmanoriginal
faacbda027
[TwitterBridgeExtended] Use inline-blocks to format HTML output
2016-08-09 22:05:42 +02:00
logmanoriginal
0683457eb3
[TwitterBridgeExtended] Reduce size of emojis in the tweet
2016-08-09 21:59:55 +02:00
logmanoriginal
13d9b8d462
[TwitterBridgeExtended] Use heredoc syntax to build ->content
2016-08-09 21:47:29 +02:00
logmanoriginal
1a572f6639
[TwitterBridgeExtended] Use username as alternative to the image
2016-08-09 21:36:45 +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
e329a4c1b6
bridges: Change ->name to ->author
2016-08-09 14:54:44 +02:00
logmanoriginal
0663c9507f
[AtomFormat] Remove enclosures
...
This feature was implemented for AtomFormat only and implemented by no
bridge other than DemoBridge.
2016-08-08 22:43:53 +02:00
logmanoriginal
13d42746d7
[Wikipedia] Fix typo
2016-08-07 13:26:30 +02:00
logmanoriginal
1cfb8c02a0
[Wikipedia] Use entire entry as title for 'Did you know'
2016-08-07 13:02:10 +02:00
logmanoriginal
04b4dd1db9
[Wikipedia] Add support for 'Did you know?' articles
2016-08-07 12:51:09 +02:00
logmanoriginal
17c9d8fc37
[Wikipedia] Fix typo
2016-08-07 11:29:00 +02:00
logmanoriginal
0b923ab76a
[Wikipedia] Improve title search algorithm
2016-08-07 11:26:45 +02:00
logmanoriginal
d4435e0b13
[Wikipedia] Remove other bridges
...
All previous bridges are now completely covered by the
new WikipediaBridge!
2016-08-07 00:07:37 +02:00
logmanoriginal
2c954a848d
[Wikipedia] Create bridge for multiple languages
2016-08-07 00:06:14 +02:00
logmanoriginal
0ddf664d89
bridges: Remove obsolete getName() and getURI()
2016-08-06 18:45:02 +02:00
logmanoriginal
5432cabef5
bridges: Put name/uri directly in bridge metadata
...
Some bridges used getName() and getURI() to put information into the
metadatas. Instead the metadatas should be initialized with data and
(not yet done) returned by default via getName() and getURI().
2016-08-06 18:07:42 +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
logmanoriginal
1d53b70272
bridges: Remove unused functions and update scopes
...
Many bridges implemented getDescription() which is only applicable for
bridges extending RSSExpander.
Functions that are not part of the abstract class or interface should
be in private scope for better readability.
2016-08-06 16:00:56 +02:00
logmanoriginal
a5120dde2c
[Castorus] Allow filter via ZIP code or city name
2016-08-05 14:59:26 +02:00
logmanoriginal
e4a56e504e
[Castorus] Reduce cache duration to 10 minutes
2016-08-05 13:19:36 +02:00
logmanoriginal
31bdf7390a
[Castorus] Add new bridge
2016-08-05 13:16:00 +02:00
logmanoriginal
02e169584a
[Raymond] remove bridge: supported by WordPress bridge
2016-08-04 22:00:51 +02:00
logmanoriginal
12abf9d455
[LeMotDuJour] remove Bridge: Supported by WordPress bridge
...
http://www.lemotdujour.com doesn't seem to be active for the last two
years (last entry is dated 17. oct 2014). WordPress will return the
headlines which seems to be sufficient for now.
2016-08-04 21:57:13 +02:00
logmanoriginal
7afee0e277
[WordPress] Fix site name on bridge content
2016-08-04 21:56:11 +02:00
logmanoriginal
870ef6f6fc
[WordPress] Remove forms and improve script removal
...
Some sites contain scripts like these, that were not captured by the
previous implementation:
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
2016-08-04 21:46:03 +02:00
logmanoriginal
2c41ed550d
[WordPress] Fix content loading
2016-08-04 21:06:12 +02:00
logmanoriginal
d944558a3d
[WordPress] Fix indentation and remove empty lines
2016-08-04 20:45:21 +02:00
logmanoriginal
455b98757c
[WordPress] Don't attempt to load pages with missing .article
...
Some sites use WordPress but don't provide pages with articles.
Instead of throwing internal errors we just don't return any
content.
2016-08-04 20:40:38 +02:00
logmanoriginal
21523eb549
[WordPress] Change all nested functions to member functions
2016-08-04 20:15:28 +02:00
logmanoriginal
2672b96e11
[WordPress] Initialize item before assigning values
...
This solves warning: "Creating default object from empty value"
2016-08-04 20:12:51 +02:00
logmanoriginal
0a008c4eb3
[WordPress] Support atom AND rss for feed replies
...
Some sites return RSS feeds instead of ATOM feeds even though ATOM
feeds were specifically requested (/feeds/atom)!
This bridge will now detect ATOM/RSS feeds and change behavior
accordingly.
2016-08-04 20:06:53 +02:00
Mitsu
064f456be1
Merge pull request #330 from LogMANOriginal/ShanaprojectBridge
...
Add bridge ShanaprojectBridge
2016-08-04 13:49:38 +02:00
Mitsu
652d3eca3d
Merge pull request #329 from LogMANOriginal/WikipediaEOBridge
...
[WikipediaEO] Fix search pattern
2016-08-04 13:49:33 +02:00
Mitsu
68be407564
Merge pull request #328 from LogMANOriginal/ReporterreBridge
...
Reporterre bridge
2016-08-04 13:49:28 +02:00
Mitsu
a53c458d5a
Merge pull request #327 from LogMANOriginal/SegfaultMintBridge
...
[SegfaultMint] remove bridge: website supported by WordPress bridge
2016-08-04 13:49:23 +02:00
Mitsu
1cbc045703
Merge pull request #326 from LogMANOriginal/OpenTheoryBridge
...
[OpenTheory] remove bridge: website supported by WordPress bridge
2016-08-04 13:00:53 +02:00
Mitsu
737199404c
Merge pull request #325 from LogMANOriginal/ScilogsBridge
...
[Scilogs] remove bridge: website supported by WordPress bridge
2016-08-04 13:00:43 +02:00
Mitsu
559471de8a
Merge pull request #324 from LogMANOriginal/PlanetLibreBridge
...
Planet libre bridge
2016-08-04 13:00:38 +02:00
logmanoriginal
8cbca68b8a
[WikipediaEO] Fix search pattern
2016-08-04 12:57:30 +02:00
logmanoriginal
628e133e96
[Tuxboard] remove bridge: website supported by WordPress bridge
2016-08-04 12:41:22 +02:00
logmanoriginal
f1f67f35d3
[SegfaultMint] remove bridge: website supported by WordPress bridge
2016-08-04 12:39:26 +02:00
logmanoriginal
c113b01f01
[Scilogs] remove bridge: website supported by WordPress bridge
2016-08-04 12:37:29 +02:00
logmanoriginal
6162164bd4
[Reporterre] Fix indentation and remove empty lines
2016-08-04 12:34:40 +02:00
logmanoriginal
d6ff40c527
[Reporterre] Replace relative image paths with absolute URL
...
Images from their own servers are linked relatively via 'local/...' we
must replace this for images to point to the correct destination.
Also use strip_tags to get rid of iframes
2016-08-04 12:34:19 +02:00
logmanoriginal
0cb66e2194
[Reporterre] Change nested function to member function
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
2016-08-04 12:11:10 +02:00
logmanoriginal
2913f86684
[PlanetLibre] Fix indentation and remove empty lines
2016-08-04 12:04:29 +02:00
logmanoriginal
77f326e377
[PlanetLibre] Change nested function to member function
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
2016-08-04 12:03:41 +02:00
logmanoriginal
e8473bf95e
[OpenTheory] remove bridge: website supported by WordPress bridge
2016-08-04 11:59:44 +02:00
logmanoriginal
f8cb976e2c
Add bridge ShanaprojectBridge
...
This bridge returns a list of anime from the current Season Anime List.
Automatically switches to the next season upon release!
2016-08-04 11:51:12 +02:00
Mitsu
6f248f5973
Merge pull request #322 from LogMANOriginal/NextInpactBridge
...
Next inpact bridge
2016-08-03 22:58:09 +02:00
Mitsu
9495e830e7
Merge pull request #321 from LogMANOriginal/NiceMatinBridge
...
Nice matin bridge
2016-08-03 22:58:03 +02:00
Mitsu
0737833c88
Merge pull request #320 from LogMANOriginal/MsnMondeBridge
...
Msn monde bridge
2016-08-03 22:57:58 +02:00
Mitsu
086dbd5002
Merge pull request #319 from LogMANOriginal/MondeDiploBridge
...
Monde diplo bridge
2016-08-03 22:57:53 +02:00
Mitsu
6c97b41899
Merge pull request #318 from LogMANOriginal/KoreusBridge
...
Koreus bridge
2016-08-03 22:57:47 +02:00
Mitsu
2044a34bae
Merge pull request #317 from LogMANOriginal/LeJournalDuGeekBridge
...
Le journal du geek bridge
2016-08-03 22:57:39 +02:00
logmanoriginal
ec5cb657aa
Fix bridge to work with new layout
2016-08-03 22:39:03 +02:00
logmanoriginal
b889b51a9e
Fix indentation and remove empty lines
2016-08-03 21:26:53 +02:00
logmanoriginal
58322137d3
Fix author tag in source ('author' -> 'creator')
2016-08-03 21:26:00 +02:00
logmanoriginal
1afdf9cef7
Change all nested functions to member functions
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
2016-08-03 21:19:00 +02:00
logmanoriginal
924e123ba6
Fix indentation and remove empty lines
2016-08-03 21:14:46 +02:00
logmanoriginal
1d58809676
Change nested function MsnMondeExtractContent to member function
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
2016-08-03 21:12:43 +02:00
logmanoriginal
86fd1c92ea
Fixed bridge to work with new layout
2016-08-03 21:08:35 +02:00
logmanoriginal
67f5fd0860
[MemoLinux] remove bridge: website supported by WordPress bridge
2016-08-03 20:48:34 +02:00
logmanoriginal
47f382ce3f
Fix typo
2016-08-03 20:34:30 +02:00
logmanoriginal
da3127e31b
Remove all script tags from content
2016-08-03 20:32:26 +02:00
logmanoriginal
83d7f138ed
Fix indentation and remove empty lines
2016-08-03 20:14:59 +02:00
logmanoriginal
2a02023c8a
Change all nested functions to member functions
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
2016-08-03 20:11:25 +02:00
logmanoriginal
aae4d3efec
Fix indentation and remove empty lines
2016-08-03 20:07:33 +02:00
logmanoriginal
a124d4eb43
Change all nested functions to member functions
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
2016-08-03 20:05:13 +02:00
Mitsu
6ff73d47bb
Merge pull request #311 from LogMANOriginal/DeveloppezDotComBridge
...
Developpez dot com bridge
2016-08-03 15:37:39 +02:00
Mitsu
a43578c6c6
Merge pull request #312 from LogMANOriginal/FrandroidBridge
...
[Frandroid] remove bridge: website supported by WordPress bridge
2016-08-03 15:37:32 +02:00
Mitsu
91032bf4fa
Merge pull request #314 from LogMANOriginal/GuruMedBridge
...
Guru med bridge
2016-08-03 15:37:16 +02:00
logmanoriginal
b344f50784
Fix indentation and remove empty lines
2016-08-03 14:00:24 +02:00
logmanoriginal
b0dce860f7
Return description from source feed not subsequent pages
...
Gurumed.org prevents download of pictures from external domains. For a
feed it is sufficient to see a short description of the article as
provided in the source rss.
2016-08-03 13:58:32 +02:00
logmanoriginal
a1a44cd1ff
Change all nested functions to member functions
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
2016-08-03 13:30:38 +02:00
logmanoriginal
4f9e03f346
Create nested function to receive article or element author
...
This fixes an error that occurred by attempting to access an object that
did not exist (author).
2016-08-03 13:16:47 +02:00
logmanoriginal
7740dbfcc9
[Frandroid] remove bridge: website supported by WordPress bridge
2016-08-03 12:50:24 +02:00
logmanoriginal
58b3261fbb
Fix indentation and remove empty lines
2016-08-03 12:42:57 +02:00
logmanoriginal
7ff901de08
Change all nested functions to member functions
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
2016-08-03 12:37:56 +02:00
logmanoriginal
a1c680f8e8
Fix indentation and improve code style
...
- Use tab instead of spaces
- Remove obsolete bridge description at start of the file
- Add spaces at the assignment operator ('=' -> ' = ')
- Remove unnecessary empty lines
2016-08-02 21:40:22 +02:00
logmanoriginal
f783969721
Create member functions to extract information from articles
...
The extractor function will handle many situations more specifically in
order to provide better results.
2016-08-02 21:35:13 +02:00
logmanoriginal
399fce06ce
Require input field, add example value and title
...
Previously the bridge could be requested without any journal causing
error 403 due to broken URL.
2016-08-02 20:35:27 +02:00
logmanoriginal
8f76eebddb
Fix parameters list
...
Fixes warning: "array_key_exists() expects parameter 2 to be array,
string given in /volume1/web/rss-bridge_dev/lib/HTMLUtils.php on line 59
Warning: Invalid argument supplied for foreach() in
/volume1/web/rss-bridge_dev/lib/HTMLUtils.php on line 64
2016-08-02 20:29:40 +02:00
Mitsukarenai
72e457a5b7
[Coindesk] remove bridge: website supported by Wordpress bridge
2016-08-02 17:49:47 +02:00
Mitsukarenai
cd5f3e740a
[Wordpress] Add a div class commonly used for post content
2016-08-02 17:48:57 +02:00
Mitsu
3a0675364f
Merge pull request #305 from LogMANOriginal/GBAtempBridge
...
GBAtempBridge
2016-08-02 17:34:08 +02:00
Mitsu
0bb11db536
Merge pull request #304 from LogMANOriginal/DauphineLibereBridge
...
Dauphine libere bridge
2016-08-02 17:34:02 +02:00
logmanoriginal
f3d3582af1
Change all nested functions to member functions
...
This fixes error "Using $this when not in object context"
Nested functions are not part of the object and therefore don't have
access to the object instance $this!
This also fixes an error where calling collectData multiple times would
result in an attempt to redeclare all nested functions (which would
cause errors)
2016-08-02 16:20:43 +02:00
logmanoriginal
c8c3e9ef65
Add http-context to simulate Mozilla user-agent
...
This fixes "Warning: file_get_contents(http://www.ledauphine.com/rss ):
failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden"
2016-08-02 15:57:01 +02:00
Mitsukarenai
3cc262443c
[Maliki] Removed because uses WP now
2016-08-02 15:46:52 +02:00