Pierre Mazière
a1ef589ffe
[core] extract BridgeAbstract methods to make them functions
...
Method validateData is now afunction in lib/validation.php
validateTextValue, validateNumberValue, validateCheckboxValue
and validateListValue are now anonymous functions
defined in validateData
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-26 00:09:29 +02:00
Pierre Mazière
747be13849
[core] extract HTMLUtils methods to make them functions
...
Methods displayBridgeCard, sanitize, defaultImageSrcTo are now
functions in lib/html.php
getHelperButtinsFormat and getFormHeader are now anonymous functions
defined in displayBridgeCard
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-25 23:58:52 +02:00
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
LogMANOriginal
ad534444fa
Merge pull request #407 from sysadminstory/leboncoin-toute-la-france
...
Allow "Toute la France" as a "Région"
2016-09-24 19:24:16 +02:00
logmanoriginal
43aeb61a7b
Merge branch 'fixIndividualBridges' of https://framagit.org/peetah/rss-bridge
2016-09-23 19:44:06 +02:00
sysadminstory
5547de1785
Allow "Toute la France" as a "Région"
...
The way Leboncoin.fr handles "Toute la France" is weird, but the value is "ile_de_france/occasions"
2016-09-23 19:38:36 +02:00
Pierre Mazière
b3a36a2697
[GithubIssueBridge] add issue events to the feed
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-23 14:15:07 +02:00
Pierre Mazière
957ae5d379
[GithubIssueBridge] fix comments page cache duration
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-21 18:17:58 +02:00
Pierre Mazière
0eeb511676
add LegifranceJOBridge
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-20 18:11:09 +02:00
Pierre Mazière
691d4ad0ee
[SexActuBridge] remove useless code
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-20 18:00:00 +02:00
Pierre Mazière
120247256d
[GithubIssueBridge] fix entities in titles
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-20 00:21:42 +02:00
Pierre Mazière
19a4880c86
[GithubIssueBridge] return comments for all issues
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-19 23:52:44 +02:00
logmanoriginal
ec3824e284
[bridges] Remove compatible WordPress bridges
...
The WordPressBridge should be used for all those sites
2016-09-17 20:57:33 +02:00
logmanoriginal
351eb00400
[FeedExpander] Align logical operators in next line
...
This is a cosmetic change to apply the same standard as
in HTMLUtils
2016-09-17 20:44:31 +02:00
logmanoriginal
2331c4fbab
Merge branch 'bridges2feeds' of https://framagit.org/peetah/rss-bridge
2016-09-17 20:34:12 +02:00
logmanoriginal
ac3a2b8e6e
[BridgeAbstract] Fix typos
2016-09-17 20:24:59 +02:00
logmanoriginal
3438b96197
[index] Fix another github URL
2016-09-17 20:21:48 +02:00
logmanoriginal
ce92edb0ba
Merge branch 'core' of https://framagit.org/peetah/rss-bridge
2016-09-17 20:20:05 +02:00
logmanoriginal
c5e7a18c5e
Merge branch 'fixIndividualBridges' of https://framagit.org/peetah/rss-bridge
2016-09-17 20:17:58 +02:00
logmanoriginal
e0407326c3
Merge branch 'FixPinterestBridge' of https://github.com/logmanoriginal/rss-bridge
2016-09-17 20:13:31 +02:00
logmanoriginal
c3a1cbe98a
[Pinterest] Add implementation for user/board
...
The data is no longer provided in HTML upon request,
but rather encoded as JSON in a SCRIPT section and
decoded via Javascript on the client side. The bridge
now decodes the data and returns valid feeds again.
2016-09-17 20:10:00 +02:00
Pierre Mazière
7ae64fcd05
[ZoneTelechargementBridge] fix feed url
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:42 +02:00
Pierre Mazière
294d89bd36
[SexactuBridge] add Bridge suffix to class name
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:42 +02:00
Pierre Mazière
3fa965cf3c
[FierPandaBridge] fix title extraction
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:42 +02:00
Pierre Mazière
70c490d6ef
[BridgeAbstract] handle compressed data
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:41 +02:00
Pierre Mazière
2ca7129e22
[core] fix user agent url to rss-bridge github project
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:41 +02:00
Pierre Mazière
10ac808580
[WordPressBridge] remove useless code and fix description
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
3f64d2d65a
[bridges] make them WordPressBridge derivatives
...
The specific content filtering used in these bridges will need to
be reintegrated later as part of the bridge or as part of the
WordPressBridge if they are considered generic enough filters,
such as the already existing WordPressBridge <script> removal filter.
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
43ac961284
[WordPressBridge] add another case of content extraction
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
b6245a90c8
[WordPressBridge] allow other bridges to use it as a parent class
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
ca0842ccf8
[FeedExpander] widen guid use as uri provider
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
4c3b80fca9
[WordPressBridge] fix fatal errors
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
b5358d6cea
[WordPressBridge] make it FeedExpander
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
2744c13735
[FeedExpander] fix feeds using guid tag as item uri provider
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +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
244516f0a2
[GizmodoFRBridge => GizmodoBridge] rename and make it a FeedExpander
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
6f8b93fb46
[bridges] removed since they just parse the site feed
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
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
logmanoriginal
1819943451
[FeedExpander] Write debug message for custom build function
2016-09-17 18:19:26 +02:00
logmanoriginal
ffc9418620
[FeedExpander] Fix typos
2016-09-17 18:16:25 +02:00
logmanoriginal
a333226733
Merge branch 'autodetectFeedExpander' of https://framagit.org/peetah/rss-bridge
2016-09-17 18:09:05 +02:00
Mitsukarenai
ed423969ac
[400Culs] Bridge dropped: no more necessary
2016-09-17 17:32:04 +02:00
Mitsukarenai
8ae9275ffd
[ProjectMGameBridge] website closed (issue #397 )
2016-09-13 23:05:51 +02:00
Pierre Mazière
3bacb407fe
[bridges] use parent::parseItems() instead of feed type specific method
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-12 10:42:27 +02:00
Pierre Mazière
15c422c648
[FeedExpander] implement default parseItem() method
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-12 10:39:34 +02:00
Pierre Mazière
655b3d578d
[FeedExpander] simplify feed type detection and store it
...
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-12 10:38:50 +02:00
logmanoriginal
6943abd9c2
[Bridge] Fix whitelist check
2016-09-11 14:02:02 +02:00
logmanoriginal
88919a43fd
Merge branch 'ContinuousIntegration' of https://github.com/logmanoriginal/rss-bridge
2016-09-10 21:07:13 +02:00
logmanoriginal
e3392a738b
[phpcs] Remove check for Zend OperatorSpacing
...
This check is not helping as code is quite readable
2016-09-10 21:05:29 +02:00