Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

custom url shortener #1

Open
hsleewis opened this issue Jan 12, 2013 · 8 comments
Open

custom url shortener #1

hsleewis opened this issue Jan 12, 2013 · 8 comments

Comments

@hsleewis
Copy link

No description provided.

@orditeck
Copy link

+1

@anthonysomerset
Copy link
Collaborator

have you any specific shorteners in mind?

@riconeitzel
Copy link

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! :)

@tobiastom
Copy link

+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.

@javache
Copy link

javache commented Aug 17, 2013

As apparently sht.tl is down, I think having a way to use an alternative shortener has its merits...

@orditeck
Copy link

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

@anthonysomerset
Copy link
Collaborator

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//issues/1#issuecomment-23346671
.

@orditeck
Copy link

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!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants