Commit graph

966 commits

Author SHA1 Message Date
Corentin Garcia
a84c245fa0 [NasaApodBridge] Use HTTPS instead of HTTP 2017-03-20 14:26:08 +01:00
logmanoriginal
b48a44c979 [UsbekEtRicaBridge] Add new bridge
Adds a new bridge to fetch contents from https://usbeketrica.com/
Feeds are build from cards displayed on the front page

This bridge provides two options:
- limit: Defines how many articles are returned
- fullarticle: Defines whether or not the full article is retured

Requested via #457
2017-03-19 14:32:59 +01:00
logmanoriginal
c6ce453c47 [MixCloudBridge] Fix bridge broken after DOM changed
This commit fixes DOM changes reported via #436
New DOM introduced via
https://blog.mixcloud.com/2017/01/10/take-a-look-at-the-new-and-improved-mixcloud/
2017-03-19 12:04:59 +01:00
logmanoriginal
bd92392921 [GooglePlusPostBridge] Fix bridge implementation
This bridge was broken due to DOM changes. This commit fixes
most of the broken code. Hashtags do no longer work because
they are no longer supported/provided.

The timing might be off as the source only provides a rough
relative value like '1 hour' or '1 year'.

Closes #485
2017-03-18 21:09:06 +01:00
Teromene
59025d96bc Add an indicator to show the HTTP status of the site. (#483) 2017-03-18 19:02:18 +00:00
logmanoriginal
596b9143a8 [TwitterBridge] Add option to hide retweets
Requested via #491
2017-03-17 18:41:35 +01:00
Teromene
b1c2a69102 Fix WebFailBridge (again).
It seems that they blacklist weird user agents, but not immediately. Switched to Firefox user agent, should stop causing problems.
2017-03-03 14:19:10 +00:00
Teromene
bf7ce98719 Fix VKBridge. 2017-03-03 14:14:05 +00:00
Teromene
5d41a74067 Add WordPressPluginUpdateBridge.
Fix phpcs check in WebFailBridge.
2017-03-03 13:27:41 +00:00
Teromene
100f3cd56d Fix Webfailbridge, change the user-agent used for the request. 2017-03-03 12:10:23 +00:00
logmanoriginal
16bdf6b204 links: Rename defaultImageSrcTo to defaultLinkTo
This function not only fixes image sources, but also anchors
2017-02-18 13:41:45 +01:00
logmanoriginal
1dcef02f27 [MoinMoinBridge] Add new bridge
This bridge returns feeds for each section (via given separator)
from a given MoinMoin compatible wiki.

The separator can be any tag of the following:
- h1
- h2
- h3
- li
- a

The number of items returned can be specified.
For anchor tags (a) the bridge can optionally follow the anchor to
the linked page and return it as content.
2017-02-18 03:13:20 +01:00
logmanoriginal
9124ed640e [WebfailBridge] Properly handle gifs (DOM changed) 2017-02-17 20:04:38 +01:00
logmanoriginal
512a4f292b bridges: Return parent::getURI by default 2017-02-15 19:38:32 +01:00
logmanoriginal
c4169f1579 bridges: Return parent::getName by default 2017-02-15 19:38:32 +01:00
logmanoriginal
ff83410534 style: Fix coding styles 2017-02-14 17:28:07 +01:00
logmanoriginal
0c3e58258c [MsnMondeBridge] Fix typo 2017-02-12 16:18:58 +01:00
logmanoriginal
b4f1dc35a1 [FB2Bridge] Split long lines
Splits long lines into short sections without using
string concatenation (.) to prevent errors due to
coding styles.
2017-02-12 15:34:08 +01:00
logmanoriginal
6f24858124 bridges: Fix coding styles
This commit is a squash of all commits that fix coding styles
for the new coding style policy.

[ABCTabsBridge] Fix coding style
[AcrimedBridge] Fix coding style
[AllocineFRBridge] Fix coding style
[AnimeUltimeBridge] Fix coding style
[Arte7Bridge] Fix coding style
[AskfmBridge] Fix coding style
[BandcampBridge] Fix coding style
[BastaBridge] Fix coding style
[BlaguesDeMerdeBridge] Fix coding style
[BooruprojectBridge] Fix coding style
[CADBridge] Fix coding style
[CNETBridge] Fix coding style
[CastorusBridge] Fix coding style
[CollegeDeFranceBridge] Fix coding style
[CommonDreamsBridge] Fix coding style
[CopieDoubleBridge] Fix coding style
[CourrierInternationalBridge] Fix coding style
[CpasbienBridge] Fix coding style
[CryptomeBridge] Fix coding style
[DailymotionBridge] Fix coding style
[DanbooruBridge] Fix coding style
[DansTonChatBridge] Fix coding style
[DauphineLibereBridge] Fix coding style
[DeveloppezDotComBridge] Fix coding style
[DemoBridge] Fix coding style
[DilbertBridge] Fix coding style
[DuckDuckGoBridge] Fix coding style
[DollbooruBridge] Fix coding style
[EliteDangerousGalnetBridge] Fix coding style
[ElsevierBridge] Fix coding style
[EstCeQuonMetEnProdBridge] Fix coding style
[EZTVBridge] Fix coding style
[FacebookBridge] Fix coding style
[FeedExpanderExampleBridge] Fix coding style
[FB2Bridge] Fix coding style
[FierPandaBridge] Fix coding style
[FlickrBridge] Fix coding style
[FootitoBridge] Fix coding style
[FourchanBridge] Fix coding style
[FuturaSciencesBridge] Fix coding style
[GBAtempBridge] Fix coding style
[GelbooruBridge] Fix coding style
[GiphyBridge] Fix coding style
[GithubIssueBridge] Fix coding style
[GizmodoBridge] Fix coding style
[GoComicsBridge] Fix coding style
[GooglePlusPostBridge] Fix coding style
[GoogleSearchBridge] Fix coding style
[HDWallpapersBridge] Fix coding style
[HentaiHavenBridge] Fix coding style
[IdenticaBridge] Fix coding style
[InstagramBridge] Fix coding style
[IsoHuntBridge] Fix coding style
[JapanExpoBridge] Fix coding style
[KonachanBridge] Fix coding style
[KoreusBridge] Fix coding style
[KununuBridge] Fix coding style
[LeBonCoinBridge] Fix coding style
[LegifranceJOBBridge] Fix coding style
[LeMondeInformatiqueBridge] Fix coding style
[LesJoiesDuCodeBridge] Fix coding style
[LichessBridge] Fix coding style
[LinkedInCompanyBridge] Fix coding style
[LolibooruBridge] Fix coding style
[LWNprevBridge] Fix coding style
[MangareaderBridge] Fix coding style
[MilbooruBridge] Fix coding style
[MixCloudBridge] Fix coding style
[MoebooruBridge] Fix coding style
[MondeDiploBridge] Fix coding style
[MsnMondeBridge] Fix coding style
[MspabooruBridge] Fix coding style
[NasaApodBridge] Fix coding style
[NeuviemeArtBridge] Fix coding style
[NextgovBridge] Fix coding style
[NextInpactBridge] Fix coding style
[NiceMatinBridge] Fix coding style
[NovelUpdatesBridge] Fix coding style
[OpenClassroomsBridge] Fix coding style
[ParuVenduImmoBridge] Fix coding style
[PickyWallpapersBridge] Fix coding style
[PinterestBridge] Fix coding style
[PlanetLibreBridge] Fix coding style
[ReadComicsBridge] Fix coding style
[Releases3DSBridge] Fix coding style
[ReporterreBridge] Fix coding style
[RTBFBridge] Fix coding style
[Rue89Bridge] Fix coding style
[Rule34Bridge] Fix coding style
[Rule34pahealBridge] Fix coding style
[SafebooruBridge] Fix coding style
[SakugabooruBridge] Fix coding style
[ScmbBridge] Fix coding style
[ScoopItBridge] Fix coding style
[SensCritiqueBridge] Fix coding style
[SexactuBridge] Fix coding style
[ShanaprojectBridge] Fix coding style
[Shimmie2Bridge] Fix coding style
[SoundcloudBridge] Fix coding style
[StripeAPIChangeLogBridge] Fix coding style
[SuperbWallpapersBridge] Fix coding style
[T411Bridge] Fix coding style
[TagBoardBridge] Fix coding style
[TbibBridge] Fix coding style
[TheCodingLoveBridge] Fix coding style
[TheHackerNewsBridge] Fix coding style
[ThePirateBayBridge] Fix coding style
[TheTVDBBridge] Fix coding style
[Torrent9Bridge] Fix coding style
[TwitterBridge] Fix coding style
[UnsplashBridge] Fix coding style
[ViadeoCompanyBridge] Fix coding style
[VineBridge] Fix coding style
[VkBridge] Fix coding style
[WallpaperStopBridge] Fix coding style
[WebfailBridge] Fix coding style
[WeLiveSecurityBridge] Fix coding style
[WhydBridge] Fix coding style
[WikipediaBridge] Fix coding style
[WordPressBridge] Fix coding style
[WorldOfTanksBridge] Fix coding style
[XbooruBridge] Fix coding style
[YandereBridge] Fix coding style
[YoutubeBridge] Fix coding style
[ZDNetBridge] Fix coding style
2017-02-12 15:34:08 +01:00
logmanoriginal
37b5df8985 Remove FlickrExploreBridge and FlickrTagBridge
These bridges are replaced by the FlickrBridge
2017-02-11 12:38:32 +01:00
logmanoriginal
f16835c223 [FlickrBridge] Add new bridge
This bridge is a mashup of the existing FlickrExploreBridge by sebsauvage
and FlickrTagBridge by erwang. It provides the same functionality as one
single bridge.
2017-02-11 12:36:08 +01:00
logmanoriginal
7ad8693b5f [FlickrTagBridge] Fix and improve bridge by using the FlickrExploreBridge approach 2017-02-11 12:20:44 +01:00
logmanoriginal
0f25684e65 [FlickrExplore] Fix and improve bridge
Instead of utilizing API requests for each element, the information
is now read directly from the source page, which provides information
as JSON data embedded in a script block.

The author name is returned for each element.

Improves the title and optionally adds the description if available
2017-02-11 12:03:41 +01:00
Teromene
9bf74b2715 Added the alternate facebook bridge. 2017-02-08 11:21:59 +00:00
logmanoriginal
d91c25cff1 Merge branch 'KernelBugTrackerBridge' of https://github.com/logmanoriginal/rss-bridge 2017-02-07 21:37:19 +01:00
logmanoriginal
6ddcedb53f [KernelBugTracker] Add new bridge
This adds a bridge for bugzilla.kernel.org to provide feeds for
bug comments without the need of registering an email address.

This implementation makes use of the print preview feature that
reduces bandwidth by a small margin.

Provides options to specify the number of comments to return as
well as the sorting order (latest first or oldest first)
2017-02-07 21:29:15 +01:00
Astyan-42
a1764a9fe2 make the bridge compatible with wordpress with no static URL (#469) 2017-02-07 10:24:18 +00:00
Pellaeon Lin
1028e538ab Fix duplicate https://www.facebook.com/ on captcha_action POST URL (#466) 2017-02-02 16:18:23 +00:00
Pellaeon Lin
49cc0661ad Fix FacebookBridge feed name empty when data loaded from cache (#456) 2017-02-02 16:17:18 +00:00
Pellaeon Lin
3109694b1c Ignore summary posts generated by facebook (#467) 2017-02-02 16:13:26 +00:00
Astyan-42
aa0a84bc26 adding theTVDBBridge (#463)
* adding theTVDBBridge
2017-02-01 13:02:05 +00:00
Teromene
eb22f86f44 Merge pull request #455 from pellaeon/pr-1
Preserve br and p from Facebook post content
2017-02-01 10:22:42 +00:00
JeremyRand
94d2ebec0a
[DuckDuckGoBridge] Disable DuckDuckGo redirects so that the links returned are correct. 2017-02-01 00:58:05 +00:00
Luc Didry
5b4ba621ee Add GoComicsBridge 2017-01-14 10:01:00 +01:00
Pellaeon Lin
9c1bedb33f Preserve br and p from Facebook post content 2017-01-13 06:38:05 +08:00
Kevin Lagaisse
41714b4c40 Add Torrent9bridge
update cpasbienbridge
2017-01-01 12:05:37 +01:00
LogMANOriginal
a4f4447c5e Merge pull request #450 from ORelio/master
Update Futura-Sciences field retrieval
2016-12-19 20:17:20 +01:00
ORelio
3a6ccc4c29 Update Futura-Sciences field retrieval
See #433
2016-12-19 20:04:34 +01:00
logmanoriginal
f45405950d [GooglePlusPost] Trim unnecessary tags 2016-12-19 19:57:25 +01:00
logmanoriginal
0e5cf0d14e [GooglePlusPost] Return content and title compatible to current RSS-Bridge 2016-12-19 19:49:53 +01:00
logmanoriginal
d0c9397613 [Kununu] Fix source layout changed 2016-12-17 18:04:21 +01:00
logmanoriginal
5ad3198d71 [Kununu] Fix content check condition
Check if null instead of false according to:
http://simplehtmldom.sourceforge.net/manual.htm#section_find
2016-12-17 17:21:29 +01:00
logmanoriginal
83b5bbcc37 [Kununu] Use tabs for indentation 2016-12-17 17:11:58 +01:00
logmanoriginal
f694023f7d bridges: Return default values for getName and getURI 2016-12-17 17:03:09 +01:00
logmanoriginal
d4fb02b0d0 bridges: Set missing MAINTAINER based on blame command
Maintainer should be set for all bridges. Using git blame to
determine who provided the most code to the files. This is
obviously not a good solution, feel free to insert own names
2016-12-17 16:43:47 +01:00
logmanoriginal
95b99d42a4 bridges: Fix default return values and function scopes
getURI and getName should fall back to parent::getURI or
parent::getName respectively if it cannot build propper
return values.

Functions defined by bridges should be made private to
prevent confusion with inherited functions
2016-12-17 16:39:18 +01:00
LogMANOriginal
271c71d0ac Merge pull request #444 from niawag/patch-3
[ThePirateBay] Filter results by user status (VIP/Trusted/None)
2016-12-16 18:22:33 +01:00
niawag
8b52b3858e Filter results by user status (VIP/Trusted/None)
Took into account LogMANOriginal comment and tested it, everything's working.
2016-12-16 10:41:40 +01:00
Alexis CHEMEL
a5b0e2a24f [AmazonBridge] Adding country list box #447 2016-12-13 17:02:49 +01:00
Thomas Dalichow
f09e8e1139 Translate amazon bridge to english
Until now, it was my understanding to keep rss-bridge english, not french. Despite it's french roots.
2016-12-12 22:28:05 +01:00
niawag
8bb002c7b6 Filter results by user status (VIP/Trusted/None) 2016-12-11 12:11:03 +01:00
Étienne
1ef7e40ecd Fix SCMB bridge
This trailing `/` made the link to each article invalid
2016-12-10 15:56:30 +01:00
Teromene
00403214ce Merge pull request #441 from chemel/amazon-bridge
Amazon Bridge
2016-12-10 14:13:10 +00:00
Teromene
9c65c7b9e1 Merge pull request #442 from chemel/google
GoogleSearchBridge Fix
2016-12-10 14:12:37 +00:00
Alexis CHEMEL
877465d508 AmazonBridge 2016-12-10 14:58:48 +01:00
Alexis CHEMEL
35415004b9 Fix GoogleSearchBridge
find div instead li
2016-12-10 14:56:25 +01:00
Alexis CHEMEL
e908fe648b T411Bridge Minor fixes (#438)
T411Bridge Minor fixes
2016-12-06 17:20:41 +00:00
Alexis CHEMEL
3f503c4356 MixCloudBridge #436 (#437)
MixCloudBridge #436
FuturaSciencesBridge #433
2016-12-06 11:12:42 +00:00
logmanoriginal
72981032e4 [Arte7] Fix broken feed 2016-11-05 18:24:04 +01:00
logmanoriginal
8924722b93 [Arte7] Fix content parsing
Elements are now put into separate JSON containers. As such
assignment changed from : to = and as only one container
is present in each element, the final , is omitted.
JSON data is html encoded and requires decoding before decoding
via json_decode.
2016-11-05 12:48:58 +01:00
JeremyRand
5258551a98
[DuckDuckGoBridge] Add ability to sort by relevance instead of date. 2016-10-18 22:40:34 +00:00
logmanoriginal
0e9fb31986 Merge branch 'WebfailBridge' of https://github.com/logmanoriginal/rss-bridge 2016-10-06 22:45:28 +02:00
logmanoriginal
aa2442602a [Webfail] Fix titles with single quotes 2016-10-06 22:04:38 +02:00
niawag
f8dafe6b10 Update ReadComicsBridge.php 2016-10-06 16:39:18 +02:00
niawag
952bde0425 Update ReadComicsBridge.php 2016-10-06 16:22:39 +02:00
niawag
41e85bd4a6 Create ReadComicsBridge.php
Hi, I created a Bridge for ReadComics.tv website, I put myself as "maintainer" but I'm not sure if this is the way you're doing it!
If there is a need to improve/change things, please tell me!
2016-10-06 15:43:04 +02:00
logmanoriginal
5662dff5cb [Webfail] Fix titles with umlauts 2016-10-05 18:56:54 +02:00
logmanoriginal
9e209608c8 [TheOatMeal] Remove bridge
RSS feeds are provided on the main page at http://theoatmeal.com/
2016-10-03 19:35:54 +02:00
logmanoriginal
c0df82c303 [TwitchApi] Remove bridge
Since August 6th, 2016 Twitch requires a client ID
(oauth token) to do API requests, which makes this
bridge useless for most people.

See also: https://blog.twitch.tv/client-id-required-for-kraken-api-calls-afbb8e95f843#.xrc1h2apk
2016-10-03 19:29:39 +02:00
logmanoriginal
885198d8d2 [Webfail] Add new bridge 2016-10-03 11:47:27 +02:00
logmanoriginal
4b171f8f46 Merge branch 'fixIndividualBridges' of https://framagit.org/peetah/rss-bridge 2016-10-02 16:13:57 +02:00
logmanoriginal
970e216c1f Merge branch 'methods2functions' of https://framagit.org/peetah/rss-bridge 2016-10-02 16:05:58 +02:00
logmanoriginal
9020b09fc2 Merge branch 'sysadminstory-patch-AllocineFRBridge' of https://github.com/sysadminstory/rss-bridge 2016-10-02 15:57:24 +02:00
Mitsu
7bb464350c Merge pull request #413 from niawag/patch-1
Add category and uploader feed
2016-10-02 15:47:12 +02:00
niawag
a4db8dc495 Add user feed, category feed and search in category feed
I tested it and everything is working, I incorporated the changes suggested by mitsukarenai, thank a lot!
2016-10-02 15:09:51 +02:00
niawag
b50652e6ac Add category and uploader feed
I made some changes to returne category and uploader feed. I also changed the URI to the magnet link to be able to use the feed in a torrent client. As discussed here (https://github.com/RSS-Bridge/rss-bridge/issues/412), I'd rather use the <torrent:magnetURI> item but it's not possible with RSS-Bridge ATM.

If I find time to work on it I'll try to add combination possibilities: search term in a certain category or for a specific uploader

Hope my changes will be appreciated!
2016-09-30 11:07:43 +02:00
Pierre Mazière
3dcdaa1595 [CourrierInternationalBridge] fix content parsing
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-26 00:50:26 +02:00
Pierre Mazière
747be13849 [core] extract HTMLUtils methods to make them functions
Methods displayBridgeCard, sanitize, defaultImageSrcTo are now
functions in lib/html.php
getHelperButtinsFormat and getFormHeader are now anonymous functions
defined in displayBridgeCard

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-25 23:58:52 +02:00
Pierre Mazière
f1fb95b257 [core] extract BridgeAbstract methods to make them functions
- returnError, returnServerError, returnClientError ,debugMessage are
  moved to lib/error.php

- getContents, getSimpleHTMLDOM, getSimpleHTMLDOMCached are moved to
  lib/contents.php

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-25 23:22:33 +02:00
Pierre Mazière
235c985901 [BridgeAbstract] replace getCacheDuration method by CACHE_TIMEOUT class constant
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-25 17:04:28 +02:00
sysadminstory
41540e24ef Update AllocineFRBridge.php 2016-09-25 12:31:58 +02:00
sysadminstory
69d30ad125 Fix URL & Change to the lastest Season
The leading slash was missing for the Bridge URL (URL where therefore malformed)
Changed the URL to get the lastest for 'Faux Raccord' and 'Top 5'
2016-09-25 12:28:01 +02:00
LogMANOriginal
ad534444fa Merge pull request #407 from sysadminstory/leboncoin-toute-la-france
Allow "Toute la France" as a "Région"
2016-09-24 19:24:16 +02:00
sysadminstory
5547de1785 Allow "Toute la France" as a "Région"
The way Leboncoin.fr handles "Toute la France" is weird, but the value is "ile_de_france/occasions"
2016-09-23 19:38:36 +02:00
Pierre Mazière
b3a36a2697 [GithubIssueBridge] add issue events to the feed
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-23 14:15:07 +02:00
Pierre Mazière
957ae5d379 [GithubIssueBridge] fix comments page cache duration
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-21 18:17:58 +02:00
Pierre Mazière
0eeb511676 add LegifranceJOBridge
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-20 18:11:09 +02:00
Pierre Mazière
691d4ad0ee [SexActuBridge] remove useless code
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-20 18:00:00 +02:00
Pierre Mazière
120247256d [GithubIssueBridge] fix entities in titles
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-20 00:21:42 +02:00
Pierre Mazière
19a4880c86 [GithubIssueBridge] return comments for all issues
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-19 23:52:44 +02:00
logmanoriginal
ec3824e284 [bridges] Remove compatible WordPress bridges
The WordPressBridge should be used for all those sites
2016-09-17 20:57:33 +02:00
logmanoriginal
2331c4fbab Merge branch 'bridges2feeds' of https://framagit.org/peetah/rss-bridge 2016-09-17 20:34:12 +02:00
logmanoriginal
c5e7a18c5e Merge branch 'fixIndividualBridges' of https://framagit.org/peetah/rss-bridge 2016-09-17 20:17:58 +02:00
logmanoriginal
c3a1cbe98a [Pinterest] Add implementation for user/board
The data is no longer provided in HTML upon request,
but rather encoded as JSON in a SCRIPT section and
decoded via Javascript on the client side. The bridge
now decodes the data and returns valid feeds again.
2016-09-17 20:10:00 +02:00
Pierre Mazière
7ae64fcd05 [ZoneTelechargementBridge] fix feed url
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:42 +02:00
Pierre Mazière
294d89bd36 [SexactuBridge] add Bridge suffix to class name
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:42 +02:00
Pierre Mazière
3fa965cf3c [FierPandaBridge] fix title extraction
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:42 +02:00
Pierre Mazière
10ac808580 [WordPressBridge] remove useless code and fix description
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
3f64d2d65a [bridges] make them WordPressBridge derivatives
The specific content filtering used in these bridges will need to
be reintegrated later as part of the bridge or as part of the
WordPressBridge if they are considered generic enough filters,
such as the already existing WordPressBridge <script> removal filter.

Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00
Pierre Mazière
43ac961284 [WordPressBridge] add another case of content extraction
Signed-off-by: Pierre Mazière <pierre.maziere@gmx.com>
2016-09-17 19:37:39 +02:00