Commit graph

942 commits

Author SHA1 Message Date
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
Mitsukarenai
0f3ca30caa [WordPress] bridge rewrite 2016-08-02 15:46:21 +02:00
logmanoriginal
4420906a7a Fix indentation and remove unnecessary lines 2016-08-02 15:40:07 +02:00
logmanoriginal
0631e9d835 Make ExtractContent a 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-02 15:32:22 +02:00
logmanoriginal
cb7d477310 Fix indentation and remove unnecessary lines 2016-08-02 14:43:59 +02:00
logmanoriginal
5fb27b2aa6 Make CommonDreamsExtractContent 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-02 14:41:54 +02:00
Mitsukarenai
c75622135e [DailymotionBridge] fix 2016-08-02 14:24:54 +02:00
Mitsu
cb84635e2d Merge pull request #296 from kranack/dev-flickr
Update Flickr Bridge
2016-08-02 14:21:54 +02:00
Mitsu
9af011cee1 Merge pull request #298 from prysme01/master
very basic support of ArsTechnica
2016-08-02 14:21:35 +02:00
Mitsu
dfa6dc33aa Merge pull request #302 from LogMANOriginal/CADBridge
Cad bridge
2016-08-02 14:21:20 +02:00
logmanoriginal
a32044893a Replace if-statements with switch statement
The previous implementation would fail if $htmlpart[3] was neither 'cad'
nor 'sillies'. Now the default text will be returned.
2016-08-02 14:14:29 +02:00
Teromene
ea4586d8b3 Fix CoinDeskBridge 2016-08-02 14:11:28 +02:00
logmanoriginal
d0c932c149 Handle failing requests
Disabling https support results in a failed request which is now handled
as if there is no data at all.
2016-08-02 14:07:40 +02:00
Teromene
fa7a053c65 Fix GitlabCommitsBridge. 2016-08-02 13:45:12 +02:00
logmanoriginal
01bdda5e19 Fix indentation and remove unnecessary lines 2016-08-02 13:37:18 +02:00
logmanoriginal
1e33b7c2ec Make CADExtractContent a 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-02 13:25:49 +02:00
logmanoriginal
4a001f3594 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.
2016-08-02 12:27:44 +02:00
logmanoriginal
5189741c7b Fix tag name for timestamp 2016-08-02 11:31:17 +02:00
logmanoriginal
371a52e2b9 Fix indentation and remove unnecessary lines 2016-08-02 11:28:11 +02:00
logmanoriginal
9d41c83c02 Remove nested function BastaExtractContent
This fixes error "Using $this when not in object context"

The nested function BastaExtractContent was attempting to access $this
even though the function is declared as nested function within a class
function and not as a class function itself. Thus BastaExtractContent
had no access to the object instance $this.
2016-08-02 11:24:24 +02:00
prysme01
e3cf486ac5 Better tag handling 2016-08-01 16:16:18 +02:00
prysme01
b37877bc74 very basic support of ArsTechnica 2016-08-01 15:18:32 +02:00
Mitsukarenai
fb595484b5 Remove duplicate: FuturaSciencesw 2016-08-01 02:06:59 +02:00
Damien Calesse
d60a822bc2 Update Flickr Bridge
Fix the bridge (Flickr update?)

I get the pictures titles with the API (slowing down the bridge). If you
have any suggestions to replace them, feel free to change it.
2016-07-30 19:24:06 +02:00
Damien Calesse
9b579c7cd4 Change Cache Duration
Up to 6 hours
2016-07-30 18:19:36 +02:00
Damien Calesse
74b6dd37f9 Add Sens Critique Bridge
Get the movies, series, video games, books and musics news.
2016-07-30 16:16:02 +02:00
Frans de Jonge
f72cde7fa1 RTBFBridge: exclude "À voir aussi" 2016-07-29 08:23:03 +02:00
ORelio
48883a9cc4 [TheHackerNews] New bridge. Security news. 2016-07-26 21:20:43 +02:00
ORelio
dfc4e8aaac [Nextgov] New bridge. USA tech news. 2016-07-26 21:20:13 +02:00
ORelio
80651273b3 [ZDNet] Auto-insert image 2016-07-26 21:19:39 +02:00
Pierre Mazière
94289511e1 [GithubIssueBridge] fix parameters
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-07-25 12:40:43 +02:00
ORelio
3a69573b27 [Numerama] Fix the fix by inlinig subfunction
Tested, this time ^^"
+ change errcodes from 404 to 500
2016-07-19 20:12:06 +02:00
ORelio
c6190514c4 [ZDNet] New bridge, Tech News. 2016-07-19 19:38:42 +02:00
ORelio
d5eb53ecd2 [WeLiveSecurity] New bridge, Security News. 2016-07-19 19:38:02 +02:00
ORelio
2f3bddb291 [Numerama] Use proxied file_get_html 2016-07-19 19:37:06 +02:00
ORelio
0e27a6ebab [Numerama] Coding style: reindent code 2016-07-19 19:35:43 +02:00
Mitsukarenai
95acb218b4 NumeramaBridge: uncaught error fix issue #287 2016-07-18 20:57:27 +02:00
ORelio
6abca16f06 [EstCeQuonMetEnProd] Add EstCeQuonMetEnProd Bridge
Should we put a website in production today?
2016-07-17 14:40:10 +02:00
ORelio
5353697e67 [T411] Cleanup advertisments 2016-07-17 14:39:14 +02:00
Pierre Mazière
f05bd15393 TwitterBridge*: fix HTML entities in title
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-07-08 16:11:57 +02:00
Mitsu
4b179144c1 Merge pull request #278 from teromene/peetah-LWNprevBridge
Pull request from pmaziere - LWNprevBridge
2016-06-26 16:31:37 +02:00
Mitsu
5a60f892eb Merge pull request #279 from teromene/pmaziere-GithubIssuesBridge
Pull request from pmaziere - GithubIssuesBridge
2016-06-26 16:31:30 +02:00
Mitsu
9519cc24ab Merge pull request #280 from teromene/pmaziere-GitlabCommitsBridge
Pull request from pmaziere - GitlabCommitsBridge
2016-06-26 16:31:24 +02:00
Mitsu
90ae96efe9 Merge pull request #281 from teromene/pmaziere-ElsevierBridge
Pull request from pmaziere - ElsevierBridge
2016-06-26 16:31:18 +02:00
Mitsu
b013845a5d Merge pull request #282 from teromene/pmaziere-StripeAPIChangeLogBridge
Pull request from pmaziere - StripeAPIChangeLogBridge
2016-06-26 16:31:12 +02:00
Mitsu
66c79e4b67 Merge pull request #283 from teromene/pmaziere-YoutubeBridgeFix
Pull request from pmaziere - Fix encoding in YoutubeBridge.
2016-06-26 16:31:06 +02:00
Pierre Mazière
26a9ffa5eb fix copy/paste
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 12:23:13 +02:00
Pierre Mazière
ca44ab943a simplify commits detection
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 12:23:13 +02:00
Pierre Mazière
615df56b19 fix inconsistent use of simple and double quotes
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 12:23:13 +02:00
Pierre Mazière
c929010f6e new bridge GitlabCommits
some gitlab instances do not enable RSS feed for project commits

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 12:23:13 +02:00
Pierre Mazière
e03a7de15f fix missing quotes
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 11:53:44 +02:00
Pierre Mazière
d45c6be3c5 add new bridge: Elsevier journals recent articles
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 11:52:54 +02:00
Pierre Mazière
aa96c6b1d2 fix malformed JSON
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 11:28:41 +02:00
Pierre Mazière
d73bfbab63 do not use advanced_file_get_contents
as it should not exist in the first place

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 11:18:23 +02:00
Pierre Mazière
78b4500ba4 fix indentation
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 11:17:12 +02:00
Pierre Mazière
3922b9534c new bridge: Github Issue
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-26 00:33:27 +02:00
Pierre Mazière
1f85a2294d remove empty brackets from title
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-25 23:22:17 +02:00
Pierre Mazière
dc6928316b add bridge for LWN Free Weekly Edition
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-25 23:22:11 +02:00
Pierre Mazière
06f8b61f62 fix encoding issues
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-25 23:19:22 +02:00
Pierre Mazière
955eecc299 use BridgeAbstract::file_get_html in all bridges
instead of simple_html_dom function file_get_html

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-25 23:17:42 +02:00
Pierre Mazière
fdd8d0cd04 new bridge: StripeAPIChangeLog
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-06-25 23:11:58 +02:00
Mitsu
040f4da73d Merge pull request #274 from teromene/rue89
Fix Rue89Bridge
2016-06-25 13:27:37 +02:00
ORelio
b707a29b7e [JapanExpo] Allow fetching full content
Current bridge only allows titles.
Add a setting for fetching full content.
2016-06-25 12:14:37 +02:00
Teromene
7c62bf070b Fix Rue89Bridge 2016-06-21 22:33:51 +01:00
Mitsu
d624d0de92 Merge pull request #270 from ORelio/master
Update Facebook, add Debug whitelist ability
2016-06-18 14:08:25 +02:00
ORelio
96de64af63 [Facebook] Update field retrieval
Due to changes on their side.
Related issue: #253
2016-06-12 22:10:59 +02:00
Frans de Jonge
83adf25c56 WikipediaFRBridge: also support .AdQ lire la suite link 2016-06-10 15:32:58 +02:00
Mitsu
feb34c9eb1 Merge pull request #263 from ORelio/master
[Dilbert] Update field retrieval
2016-06-04 22:23:33 +02:00
Frans de Jonge
f64664a83c Use "Lire la suite" link for extracting link and title
This makes detection more dependable, because if there's no illustrating image there may not be a first paragraph.
2016-06-04 09:05:13 +02:00
Albirew
0a35003237 Added Bridge for Novel Updates
contain dirty fix to bypass simpledom bug, see issue #259 for details
2016-05-21 18:27:30 +02:00
Frans de Jonge
24a312a158 YoutubeBridge: fix playlist mode and titles 2016-05-21 11:45:09 +02:00
ORelio
8a00c9d407 [Dilbert] Update field retrieval 2016-05-20 21:34:47 +02:00
Frans de Jonge
ba400d561e CollegeDeFranceBridge: fix typo in date fallback 2016-05-20 11:38:59 +02:00
Albirew
f5a1af4a85 Added Bridge for Hentai Haven (NSFW)
Well, you know... For these times of "need"...
2016-05-17 19:06:15 +02:00
Mitsu
269e6494ed Merge pull request #256 from Frenzie/master
Fixed ColledgeDeFrance timezone and a small time parsing issue
2016-05-16 19:34:44 +02:00
Albirew
a6e403f48d changed TLD .se -> .org
http://betanews.com/2016/05/15/pirate-bay-domains-seized/
And the game of the cat and the mouse continue...
2016-05-16 15:53:54 +02:00
Frans de Jonge
ac675acf50 Fixed ColledgeDeFrance timezone and a small time parsing issue 2016-05-14 22:02:33 +02:00
Frans de Jonge
02bdc1dfbe Added RTBF bridge 2016-05-10 13:23:43 +02:00
ORelio
ca04246eb0 [YouTube] Code refactoring, add XML API support
- Factorize common code into functions
 - Add support for XML API for user an channel
 - HTML parser is kept as fallback when XML does not work
 - XML API works even if IP is blocked, partially fixes #193
2016-05-03 23:45:32 +02:00
ORelio
5d87f1f8ef [NakedSecurity] Add Naked Security Bridge
Security news blog by Sophos.
2016-05-03 23:42:38 +02:00
wtuuju
796c14758f categories added + fixed html entities 2016-05-02 10:30:13 +02:00
wtuuju
642e4173d1 categories added 2016-05-02 00:55:22 +02:00
Mitsu
832c503278 Merge pull request #250 from teromene/youtube-fix
Fix the doubled HTTPS.
2016-05-01 20:59:12 +02:00
Mitsu
b1cb8e9b6e Merge pull request #249 from teromene/master
LeBonCoinBridge fixed.
2016-05-01 20:58:52 +02:00
Teromene
cd5d8b8953 Another HTTPS in double removed. 2016-05-01 17:26:43 +01:00
Teromene
382ef28abe Fix the doubled HTTPS. 2016-05-01 17:24:24 +01:00
Teromene
88a78b5666 LeBonCoinBridge fixed. 2016-05-01 16:57:40 +01:00
Frans de Jonge
de4952d31f Fix up CollegeDeFranceBridge
The site changed.
2016-05-01 12:39:48 +02:00
Mitsu
99b7d2e6b4 Merge pull request #241 from LogMANOriginal/FacebookBridge
[Facebook] Select page content one level further down
2016-04-14 08:26:58 +02:00
Mitsu
75a6a8ee5c Merge pull request #242 from corenting/master
Added bridge for Elite: Dangerous Galnet
2016-04-14 08:26:43 +02:00
unknown
3d4e3679ad Once again, SimpleXMLElement strikes and makes sure the feed can't be used. So I fix it ... again 2016-04-13 21:22:09 +02:00
corenting
421c47d9ed Added bridge for Elite: Dangerous Galnet 2016-04-06 15:13:09 +01:00
logmanoriginal
3288328ff7 [Facebook] Update date in loadMetadatas 2016-03-31 11:45:35 +02:00
logmanoriginal
e62c6af62e [Facebook] Select page content one level further down
This fixes loading issues where feeds appeared empty.
2016-03-31 11:33:38 +02:00
Mitsu
d2d0f94e18 Merge pull request #237 from AmauryCarrade/feature-lichess-bridge
Lichess blog bridge
2016-03-28 22:48:08 +02:00
Mitsu
dca001dffc Merge pull request #240 from Riduidel/Freenews_v_2.0
Encore ce fameux problème de SimpleXMLElement
2016-03-28 22:47:51 +02:00
unknown
a46ce5070e Encore ce fameux problème de SimpleXMLElement 2016-03-28 20:10:18 +02:00
unknown
7235704a2b Fix pour TheOatMeal qui a changé l'organisation des pages 2016-03-28 18:54:27 +02:00
Amaury Carrade
df39c8c18f Added Lichess blog bridge 2016-03-22 22:51:55 +01:00
Mitsukarenai
3318e66cbc Add info about debug mode in README 2016-03-20 16:54:05 +01:00
Mitsu
599e36a9ac Merge pull request #235 from ORelio/master
Add 2 bridges, Update t411, CNET
2016-03-20 16:45:40 +01:00
ORelio
0ff3cf0e0b [FS] Add FuturaSciences
RSS expander for all the feeds provided by Futura-Sciences.
2016-03-20 15:59:32 +01:00
ORelio
e11123775a [ZT] Add ZoneTelechargement
This is merely a proxy for fetching existing feeds.
(Some feed readers weren't able to fetch their RSS feeds)
2016-03-20 15:57:40 +01:00
ORelio
c2769c8999 [CNET] Fix content extraction 2016-03-16 19:51:54 +01:00
alexis
c13dd8c18a Add Vine.co bridge :) 2016-03-12 16:50:45 +01:00
ORelio
9df5913d6b [T411] Use torrent id as permalink
This way links are not broken if the torrent is renamed.
2016-03-06 19:03:43 +01:00
Mitsu
084eb4c9f4 Merge pull request #231 from teromene/master
Corrected CourrierInternationalBridge
2016-03-02 13:20:58 +01:00
Damien Calesse
386f0ca379 Fix BandCamp image display 2016-03-02 13:14:22 +01:00
teromene@teromene.fr
05c2e2aa20 Corrected CourrierInternationalBridge 2016-03-02 11:49:27 +00:00
ahiles3005
54e912805e add: Bridge for Russian popular social network.Vkontakte or simply VK 2016-03-01 21:10:46 +04:00
ahiles3005
5f35988a18 Revert "add: Bridge for Russian popular social network.Vkontakte or simply VK"
This reverts commit ffa1ea8f0f.
2016-03-01 21:08:33 +04:00
ahiles3005
ffa1ea8f0f add: Bridge for Russian popular social network.Vkontakte or simply VK 2016-03-01 21:06:08 +04:00
ORelio
641d5880c7 [T411] Domain name change
T411 changeid their domain name to t411.ch
2016-02-27 12:56:48 +01:00
Alexis Degrugillier
d0defc6283 Update youtube bridge
Before, the channel id was supposed to be a number. But Youtube changed how they store a
channel id. It's no longer a number, it's a string.
Now, user can enter a text string instead of a number.

See the example with this channel id: UC9fGq2-6FaftcegcIadLf6A
2016-02-27 08:36:14 +01:00
Teromene
d92dc71fae Fixed cache time. 2016-02-26 18:42:52 +00:00
Teromene
e064b5fe28 Corrected no content in AcrimedBridge, modified to make it use RSS-Expander. 2016-02-26 18:41:35 +00:00
Teromene
04ec53010c Corrected cache time. 2016-02-26 15:10:26 +00:00
Teromene
f09dedf16b Corrected PinterestBridge. 2016-02-26 14:58:03 +00:00
ahiles3005
4c241a1319 update for issue #192 2016-02-21 14:23:58 +04:00
ahiles3005
ab2492f292 update for issue #192 2016-02-21 14:17:45 +04:00
Mitsu
36735e7c5a Merge pull request #214 from kranack/master
Update SoundCloud Bridge - Display username in title
2016-02-21 01:13:38 +01:00
ORelio
84356487e9 [GBAtemp] Add GBAtemp Bridge 2016-02-20 14:56:17 +01:00
Damien Calesse
834f959b76 Update SoundCloud Bridge - Display username in title 2016-02-16 12:33:35 +01:00
ORelio
dd0be3f4db [Dilbert] Improve metadata extraction 2016-02-14 13:43:58 +01:00
ORelio
54812d626e Merge remote-tracking branch 'upstream/master' 2016-02-13 14:15:10 +01:00
ORelio
4ccd1b84e5 [AnimeUltime] Simple tab/space fix in source file
Don't have anything against tabs but let's keep concistent at least
on a per-file scope - this simlply replaces tabs with spaces as
this file is using spaces for code indentation.
2016-02-13 14:03:32 +01:00
ORelio
91fe6c4acc [t411] Increase item limit
On searches for popular keywords, a feed reader not reading the feed often
enough can miss items (ie more than 5 items were added since last fetch)
so this change increases the limit from 5 items to 10 items, and retrieves
pages faster to compensate (500ms seems enough for not spamming t411).
2016-02-13 14:01:24 +01:00
ORelio
bba6a0b5c2 [9emeArt] Add NeuviemeArtBridge 2016-02-13 13:52:28 +01:00
ORelio
a9c40e98c4 [CNET] Improve script removal 2016-02-13 13:52:07 +01:00
ORelio
e1b7ffdc81 [T411] Change encoding to UTF-8
- Stop encoding to UTF-8, their website is now natively in UTF-8
 - More error handling
2016-02-03 20:37:14 +01:00
ORelio
47dd6c3b03 [LeMondeInformatique] fix title stripping
Title wasn't properly stripped due to changes on their website.
2016-02-03 20:36:20 +01:00
Mitsu
541ba9116a Merge pull request #207 from mxmehl/master
Add another improved Twitter Bridge
2016-01-30 16:17:46 +01:00
Régis Enguehard
65a9c2b0bc maj LinkedIn & Viadeo 2016-01-29 11:23:42 +01:00
Régis Enguehard
f837032afb Ajout d'un pont vers Viadeo et LinkedLn 2016-01-29 11:23:41 +01:00
mxmehl
651f5ac94f add another improved Twitter Bridge 2016-01-27 11:44:28 +01:00
Mitsu
abce3186d4 Merge pull request #205 from ORelio/master
Facebook captcha proxy & fix CNET bridge
2016-01-26 21:19:51 +01:00
Mitsu
787de0360c Merge pull request #199 from Ginko-Aloe/patch-1
urlencode keyword parameter
2016-01-26 21:17:47 +01:00
Kevin Lagaisse
445568db27 Change url again & constant factorization 2016-01-26 18:39:05 +01:00
ORelio
d16d514736 [Facebook] Capcha retrieval and response submit
This does not solve the captcha issue but allows the viewer to manually
solve the captcha by displaying a form and using the response from the
viewer. Maybe a first step to automated captcha solving?

This process relies on the use of a PHP session for storing captcha
details so that the user cannot submit anything else than the response
to the captcha. Response is filtered before being forwarded, also. Once
captcha is solved we get a page ready to be parsed, as usual.

Combined to some kind of OCR, this could automatically solve the
captcha, but currently if only automates the process of retrieving the
challenge and submitting the response.
2016-01-23 21:53:25 +01:00
ORelio
1e998ab6dd [CNET] Update HTML parsing to reflect changes
HTML parsing wasn't working anymore due to changes on CNET's website.
2016-01-23 21:45:22 +01:00
logmanoriginal
e2043574f2 Remove content duplication 2016-01-22 20:14:03 +01:00
logmanoriginal
d1fe87651d Add items in reverse order (add to front) for correct ordering 2016-01-22 19:34:19 +01:00
logmanoriginal
182dcbec60 Encode special chars for feeds to work properly 2016-01-22 19:30:45 +01:00
logmanoriginal
621c7af6b7 Add title to inputs and improve descriptions 2016-01-21 21:49:23 +01:00
logmanoriginal
b5c7566b7a Merge branch 'master' into MangareaderBridge 2016-01-21 21:20:17 +01:00
logmanoriginal
4422024cfd Add new option to get popular updates 2016-01-20 22:01:45 +01:00
logmanoriginal
a73807130a Reduce parameter name to bare minimum 2016-01-20 20:56:09 +01:00
logmanoriginal
170818a625 Return entire chapter name as item title 2016-01-20 20:53:32 +01:00
logmanoriginal
0e1b84263e Return items starting at the end, not the beginning when working with limits 2016-01-19 21:41:14 +01:00
logmanoriginal
2e4e0077a8 Move date information into a time tag 2016-01-19 21:36:41 +01:00
Ginko-Aloe
195ba94115 Create JapanExpoBridge.php 2016-01-19 19:20:21 +01:00
Ginko-Aloe
438a389286 urlencode keyword parameter
in order to handle non-trivial request keywords
2016-01-19 18:04:35 +01:00
Mitsu
33c6495333 Merge pull request #194 from Albirew/patch-1
TPB changed domain (again)
2016-01-19 13:48:35 +01:00
Mitsu
79a610ea69 Merge pull request #195 from LogMANOriginal/TwitchApiBridge
Clarify meaning of Broadcasts option in TwitchApiBridge
2016-01-19 13:48:30 +01:00
Mitsu
31177912e0 Merge pull request #198 from teromene/rss-bridge-enclosures
Rss bridge enclosures
2016-01-19 13:45:23 +01:00
Teromene
4deefdfd7d Add enclosures support, see example in DemoBridge. 2016-01-19 12:34:38 +00:00
Teromene
379c89045b Quoted the "r" and "k" in the parameters 2016-01-19 12:15:16 +00:00
logmanoriginal
e6f388d6e4 Add new option to receive chapter updates for one specific manga 2016-01-16 16:30:29 +01:00
Albirew
6deebb56a5 changed TLD .ms -> .se
On continue le jeu du chat et de la souris =)
2016-01-15 18:20:30 +01:00
logmanoriginal
ff9c60f53c Use '/latest' instead of the main page to reduce loading time 2016-01-10 09:46:35 +01:00
logmanoriginal
2aba815b55 Implement new Bridge to mangareader.net
This Bridge returns information about the last updates on mangareader.net
2016-01-10 00:00:16 +01:00
logmanoriginal
29481c73c1 Clarify meaning of Broadcasts option
Twitch returns Broadcasts when set to true, highlights otherwise. See also:
https://github.com/justintv/Twitch-API/blob/master/v3_resources/videos.md#get-channelschannelvideos
2016-01-09 21:00:30 +01:00
Albirew
7e91186c6c TPB changed domain (again)
TPB added .ms TLD and on the fly, .vg got down.
PS: .se TLD still exist.
2016-01-09 10:23:19 +01:00
Mitsu
15021ebd78 Merge pull request #190 from ORelio/master
[T411] Use search instead of RSS
2015-12-24 02:17:44 +01:00
Paul Vayssiere
d885897c40 Desactivate auto play for Arte's links
No need to use my bandwidth and processor if I just want to look at
more description
2015-12-23 13:33:50 -08:00
ORelio
47a79f821a [T411] Use search instead of RSS
Search isn't as severely rate limited as RSS
Search can enforce sorting to most recent entries
Bonus: Use a lower cache duration (1h instead of 3h)
2015-12-17 22:31:12 +01:00
nkania
7d03d72708 Added a bridge for fier-panda.fr 2015-12-11 11:51:35 +01:00
Teromene
1a4a428449 Correction de quelques problèmes avec RSSExpander suite à la migration dans lib/Bridge.
Correction de typos.
Ajout de la possibilité d'utiliser un proxy.
2015-12-06 15:56:39 +01:00
Teromene
e582c887fb Ajout du paramètre pattern pour les entrées de type texte, ajout du required côté HTML.
Correction de la page d'accueuil pour qu'elle soit conforme aux standards du W3C.
Correction de la regex de listage des fichiers pour qu'elle ignore les sauvegardes.
Ajout d'un nettoyeur HTML, par défaut.
2015-12-06 15:56:39 +01:00
teromene
38829e7739 Little refactoring to reduce logic on index.php.
Moved RssExpander as a core logic system to lib/Bridge.php

Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
teromene
80008f01f8 Updating a few bridges.
Adding everybody to the contributors in README.md

Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
teromene
78c9dcc705 Last batch of bridges, all implemented !
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
teromene
b3733069d4 3rd batch of bridges.
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
teromene
3cb652b812 Deuxième lot de bridges. 2015-12-06 15:56:39 +01:00
teromene
2d526f4e0a Correction de quelques bugs dans les bridges, qui apparaissent à cause du fait qu'ils sont tous instanciés lors du chargement de tout les bridges.
Ré-ajout et ré-utilisation de getName et getURI, qui permettent d'avoir des élements dynamiques.
Changement en public de certaines valeurs.
Changement du nom de certaines constantes, déja utilisés.

Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
teromene
11ad75c7e6 Premier lot de bridges utilisant le premier système.
Signed-off-by: teromene <teromene@teromene.fr>
2015-12-06 15:56:39 +01:00
teromene
5d2e7ac83d Ajout d'options multiples pour les méta-données.
Ajout d'un bridge de démonstration, DemoBridge.
Ajout d'un début de documentation pour créer un bridge dans CREATE_BRIDGE.md
2015-12-06 15:56:39 +01:00
teromene
2deef45867 Première version du nouveau système de méta-données.
Voir exemple dans YoutubeBridge.
2015-12-06 15:56:39 +01:00
Mitsukarenai
e9e7a421ff (merge control) 2015-12-06 15:55:47 +01:00
Jeremy Benoist
b0305430c7 .pw just changed to .io 2015-11-06 22:49:40 +01:00
Hauke Schade
ffc01fa3bd added WikipediaDEBridge 2015-11-04 20:22:48 +01:00
Mitsukarenai
ba161b0b12 [Arte+7] remove-merge bridges, 2 lists for language selection 2015-10-31 13:26:56 +01:00
Mitsukarenai
b339f157c1 [WordOfTanks] add language select list 2015-10-30 18:37:01 +01:00
Mitsukarenai
871efdd5ce [TwitchApi] broadcast select list 2015-10-30 18:30:58 +01:00
Mitsukarenai
42fc08b93d [OpenClassrooms] fixed, list selection 2015-10-30 18:27:49 +01:00
Mitsukarenai
0eb7731481 [AnimeUltime ] add list selection 2015-10-30 18:03:55 +01:00
Mitsukarenai
182be9b575 [LeBonCoin] -oops- forgot keyword type 2015-10-30 17:49:46 +01:00
Mitsukarenai
60a82b52b7 [LeBonCoin] add region selection list 2015-10-30 17:45:10 +01:00
Mitsukarenai
3115cd8e3a [Arte+7] dropdown list for category selection 2015-10-30 12:38:52 +01:00
Mitsu
fcc072170c Merge pull request #156 from teromene/master
Add support for list parameters
2015-10-30 12:26:29 +01:00
Mitsukarenai
e1dac3abb3 [Arte] update bridges (new website) - fix #165 2015-10-30 11:26:49 +01:00
Mitsu
d90b118671 Merge pull request #164 from ORelio/master
[Facebook] Convert textual emoticons to ASCII
2015-10-26 17:00:19 +01:00
ORelio
b592f8ebbf [Facebook] Convert textual emoticons to ASCII
Currently emoticons are retrived in textual form eg <i><u>smile
emoticon</u></i> which is not really visual... so let's convert them back
as ASCII emoticons eg ':)'. This works using a hardcoded table mapping
emoticon names to their visual representation, and the regular expression
match the two words because eg in french facebook will display
<i><u>émoticône smile</u></i> so we need to test both. Unknown emoticon
descriptions will be left as is.
2015-10-24 20:14:12 +02:00
Mitsu
23f0fa3ed8 Merge pull request #163 from polo2ro/master
Fix url for par vendu immo bridge
2015-10-23 17:37:30 +02:00
Paul de Rosanbo
52bdc39948 Fix url for par vendu, remove variable to fix the unread status of items
some rss clients (ex: liferea)
2015-10-23 16:38:37 +02:00
Mitsu
a1b4414da3 Merge pull request #162 from ORelio/master
FaceBook improvements, NextInpact notice fix
2015-10-23 14:49:21 +02:00
ORelio
c8ef31bac6 [NextInpact] Fix php notice message
For non-premium articles, a notice is generated because of trying to get
property from a non-object. Fixed that with a proper check using is_object
2015-10-23 12:19:12 +02:00
ORelio
300b8bba9b [Facebook] More cleaning and bypass link redirect
Remove a bunch of useless html node properties
Bypass all l.php facebook link redirections
Restore <u> and <i> basic formatting
2015-10-23 12:18:55 +02:00
Mitsu
3780eb58bd Merge pull request #161 from ORelio/master
Add AnimeUltime, CNET, LeMondeInformatique, Silicon, 3DSDB, T411
2015-10-22 17:36:24 +02:00
ORelio
0051615b82 Fix some HTTP error codes (404->500) 2015-10-22 15:20:42 +02:00
ORelio
5c987b74d5 Update T411 domain name 2015-10-22 15:01:16 +02:00
ORelio
ea7c8cc314 Add T411 bridge 2015-10-22 14:57:33 +02:00
ORelio
44edc7fc22 Add 3DS Scene Releases bridge 2015-10-22 14:55:11 +02:00
ORelio
f036bff6b4 Add Silicon News bridge 2015-10-22 14:52:34 +02:00
ORelio
e7966dd102 Add Le Monde Informatique bridge 2015-10-22 14:52:15 +02:00
ORelio
24f3bb84d8 Add CNET News bridge 2015-10-22 14:51:56 +02:00
ORelio
e261c9a594 Add Anime Ultime bridge 2015-10-22 14:51:39 +02:00
Brice Maron
33dea43bcf [LesJoiesDuCode] decode html entities in title 2015-10-13 23:39:48 +02:00
Brice Maron
497d3fd7aa [LesJoiesDuCode] Fix markup detection 2015-10-13 23:28:38 +02:00
Mitsukarenai
85ebb70b74 [Numerama] Add author to feed output 2015-10-13 17:59:55 +02:00
Mitsukarenai
35ac1d76b2 [Numerama] fix undecoded entity on title 2015-10-13 00:37:55 +02:00
Mitsukarenai
c17fe0c898 [Numerama] change feed URL source 2015-10-12 20:47:53 +02:00
Mitsukarenai
01d6859f77 [Numerama] update bridge post extraction (issue #158) 2015-10-12 17:13:27 +02:00
Mitsu
36ba93eea3 Merge pull request #153 from ORelio/master
Improve FaceBook, NextInpact, Wordpress bridges
2015-09-20 17:03:15 +02:00
teromene
81f89b1246 Ajout de la possibilité d'avoir une liste en paramètre, voir exemple d'utilisation dans DauphineLibereBridge. 2015-09-14 13:59:20 +01:00
Mitsukarenai
c030d011d2 BooruProject: tighter param control | WorldOfTanks: URL format update 2015-09-12 20:00:26 +02:00
Mitsu
f643617cac Merge pull request #154 from kranack/master
FIX Soundcloud Bridge
2015-09-10 00:24:05 +02:00
Damien Calesse
2c18ee2d53 Fix cache duration for soundcloudBridge 2015-09-10 00:00:29 +02:00
Damien Calesse
91b1415e3d Fix Soundcloud bridge (remove var_dump and reset cache duration) 2015-09-09 00:15:01 +02:00
Damien Calesse
8edddcd97f Fix Soundcloud bridge (change client key, URI now use HTTPS and change URI according with soundcloud API) 2015-09-09 00:13:56 +02:00
ORelio
5b2c8e91d0 Improve Wordpress Bridge
Retrieve post author
Retrieve post thumbnail
Retrieve title from <h2> if no <h1>
Minor code indentation fixes
2015-09-05 14:42:57 +02:00
ORelio
8b9c40534b NextInpactBridge: Add mention for premium articles
Add mention on article bottom (n% to discover)
Minor name fix: Nextinpact -> NextInpact
Further code indentation fixes
2015-09-05 14:42:55 +02:00
ORelio
d7436c2d0a Improve Facebook Bridge
Retrieve author display name from page title
Build short readable title using name and content
Convert relative links into absolute links
Remove attributes from </a> tags (may cause issues)
Remove onclick and onmouseover (javascript code)
Retrieve url of first image of post as thumnail
Use author avatar as thumnail if no first image
Use display name in feed name: name - Fb bridge
Minor code indent fixes and use simple quotes
2015-09-05 14:42:54 +02:00
ORelio
80fe041f32 NextImpactBridge Improvements
- Add subtitle
- Add news main image
- Add thumbnail rss field
- Add author rss field
- Minor code cleanup
2015-09-04 18:11:04 +02:00
teromene
ee4d4d9603 Ajout du support des journaux de profils 2015-09-02 13:49:36 +02:00
teromene
7b9c180654 Ajout d'un bridge pour Courrier International. 2015-09-01 19:45:39 +02:00
teromene
9dfa1d6f25 Ajout d'une URI par post 2015-09-01 00:04:13 +02:00
teromene
7680b065b5 Modification de la durée du cache 2015-08-31 23:02:11 +02:00
teromene
221ac239e1 Ajout d'un bridge pour Facebook 2015-08-31 22:59:08 +02:00
GregThib
9f93656bf4 Anti-hotlinking was apparently disabled
It seems that anti-hotlinking method (data-src + JS) was disabled on Rue89 site.
Because I'm not sure that modification is permanent, I put an "if" for testing it before replacement.
--> tested ok on my rssbridge instance. IMG are back.
2015-08-07 16:30:42 +02:00
Mitsu
d39336525d Merge pull request #128 from Nyutag/master
[new] ReporterreBridge
+ fixes [CADBridge] [CommonDreamsBridge]
2015-07-30 11:59:53 +02:00
Mitsukarenai
d95f4024f5 [TheOatMeal] fixes 2015-07-30 11:57:26 +02:00
Mitsu
ce89ed0fc5 Merge pull request #136 from Riduidel/TheOatmeal
[new] The oatmeal
2015-07-30 11:42:21 +02:00
Mitsu
1678378bab [TwitchApi] Fix homepage link 2015-07-30 11:29:25 +02:00
Mitsu
9bf493cf92 Merge pull request #140 from LogMANOriginal/TwitchApiBridge
[new] TwitchApiBridge
2015-07-30 11:28:27 +02:00
GregThib
17e887631c AuthorName in the output (usefull for RSS readers)
Add the Author's name in the output fields.
2015-07-23 16:05:26 +02:00
logmanoriginal
1055fd4e8b Add TwitchApiBridge 2015-07-14 13:36:44 +02:00
Mitsukarenai
6456d145a0 [Youtube] fix search (issue #137) 2015-07-08 15:34:06 +02:00
Nicolas Delsaux
6003daff9d fixed a small bug regarding url processing 2015-07-05 15:51:17 +02:00
Nicolas Delsaux
7b99ad3650 I stupidly forgot to change cache duration ... 2015-07-05 15:27:39 +02:00
Nicolas Delsaux
94ffb22fb0 un bridge The Oatmeal qui marche ... principalement pour les comics locaux (et pas pour explodingkittens) 2015-07-05 15:24:06 +02:00
unknown
9712d052b4 Implementing TheOatMeal bridge fast with RSSExpander 2015-07-03 18:43:15 +02:00
Paul de Rosanbo
9ce826f78e Fix instagram bridge, json data format has been modified on
instagram.com
2015-06-29 11:47:54 +02:00
Sven Fischer
b18990872e add Google+ base URL in front of item entry URI
this fixes the Atom feed entry URL from
https://example.com/rss-bridge/+Perspn/posts/N6fgHam5e2ik to point to
https://plus.google.com/+Perspn/posts/N6fgHam5e2ik. Otherwise the URL
count not be found.
2015-06-27 23:58:06 +02:00
Mitsukarenai
7a40584864 [TwitterBridge*] update query URL for live feed 2015-06-26 11:55:11 +02:00
Mitsukarenai
c16747757d (some cleanup) 2015-06-04 17:06:14 +02:00
Mitsukarenai
54c5e9f5ea [Youtube] Use metatag for publishdate (fix issue #132) 2015-05-31 00:16:42 +02:00
Kevin Lagaisse
de16ba234e Ajout de la date de publication en utilisant la date de dernière modification du cache 2015-05-20 21:47:58 +02:00
Kevin Lagaisse
22f0017dc7 Create CpasbienBridge.php 2015-05-18 12:01:13 +02:00
root
222073248d Fixing issue with sillies 2015-05-06 09:53:21 +02:00
root
ca9cc12b0c Fixing cache issue causing memory leak 2015-05-05 20:30:26 +02:00
root
5a2a6fbdba Add ReporterreBridge.php 2015-05-05 20:18:12 +02:00
Mitsukarenai
4ca9339e03 [removed] HumbleStore bridge 2015-05-02 12:21:17 +02:00
root
4524feeebc Add CADBridge 2015-04-28 19:40:58 +02:00
Mitsu
5c37fd4dcf Merge pull request #125 from Nyutag/master
Add CommonDreamsBridge.php
2015-04-27 11:53:15 +02:00
Mitsukarenai
2a80794d09 Artefr: fix URI 2015-04-27 11:52:30 +02:00
Marcus Rohrmoser
d80b11f0fa arte.de: urls form json are already absolute. 2015-04-27 11:46:35 +02:00
root
3506a18a39 Add CommonDreamsBridge.php 2015-04-26 19:22:20 +02:00
Mitsu
76907287f0 Merge pull request #115 from nel50n/media-rss
Media RSS
2015-04-24 17:32:02 +02:00
Mitsu
f1d74a4a27 Merge pull request #121 from Riduidel/master
Création du RssExpander et utilisation dans Gawker et Sexactu
2015-04-24 17:30:39 +02:00
Glandos
ef0329b09c Handle missing items in LeBonCoinBridge
Ignore missing items instead of doing 500 errors.
2015-04-15 21:55:24 +02:00