News:

Support for jDownloads 3 has been ended
Since 17 August 2023 Joomla.org has discontinued support for Joomla 3.x. Therefore, we will no longer offer official support for our Joomla 3 jDownloads version 3.9.x from January 2024.
Please update your website to the latest Joomla version (Joomla 4 or Joomla 5) as soon as possible. Afterwards, please update jDownloads to the latest published version. The longer you delay, the more difficult the upgrade process for your website is likely to be.

Main Menu
Support-Forum

URL shortener option

Started by debugger, 23.04.2022 09:05:46

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

debugger

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
  •  

ColinM

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
Colin M
  •  

debugger

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
  •  

ColinM

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
Colin M
  •