raumfish / rutorrent

Automatically exported from code.google.com/p/rutorrent
0 stars 0 forks source link

Patch for /trunk/plugins/extsearch/engines/Torrent411.php #925

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
+ correct no result found string search
+ replacing rawurlencode to urlencode for T411 search parameter (thx to 
foray.jerome)
+ beautifulize categories name in response

Original issue reported on code.google.com by l.grous...@gmail.com on 9 Jul 2014 at 1:01

Attachments:

GoogleCodeExporter commented 9 years ago
+ correct no result found string search

What server returns really? 'é' or 'é' or native letter in phrase "Aucun 
Résultat Aucun"?
I can check this, because right now this site is down.

+ beautifulize categories name in response

function ucwords doesn't support UTF.

Original comment by novik65 on 14 Jul 2014 at 11:05

GoogleCodeExporter commented 9 years ago
you can replace ucwords with this :

$item["cat"] = mb_convert_case(str_replace("-", " ", 
self::toUTF(self::removeTags($matches["cat"][$i]),"ISO-8859-1")), 
MB_CASE_TITLE, "UTF-8");

Original comment by l.grous...@gmail.com on 18 Jul 2014 at 1:44

GoogleCodeExporter commented 9 years ago
For example, user doesn't install extension mb_string. What next? 
Sorry, but, IMHO, this change is unusable.

Original comment by novik65 on 19 Jul 2014 at 8:03