1
0
Fork 0
forked from blallo/rss-bridge
Commit graph

527 commits

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