Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Apple Devices

Notices

Reply
 
Thread Tools Search this Thread
Old 02-05-2017, 12:08 AM   #1
cedhax
Addict
cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 1546488
Join Date: Jan 2016
Device: ipad
URL schemes of iOS apps

In general, an iOS app can open another iOS app by its URL scheme, if exists, and asks it to perform various actions through its parameters. For example, a reader app (MapleRead, Marvin, etc.) may thus open a dictionary app with the word to be looked up. Or perhaps you want to look up the map of a place you read in a book. As http is also a scheme implying a web browser app, you may also specify a website URL instead. This is clearly very useful and easy to do, as long as you know the URL schemes with parameters.

While it is relatively easy to find out the parameters when the URL scheme is http or https, it is not easy to find them out otherwise, after I did some search today. There used to be a site, handleopenurl.com, maintaining a list of URL schemes of iOS apps. Unfortunately, the site was long dead. I'm wondering if anyone here is aware of another active site of this kind.

I'm expecting a list that looks like the following.

App Name -- URL Scheme
Google Maps -- comgooglemaps://?q=hawaii -- see also ref

Any other data point? Please post yours here.

Let's try to collect the data here. The data collected here should be "forever" around, not like what happened to handleopenurl.com.

----
P.S. Someone asked a similar question in another mobileread thread more than 3 years ago, and there really isn't much up-to-date information there IMHO.
cedhax is offline   Reply With Quote
Old 02-05-2017, 06:27 AM   #2
svenlind
Fanatic
svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.
 
svenlind's Avatar
 
Posts: 502
Karma: 10488899
Join Date: Apr 2010
Location: Denmark
Device: Oasis 3, Kobo Sage and Libra 2,Ipad mini 5
Quote:
Originally Posted by cedhax View Post
Let's try to collect the data here. The data collected here should be "forever" around, not like what happened to handleopenurl.com.
An excellent idea.

Allow me to give an example of what you label relatively easy:

App Name -- URL Scheme

Google Translate--https://translate.google.com/#en/da/{word}

How did I find this?

Go to https://translate.google.com/

Then select your languages of interest. I chose English -> Danish
Then enter a word, say horse.
Observe the URL it will show : https://translate.google.com/#en/da/horse

Your URL Scheme will now be: https://translate.google.com/#en/da/{word}

In Marvin use {text} instead of {word}
svenlind is offline   Reply With Quote
Old 02-05-2017, 07:09 AM   #3
gabaldini
Enthusiast
gabaldini has learned how to buy an e-book online
 
Posts: 31
Karma: 80
Join Date: Jan 2015
Device: kindle paperwhite
The free dictionary thefreedictionary://search/{word}
Dictbox Dictbox://{word}
dictbox deutsch dictboxde://{word}
dictbox french dictboxfr://{word}
v-for-wiki v-for-wiki://search/_/{word}
wikipedia wikipedia://en.wikipedia.org/wiki/{word}
Latin perseus digital http://www.perseus.tufts.edu/hopper/morph?l={word}&la=la

I'm trying to find the url of yandextranslate , with yandextranslate://es/{word}
only open the app.
it is easy to find the url scheme of an app in the ipa file, but is harder to find the parameters,some apps dont admit parameters ,so it is a great idea

Last edited by gabaldini; 02-05-2017 at 07:31 AM.
gabaldini is offline   Reply With Quote
Old 02-05-2017, 09:53 AM   #4
jswinden
Nameless Being
 
You should probably create a Wiki page for this. MobileRead has a limited number of people but Wiki would be open to everyone. Bigger audience equals bigger response. Even if they make this into a sticky thread, it will wither on the vine at some point. MR has a lot of long outdated sticky threads.
  Reply With Quote
Old 02-06-2017, 03:31 AM   #5
bookwormboy
Junior Member
bookwormboy began at the beginning.
 
Posts: 6
Karma: 10
Join Date: Jun 2016
Device: none
Merriam-Webster Dictionary -- mw-collegiate:
(Not sure about the parameters)
Twitter -- twitter://post?message={word}

Last edited by bookwormboy; 02-06-2017 at 04:41 PM.
bookwormboy is offline   Reply With Quote
Old 02-06-2017, 04:55 AM   #6
svenlind
Fanatic
svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.svenlind ought to be getting tired of karma fortunes by now.
 
svenlind's Avatar
 
Posts: 502
Karma: 10488899
Join Date: Apr 2010
Location: Denmark
Device: Oasis 3, Kobo Sage and Libra 2,Ipad mini 5
App Name -- URL Scheme

iTranslate -- itranslate://translate?from=auto&to=da&text={text}

Use {word} instead of {text} in MapleReader
The shown command will translate to Danish use to=en for English.

I have tried the free version of iTranslate, it has some quite aggressive commercials. In the paid version it is possible to have offline dictionaries for some language pairs.
svenlind is offline   Reply With Quote
Old 02-10-2017, 12:17 AM   #7
cedhax
Addict
cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 1546488
Join Date: Jan 2016
Device: ipad
App Name -- URL Scheme

To open an http URL with the browser app Google Chrome instead of Safari, replace http by googlechrome, e.g.
Google Chrome -- googlechrome://en.wikipedia.org/wiki/{text}

Similarly, for https replacement, e.g.
Google Chrome -- googlechromes://en.wikipedia.org/wiki/{text}

Last edited by cedhax; 02-27-2017 at 01:15 AM.
cedhax is offline   Reply With Quote
Old 02-21-2017, 12:59 AM   #8
cedhax
Addict
cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 1546488
Join Date: Jan 2016
Device: ipad
App Name -- URL Scheme

To open an http URL with the browser app Firefox instead of Safari, append
"firefox://open-url?url=" to the original URL, e.g.

firefox://open-url?url=http://en.wikipedia.org/wiki/{text}
firefox://open-url?url=https://www.google.com/search?q={text}

P.S. MapleRead (1.6.5) now uses "{text}" instead of "{word}".

Last edited by cedhax; 02-27-2017 at 01:18 AM.
cedhax is offline   Reply With Quote
Old 03-04-2017, 09:08 PM   #9
cedhax
Addict
cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.cedhax ought to be getting tired of karma fortunes by now.
 
Posts: 281
Karma: 1546488
Join Date: Jan 2016
Device: ipad
Quote:
Originally Posted by gabaldini View Post
...
it is easy to find the url scheme of an app in the ipa file, but is harder to find the parameters,some apps dont admit parameters ,so it is a great idea
The new option Implicit Copy in the More menu of MapleRead is definitely helpful when the external app has only a known URL scheme but unknown parameters.

Quote:
Originally Posted by bookwormboy View Post
Merriam-Webster Dictionary -- mw-collegiate:
(Not sure about the parameters)
...
For example, just enter "mw-collegiate://{text}".

As quoted from a FAQ:
Quote:
For example, the URL scheme (or one of the URL schemes) of “Merriam-Webster Dictionary” app is “mw-collegiate”, but its proper URL is unknown. To work around the syntax check, enter mw-collegiate://{text}. The catch is that you will then have to manually paste the text into some search bar of the dictionary app when opened. Remember to turn on Implicit Copy in the More menu, so that the selected text is automatically copied to the shared system pasteboard as a side effect of executing such command.
cedhax is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use links in Calibre comments with custom URL schemes (e.g., DEVONthink) on Mac OS X Januz Calibre 2 01-26-2014 06:07 PM
URL Schemes to launch Marvin kguil Marvin 2 12-23-2013 02:30 AM
URL schemes for custom menu buttons — share yours holymadness Marvin 14 09-27-2013 11:00 AM
Android and iOS apps brudigia Kobo Reader 2 08-03-2012 02:28 PM
Big sale on iOS apps by EA tyche Apple Devices 16 12-23-2010 09:40 AM


All times are GMT -4. The time now is 04:20 AM.


MobileRead.com is a privately owned, operated and funded community.