Open hsleewis opened 11 years ago
have you any specific shorteners in mind?
Yes, my own yourls for example :-)
So all I need i.e. is the following:
API-URL with Placeholder to put the shuttled URL Fetch the return value and copy that into pasteboard.
Best, Rico
btw: welcome on board :-) thanks for your time, energy and ideas! :)
+1 on this one.
Having a custom URL would be excellent. Maybe for now it would be the easiest to open source http://sht.tl/api.php, which we could install ourselves them.
Having some customized option with placeholders and so on would be even better. If this is an option, I would propose an URL field with a {url}
placeholder. This would send an POST
request to the URL and watch for the location header from the HTTP response.
As apparently sht.tl is down, I think having a way to use an alternative shortener has its merits...
I edited MVURLShortener.m to use the service http://is.gd
You can download the fixed app here if you wish: http://is.gd/9eTkJx
I commited the changes in my fork. You can see the source here: https://github.com/orditeck/fileshuttle/commit/91a8e2f2026edd3faec51ff85644549cb82be09d
Can you send the edited file? Will look to create a few options with this
Anthony Somerset
Please excuse the brevity or any typos, tapped out from my iPhone
On 27 Aug 2013, at 17:46, orditeck notifications@github.com wrote:
I edited MVURLShortener.m to use the service http://is.gd
You can download the fixed app here if you wish: http://is.gd/9eTkJx
— Reply to this email directly or view it on GitHubhttps://github.com/michaelvillar/fileshuttle/issues/1#issuecomment-23346671 .
Yep, I edited my previous comment 10 min after sending it to include the sources:
https://github.com/orditeck/fileshuttle/commit/91a8e2f2026edd3faec51ff85644549cb82be09d
Thanks for putting some options in the public release!!
+1