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
..
2018-11-05 12:55:58 +01:00
2018-12-26 21:58:07 +01:00
2019-06-23 09:21:00 +02:00
2019-10-16 21:34:28 +02:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2017-02-12 15:34:08 +01:00
2019-10-16 21:34:28 +02:00
2019-10-16 21:34:28 +02:00
2017-07-29 19:55:12 +02:00
2019-10-16 21:34:28 +02:00
2017-02-12 15:34:08 +01:00