Post Reply

[App][2.2+] Short URL Resolver

OP julianjm

28th January 2014, 09:09 AM   |  #21  
OP Member
Flag Fuerteventura
Thanks Meter: 60
 
75 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by SkUrRiEr

Hi,

Excellent app!

Just so you know: Feedly shortens URLs under some circumstances.

It gives a you URL like this:

feedly (dot) com/e/lTWp53yG (I'm new so no URLs for me!)

which redirects to some random Techdirt article.

Would it be possible to add support for those too?


Feedly also uses those shortened URLs when sharing articles. I have no idea how Android's sharing infrastructure works, but it'd be nice to be able to "share" them with your app so they could get de-crappified. (Yeah, this would add some steps to the sharing process, but I'd rather go through a few more steps than share obfuscated URLs.)

Hi... That's some interesting feature: When you share an url with your favourite application, if it happens to be a supported short url, Short URL Resolver could advertise itself with the text "Share long url" or something... after the url is resolved, the share intent is relaunched with the long url.

What do you think? I have to check if it can be practically done.

Regarding feed(dot)ly/e/* i'll try add support for in in the next version, although a bit more work is needed. Check the redirects for your url:
1) http://feedly (dot) com/e/lTWp53yG
2) http://feedproxy (dot) google (dot) com/~r/techdirt/feed/~3/52W0A3UZKC8/story01.htm
3) http://techdirt (dot) feedsportal (dot) com/c/35345/f/661541/s/35aeba21/sc/4/l/0L(blablabla)/story01.htm?utm_source=feedburner&utm_medium=feed& utm_campaign=Feed%3A+techdirt%2Ffeed+%28Techdirt%2 9
4) http://www (dot) techdirt (dot) com/articles/20131220/00300825645/when-you-give-doctors-incentives-to-get-it-right-rather-than-to-do-everything-people-get-better-care-less.shtml

Julian.
28th January 2014, 11:10 PM   |  #22  
Junior Member
Thanks Meter: 1
 
4 posts
Join Date:Joined: Jul 2013
More
Quote:
Originally Posted by julianjm

Hi... That's some interesting feature: When you share an url with your favourite application, if it happens to be a supported short url, Short URL Resolver could advertise itself with the text "Share long url" or something... after the url is resolved, the share intent is relaunched with the long url.

What do you think? I have to check if it can be practically done.

I'd rather do three steps to share a long URL than one step to share a short one, so that's exactly what I was thinking.

Quote:
Originally Posted by julianjm

Regarding feed(dot)ly/e/* i'll try add support for in in the next version, although a bit more work is needed. Check the redirects for your url:
1) <http>feedly (dot) com/e/lTWp53yG
2) <http>feedproxy (dot) google (dot) com/~r/techdirt/feed/~3/52W0A3UZKC8/story01.htm
3) <http>techdirt (dot) feedsportal (dot) com/c/35345/f/661541/s/35aeba21/sc/4/l/0L(blablabla)/story01.htm?utm_source=feedburner&utm_medium=feed& utm_campaign=Feed%3A+techdirt%2Ffeed+%28Techdirt%2 9
4) <http>www (dot) techdirt (dot) com/articles/20131220/00300825645/when-you-give-doctors-incentives-to-get-it-right-rather-than-to-do-everything-people-get-better-care-less.shtml

I probably chose a bad example: That link is Feedly's short version of a link from an RSS feed, and, like most of them, it uses feedproxy for stuff. It also looks like Techdirt uses another portal of it's own before redirecting to the article in question. To be quite honest, I'd be more than happy if just the first level of redirect was stripped, but it's really up to you.
29th January 2014, 04:59 AM   |  #23  
DLAddict's Avatar
Senior Member
Flag Cebu
Thanks Meter: 16
 
209 posts
Join Date:Joined: Sep 2011
More
Would this work with shortened links in Twitter apps like TweetCaster Pro?
29th January 2014, 07:11 AM   |  #24  
OP Member
Flag Fuerteventura
Thanks Meter: 60
 
75 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by DLAddict

Would this work with shortened links in Twitter apps like TweetCaster Pro?

It should work with any app that tries to open supported short URLs.

Enviado desde mi Nexus 4 mediante Tapatalk
10th February 2014, 08:51 AM   |  #25  
Walter.White's Avatar
Senior Member
Thanks Meter: 1,306
 
923 posts
Join Date:Joined: Nov 2013
Donate to Me
It's works perfectly for slickdeals but I just realized that it uses two more redirecting url... Can you add support for it please?

http://click.linksynergy.com/fs-bin/...No%253D8895247

http://redirectingat.com/rewrite.php...%3D27917328298


Support you added earlier for the below url works great.

http://www.jdoqocy.com/click-1225267...p-02646642000P
Last edited by Walter.White; 10th February 2014 at 08:55 AM.
10th February 2014, 08:05 PM   |  #26  
OP Member
Flag Fuerteventura
Thanks Meter: 60
 
75 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by Walter.White

It's works perfectly for slickdeals but I just realized that it uses two more redirecting url... Can you add support for it please?

http://click.linksynergy.com/fs-bin/...No%253D8895247

http://redirectingat.com/rewrite.php...%3D27917328298

Hi... check this beta version:
https://dl.dropboxusercontent.com/u/..._1017Beta1.apk

Julian.
18th February 2014, 08:57 AM   |  #27  
Walter.White's Avatar
Senior Member
Thanks Meter: 1,306
 
923 posts
Join Date:Joined: Nov 2013
Donate to Me
Quote:
Originally Posted by julianjm

Hi... check this beta version:
https://dl.dropboxusercontent.com/u/..._1017Beta1.apk

Julian.

Sorry for the late reply. As far as i can tell it works for link synergy.com but when i tried resolving the following url it said "error resolving"

http://redirectingat.com/rewrite.php...utlet-specials

Interestingly enough the beta apk you posted can't resolve the following url but apk currently in the app store can do it just fine. Weird. I get the same error as above

http://www.jdoqocy.com/click-1225267...82E16811112300
Last edited by Walter.White; 18th February 2014 at 09:25 AM.
18th February 2014, 10:47 AM   |  #28  
OP Member
Flag Fuerteventura
Thanks Meter: 60
 
75 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by Walter.White

Sorry for the late reply. As far as i can tell it works for link synergy.com but when i tried resolving the following url it said "error resolving"

http://redirectingat.com/rewrite.php...utlet-specials

Interestingly enough the beta apk you posted can't resolve the following url but apk currently in the app store can do it just fine. Weird. I get the same error as above

http://www.jdoqocy.com/click-1225267...82E16811112300

The first link you posted works fine here... The second fails, but I think it's because Tapatalk replaces some parts of the URL with Smilies...
-_- <-- (dash, underscore, dash) Anyway, I changed the unmask process, and now it works (even the actual URL contains <img src=..." in it)

Please download the beta on this link: https://dl.dropboxusercontent.com/u/..._1017Beta2.apk

I've been refactoring the code, programing a generic library for expanding/unmasking different services... Some things might break. I'll have them sorted out before updating the play store version

Thanks for your help,
Julian.
10th March 2014, 10:14 PM   |  #29  
OP Member
Flag Fuerteventura
Thanks Meter: 60
 
75 posts
Join Date:Joined: Aug 2010
More
I'm about to upload a new version to the Play Store... Can you test it and report any problem you see?

Chagelog for 1.0.17 Beta 4:
  • Add hidden mode for background resolving (no progress dialog)
  • Removed some animations on open and launch.
  • Internal changes to ease adding more services. Email me if you want support for new services.
  • Added click.linksynergy.com and redirectingat.com services

You can get the APK here. It's signed with the same key, so it should update your current version just fine:
https://dl.dropboxusercontent.com/u/..._1017Beta4.apk

Thanks!
The Following 2 Users Say Thank You to julianjm For This Useful Post: [ View ]
4th June 2014, 05:06 PM   |  #30  
OP Member
Flag Fuerteventura
Thanks Meter: 60
 
75 posts
Join Date:Joined: Aug 2010
More
Just uploaded version 1.0.18:
* Fixed tapatalk links that broke on a recent update
* Support for buff.ly

Julian.

The Following User Says Thank You to julianjm For This Useful Post: [ View ]
Post Reply Subscribe to Thread

Tags
short urls
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Top Threads in Android Apps and Games by ThreadRank