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
logmanoriginal
ab16af631e
[core] Apply some fixes
2016-09-10 21:01:02 +02:00
logmanoriginal
62eec43980
[core] Apply common indentation
...
All files are now using tabs for indentation
2016-09-10 20:41:11 +02:00
logmanoriginal
32ce2b6541
[phpcs] Update checks
...
- Use tabs for indentation
2016-09-10 19:55:49 +02:00
logmanoriginal
d17998224e
Merge branch 'ContinuousIntegration' of https://github.com/logmanoriginal/rss-bridge
2016-09-10 19:30:46 +02:00
logmanoriginal
3942b6b86f
Merge branch 'ContinuousIntegration' of https://github.com/logmanoriginal/rss-bridge
2016-09-10 19:51:27 +02:00
logmanoriginal
ccc816eae8
[travis] Remove PHP 5.4 and 5.5
...
RSS-Bridge requires at least PHP 5.6
2016-09-10 19:50:41 +02:00
logmanoriginal
5ad2e38927
Merge branch 'HttpCachingBridgeAbstract' of https://github.com/logmanoriginal/rss-bridge
2016-09-10 19:16:04 +02:00
logmanoriginal
9be03f199b
[core] Remove HttpCachingBridgeAbstract
...
BridgeAbstract implements all functions to cover the implementation
2016-09-10 19:13:01 +02:00
logmanoriginal
22cf562659
[travis] Allow build to finish as soon as possible
...
This will allow the entire build to fail if one case failed
without waiting for the remaining cases to finish their tests
2016-09-10 19:12:55 +02:00
logmanoriginal
2eec89ab27
[bridges] Change all bridges to use BridgeAbstract with getSimpleHTMLDOMCached
2016-09-10 19:11:09 +02:00
logmanoriginal
7b5e367678
[travis] Allow hhvm and nightly to fail
2016-09-10 19:10:42 +02:00
logmanoriginal
9f2dd48684
[BridgeAbstract] Add getSimpleHTMLDOMCached
...
This function is a copy of the get_cached function from
HttpCachingBridgeAbstract, adding all parameters of
getSimpleHTMLDOM in order to replace the need of
HttpCachingBridgeAbstract entirely
2016-09-10 19:04:01 +02:00
logmanoriginal
a726f73afe
Merge branch 'fixIndividualBridges' of https://framagit.org/peetah/rss-bridge
2016-09-10 18:53:19 +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
33584b8423
[HttpCachingBridgeAbstract] General cleanup
...
- Remove buildCacheFilePath -> Single use, so no real purpose
- Simplify debug messages
- Cleanup documentation
2016-09-10 00:34:25 +02:00
logmanoriginal
3a94956915
[bridges] Remove calls to get_cached and remove_from_cache
2016-09-10 00:19:24 +02:00
logmanoriginal
3a92a1e04b
[HttpCachingBridgeAbstract] Remove get_cached_time and remove_from_cache
...
Bridges no longer require to check cache file durations
manually as get_cached now supports the duration parameter
2016-09-10 00:09:10 +02:00
logmanoriginal
1a2a48e129
[HttpCachingBridgeAbstract] Use sha1 cache file names
...
Previously folder hierarchies were created based on the input URL
which could result in very deep folder structures. Using SHA1 file
names also allows to check for old files more effectively (via
fileatime)
2016-09-10 00:00:10 +02:00
logmanoriginal
ce00c6f869
[HttpCachingBridgeAbstract] Don't pass cache directory as parameter
2016-09-09 22:23:40 +02:00
logmanoriginal
84956c4daf
[HttpCachingBridgeAbstract] Add duration parameter to 'get_cached'
...
This allows to specify the cache duration for a specific
url without the need to delete the cache file first.
Instead the cache file is automatically deleted if the
duration elapsed.
2016-09-09 22:23:15 +02:00
logmanoriginal
9711e87fc9
Merge branch 'fixIndividualBridges' of https://framagit.org/peetah/rss-bridge
2016-09-09 21:03:42 +02:00
Mitsu
8c71a35771
[README] fix the required PHP version
...
Code requirements have changed, see issue #390
2016-09-09 18:03:36 +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
579d13462f
Merge branch 'FeedExpander' of https://github.com/logmanoriginal/rss-bridge
2016-09-05 20:27:45 +02:00
logmanoriginal
2861a855e4
[bridges] Define max items and clear caches
2016-09-05 20:26:45 +02:00
logmanoriginal
f1fb527607
[FeedExpander] Add optional parameter to specify max items
...
Allows caller of collectExpandableDatas to request a limited
amount of items
2016-09-05 20:17:00 +02:00
logmanoriginal
179e73fb80
[bridges] Change to extend from FeedExpander
2016-09-05 20:10:19 +02:00