Commit graph

552 commits

Author SHA1 Message Date
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