Last week I was confused by the itms-services.This protocol is use by IOS devices to install APPs.
In my website the link if use HTML format is like:
<a href="itms-services://?action=download-manifest&url=http://www.mywebsitename.com/appdown/CESBGM.plist" class="STYLE17">BGM Install</a>
At beginning I have no idea about it. And I add a Link field(Link Module), copy the string to the field
the string:
itms-services://?action=download-manifest&url=http://www.mywebsitename.com/appdown/CESBGM.plist
This didn't work, the URL becomes something like: http:...............
Later I installed the filter_protocol Module(filter_protocols),which allow to add protocols like Skype:... but the itms-services can not be added.I was very upset. I googled it for a long time,and find a solution: add new link protocal,i added the following code to the settings.php file.
$conf = array('filter_allowed_protocols' => array('itms-services','http', 'https', 'ftp', 'news', 'nntp', 'telnet','mailto', 'irc', 'ssh', 'sftp', 'webcal', 'mms', 'rstp'));
It works,I mean the itms-services protocol was added. I am happy,cheers! but I am early to celebrate it.
this time I cope the string into the link field again. but the APPs cannot install.
I find that the url is not correct:
the correct is like:itms-services://?action=download-manifest&url=http://www.mywebsitename.com/appdown/CESBGM.plist
but in my sites i see the URL in chrome or safari like: itms-services://?action=download-manifest&url=http%3A//www.mywebsitename.com/appdown/CESBGM.plist
you can find the diff(http:// becomes http%3A ) , I really don't know what to do now???
