Commit Graph

12 Commits

Author SHA1 Message Date
Michael Bemmerl 6d4155f995
[GithubTrendingBridge] Fix bridge: not all languages worked (#1615)
* [GithubTrendingBridge] Fix bridge: not all languages worked

Languages with more than one word (like "Common Lisp") were not working. Looks like GitHub changed the parameter format: white space is encoded with dashes.

This prompted me to update all languages while I was at it. This also fixed the bug that the C# & F# languages were not working, because the # has to be URL encoded, which is now done in the parameter value. The language "Ren'Py" was commented out. Probably because the single quote was not escaped? I also fixed that.

* [GithubTrendingBridge] Fix PHP notice.

A repo owner can leave the repo description empty, which means the HTML element isn't there. In this case the code produced a PHP notice. This is fixed by checking for null.

* Changed getName() to retrieve the language name directly from the PARAMETERS.

Co-authored-by: dag <me@dvikan.no>
2022-03-29 20:15:18 +02:00
Bocki 1a8d0babd1
[Multiple] Fix all exampleValues and required variables (#2296) 2022-03-24 11:59:34 +01:00
dag e8db2479b5
[GithubTrendingBridge] fix: the description selector was broken (#2513) 2022-03-22 20:41:59 +01:00
Eugene Molotov 37cb4091d4
bridges: remove redundant "or returnServerError" after getContents/getSimpleHTMLDom/getSimpleHTMLDomCached (#2398)
When fetching website contents, exceptions already raise on fetching error
2022-01-02 14:36:09 +05:00
Kirill Kotikov fbfc82b0b7
Revert feed title 2020-03-26 21:37:19 +03:00
Kirill Kotikov f2de5aecc7
Change feed title 2020-03-24 19:07:23 +03:00
Kirill Kotikov 0fd7021030
Change cache time to 24hr (daily update time) 2020-03-23 10:35:02 +03:00
Kirill Kotikov 3ec32bb6c2
Fix title if language not set 2020-03-22 21:43:37 +03:00
Kirill Kotikov ec7ef8f502
Update GithubTrendingBridge.php 2020-03-21 05:07:38 +03:00
Kirill Kotikov 7b73f3217f
Fix page request 2020-03-21 05:01:45 +03:00
Kirill Kotikov 7c71377af0
Add additional languages + fix issues 2020-03-20 16:34:42 +03:00
Kirill Kotikov c2559ff71f
Add sdfsf 2020-03-16 19:25:28 +03:00