Commit graph

804 commits

Author SHA1 Message Date
logmanoriginal
2eec89ab27 [bridges] Change all bridges to use BridgeAbstract with getSimpleHTMLDOMCached 2016-09-10 19:11:09 +02:00
Pierre Mazière
bf8214e3dd [GithubIssueBridge] add getURI() and getName()
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-10 11:44:55 +02:00
Pierre Mazière
73b4aea084 [GithubIssueBridge]: fix collecting issue comments
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-10 11:44:18 +02:00
logmanoriginal
3a94956915 [bridges] Remove calls to get_cached and remove_from_cache 2016-09-10 00:19:24 +02:00
Pierre Mazière
c383f8697a [InstagramBridge] fix item url
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-06 08:41:43 +02:00
logmanoriginal
2861a855e4 [bridges] Define max items and clear caches 2016-09-05 20:26:45 +02:00
logmanoriginal
179e73fb80 [bridges] Change to extend from FeedExpander 2016-09-05 20:10:19 +02:00
Pierre Mazière
a0dfbe6efd [AcrimedBridge] reapply code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 14:58:25 +02:00
Pierre Mazière
3daeacc208 [VkBridge] use 'Group or user name' parameter instead of full URI
This breaks compatibility with previous versions of VkBridge (which
seems broken anyway).
Bridges should never use full URIs as inputs since their validation will
always be more complicated, hence prone to security issues,
than rebuilding a clean URI from simple validated inputs.
2016-09-04 14:43:10 +02:00
Pierre Mazière
0c139941d9 [NovelUpdatesBridge] use 'name' parameter instead of full URI
This breaks compatibility with previous versions of NoveUpdatesBridge.
Bridges should never use full URIs as inputs since their validation will
always be more complicated, hence prone to security issues,
than rebuilding a clean URI from simple validated inputs.

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 14:43:10 +02:00
Pierre Mazière
d60220769e [FourChanBridge] fix relative links
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 14:43:10 +02:00
Pierre Mazière
fec864e010 [FourchanBridge] use 'category' and 'thread' parameters instead of full URI
This breaks compatibility with previous versions of FourChanBridge.
Bridges should never use full URIs as inputs as their validation will
always be more complicated, hence prone to security issues,
than rebuilding a clean URI from simple validated inputs.

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 14:43:10 +02:00
logmanoriginal
671703cd37 Merge branch 'FeedExpander' of https://github.com/logmanoriginal/rss-bridge 2016-09-04 13:51:19 +02:00
logmanoriginal
15f24b3cf4 [Acrimed] Use internal RSS 2.0 parser 2016-09-04 13:47:13 +02:00
logmanoriginal
778bbd8d85 [Freenews] Use internal RSS 2.0 parser 2016-09-04 13:38:21 +02:00
logmanoriginal
78050972f4 [Les400Culs] Use internal RSS 2.0 parser 2016-09-04 13:32:58 +02:00
logmanoriginal
88f52196b8 [bridges] Fix bridges extending RssExpander to FeedExpander 2016-09-04 13:28:55 +02:00
logmanoriginal
878db6f96e [bridges] Rename 'parseRSSItem' to 'parseItem' 2016-09-04 13:26:40 +02:00
logmanoriginal
e30ce8aea0 Merge branch 'fixIndividualBridges' of https://framagit.org/peetah/rss-bridge 2016-09-04 13:22:35 +02:00
logmanoriginal
1de148bf5d [TheOatMeal] Use core parser functions 2016-09-04 13:17:28 +02:00
logmanoriginal
0770ca1ad1 [FeedExpanderExample] Add bridge to test behavior 2016-09-04 13:16:34 +02:00
Pierre Mazière
e7f2bf19f3 [bridges] Shimmie v2 based imageboards derive from DanbooruBridge
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 01:27:58 +02:00
Pierre Mazière
fd6bcbbafe [Bridges] Moebooru and MyImouto based imageboards derive from MoebooruBridge
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 01:27:58 +02:00
Pierre Mazière
8ae05a0241 [bridges] Gelbooru based imageboards derive form DanbooruBridge
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 01:27:58 +02:00
Pierre Mazière
97926b839e [bridges] one bridge for technically different imageboard solutions
Danbooru serves HTML content while Moebooru send content in JSON format

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 01:27:58 +02:00
Pierre Mazière
147154f44c [AllocineFRBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 01:27:51 +02:00
Pierre Mazière
d8ebcc9376 [AcrimedBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 01:27:51 +02:00
Pierre Mazière
e5a375ab48 [ABCTabsBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-04 01:27:51 +02:00
logmanoriginal
99f00e57b5 [Mangareader] Add functions to collect data 2016-09-03 20:35:49 +02:00
logmanoriginal
f9a8f16685 [Mangareader] Reduce line lengths 2016-09-03 20:23:18 +02:00
logmanoriginal
6c51eaa4d7 [Mangareader] Fix coding styles 2016-09-03 20:10:36 +02:00
logmanoriginal
4c96aab832 [Mangareader] Replace global constant with 'defaultValue' 2016-09-03 20:03:06 +02:00
Teromene
cbea717e80 Removed GitlabCommitsBridge, as they are already providing a RSS feed. 2016-09-02 19:13:47 +02:00
logmanoriginal
5ad1fa8242 Merge branch 'constantine' of https://framagit.org/peetah/rss-bridge 2016-09-02 17:36:51 +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
948bd9ae31 [bridges] fix invalid use of empty() for php < 5.5
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-01 23:01:51 +02:00
Pierre Mazière
9d7e64fac0 [WorldOfTanksBridge] fix getName()
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:31:59 +02:00
Pierre Mazière
abc4f047bf [ZDNnetBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
468aa28a67 [YandereBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
2cda7edcbd [XbooruBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
6e3f08e9d3 [WorldOfTanksBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
23bb5c5dfb [WhydBridge] fix getName() + code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
014d016a51 [WallpaperStopBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
ada5903d68 [VkBridge] remove getName() + code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
83fad77a08 [VineBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
55c406e1b4 [ViadeoCompanyBridge] add Bridge suffix to class name + code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
0262162bc3 [UnsplashBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
351e1e9a6a [TwitterBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
fa294e2b4c [TwitchApiBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00
Pierre Mazière
f79d699a59 [ThePirateBayBridge] code simplification
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-08-30 00:23:17 +02:00