jDownloads Support Forum

jDownloads for Joomla 3.x => jDownloads 3.9 (Support ended) => Suggestions - Feature Request => Topic started by: debugger on 23.04.2022 09:05:46

Title: URL shortener option
Post by: debugger on 23.04.2022 09:05:46
Hi,
I would like to request a feature

There are many URL Shortener service
That provide management, analysis and income
These sites support API that that look like

I Suggest that a new option(plugin) is added to the JD that takes the API and apply on external download link

Example of API:
https://shrinkearn.com/api?api=95e4601e9c24e3a7171619252b053ac38053c174&url=yourdestinationlink.com

JSON response
{"status":"success","shortenedUrl":""https:\/\/shrinkearn.com\/xxxxx""}

API in PHP
$long_url = urlencode('yourdestinationlink.com');
$api_token = '95e4601e9c24e3a7171619252b053ac38053c174';
$api_url = "https://shrinkearn.com/api?api={$api_token}&url={$long_url}&alias=CustomAlias";
$result = @json_decode(file_get_contents($api_url),TRUE);
if($result["status"] === 'error') {
?echo $result["message"];
} else {
?echo $result["shortenedUrl"];
}


A few examples of URL shortener

https://bitly.com
https://tinyurl.com
https://cutt.ly
https://short.io
https://www.shorturl.at
https://sniply.io
https://www.rebrandly.com
https://www.bl.ink
https://ow.ly
https://is.gd
https://buffer.com
https://bit.do
https://www.golinks.io
https://t2mio.com
https://www.lnnkin.com
http://lnkiy.com
https://www.pixelme.me
https://recut.in
https://joturl.com
https://www.clickmeter.com
https://tinycc.com
https://tiny.ie
https://yourls.org
http://bin.wf
https://dik.si
https://t.ly
https://tinu.be
https://lstu.fr
https://shlink.io
https://anchr.io
https://kutt.it


A few examples of URL shortener with income

https://adf.ly
https://shrinkearn.com
https://shorte.st
https://ouo.io
https://al.ly
https://clik.pw
https://shrtfly.com
https://clk.sh
https://cutwin.com
https://short.am
https://linkvertise.com
https://www.getsurl.com
https://gplinks.in
https://cpmlink.net
https://bc.vc
https://za.gl
http://ity.im
https://tize.io
Title: Re: URL shortener option
Post by: ColinM on 23.04.2022 11:17:51
Hi
Thanks for suggestion.  For menu items our top priority is to get them as SEF
A useful Joomla! extension is Direct Alias from AlterBrains (there is a professional and a free version bothe are Joomla! 3 and 4 compliant)

Colin
Title: Re: URL shortener option
Post by: debugger on 23.04.2022 13:11:57
Quote from: ColinM on 23.04.2022 11:17:51
Hi
Thanks for suggestion.  For menu items our top priority is to get them as SEF
A useful Joomla! extension is Direct Alias from AlterBrains (there is a professional and a free version bothe are Joomla! 3 and 4 compliant)

Colin
Hi Colin,

I do not see the connection between my suggestion and your answer
Pay attention to the attached photo

Best Regards
Title: Re: URL shortener option
Post by: ColinM on 23.04.2022 16:48:38
Hi
It would seem that perhaps I do not understand your request :(

We are not particularly interested in
QuoteThere are many URL Shortener service
That provide management, analysis and income
These sites support API that that look like

But we are interested in having SEF URLs
So how would it help there?

Colin