Skip to content

Instantly share code, notes, and snippets.

@ttamna
Forked from jk/extract_schemes.php
Created January 17, 2017 01:27
Show Gist options
  • Save ttamna/06068cd741ad4fa7a3aea6ea55581645 to your computer and use it in GitHub Desktop.
Save ttamna/06068cd741ad4fa7a3aea6ea55581645 to your computer and use it in GitHub Desktop.
iOS URL schemes extracted from http://wiki.akosma.com/IPhone_URL_Schemes
<?php
$content = file_get_contents("http://wiki.akosma.com/IPhone_URL_Schemes");
preg_match_all('/(\w+):\/\//', $content, $matches, PREG_SET_ORDER);
$tmpSchemes = [];
foreach ($matches as $match) {
$tmpSchemes[$match[1]] = true;
}
$schemes = [];
$blacklist = ['http', 'https', 'feed', 'maps'];
foreach ($tmpSchemes as $key => $value) {
if (!in_array($key, $blacklist)) {
$schemes[] = $key;
}
}
sort($schemes);
foreach ($schemes as $scheme) {
echo $scheme.PHP_EOL;
}
?>
Bookmarkers
BookmarkersPro
airsharing
alocola
amb
appigonotebook
appigotodo
bookpedia
books
bookss
callrec
cartographer
ccterminal
cdpedia
cheapcalls
checkit
cobitools
comgoogleearth
dailymotion
duoxx
dvdpedia
eureka
explorimmo
exposure
fb
gamepedia
gcbuddy
geopherlite
googlechrome
ibooks
imagedata
imdb
inrixtraffic
irc
itranslate
junospulse
keyboard
loanplan
localch
navigon
notitas
oftp
ohttp
ohttps
pic2shop
pinit12
portscan
purecalc
reserve
roundtuit
seesmic
ships2
surfboard
terminology
threadnote
tikisurf
timelog
timer
tomtomhome
tweetbot
tweetie
twit
twitter
twitterfon
twitterfonpro
twitterrific
unfragment
wavittabularasa
wavitxxx
waze
whereto
wikiamo
wikipedia
wpp
yummy
zentap
zentappro
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment