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