我是靠谱客的博主 过时导师,最近开发中收集的这篇文章主要介绍App Store 短连接Creating easy-to-read short links to the App Store for your apps and company,觉得挺不错的,现在分享给大家,希望可以做个参考。

概述

2019独角兽企业重金招聘Python工程师标准>>> hot3.png

https://developer.apple.com/library/ios/qa/qa1633/_index.html


Technical Q&A QA1633

Creating easy-to-read short links to the App Store for your apps and company

Q:  How can I create easy-to-read short links to the App Store for my apps and company?

A: The iTunes and App Store apps generate URLs for all apps and companies available in the App Store and Mac App Store by clicking the disclosure triangle next to the app's price (or by right-clicking/control-clicking the app icon) and selecting "Copy link", or by using iTunes Link Maker. These URLs look similar to Listing 1.

Listing 1  Standard App Store Links.

https://itunes.apple.com/us/app/keynote/id361285480?mt=8

These URLs are great for linking to your app or company page in the App Store or Mac App Store from your website or inside your app, or anywhere you don't need to type or speak the URL. As a rule, always use these standard links when driving users to your app from your digital marketing communications.


Important: If you're using itunes.apple.com URLs in your app, see Launching the App Store from an iPhone application for important information.

You can also create easy-to-read links to your app using App Store Short Links, which use the AppStore.com base URL plus a specific form of your app or company name. These short links are ideal for use in offline communications materials like print ads, TV spots, app trailers, radio ads and billboards where you need a memorable URL.

Note: Previously, short links were available using the itunes.com URL. AppStore.com replaces itunes.com. iTunes.com links will continue to work but should be updated as soon as feasible.

There are three types of App Store Short Links, in two forms, one for iOS apps, another for Mac Apps:

Company Name

  • iOS: http://appstore.com/<companyname> for example, http://appstore.com/apple

  • Mac: http://appstore.com/mac/<companyname> for example, http://appstore.com/mac/apple

App Name

  • iOS: http://appstore.com/<appname> for example, http://appstore.com/keynote

  • Mac: http://appstore.com/mac/<appname> for example, http://appstore.com/mac/keynote

App by Company

  • iOS: http://appstore.com/<companyname>/<appname> for example, http://appstore.com/apple/keynote

  • Mac: http://appstore.com/mac/<companyname>/<appname> for example, http://appstore.com/mac/apple/keynote

Most companies and apps have a canonical App Store Short Link. This canonical URL is created by changing or removing certain characters (many of which are illegal or have special meaning in a URL (for example, "&")).

To create an App Store Short Link, apply the following rules to your company or app name:

  • Remove all whitespace

  • Convert all characters to lower-case

  • Remove all copyright (&copy;), trademark (™) and registered mark (&reg;) symbols

  • Replace ampersands ("&") with "and"

  • Remove most punctuation (See Listing 2 for the set)

  • Replace accented and other "decorated" characters (&uuml;, &aring;, etc.) with their elemental character (u, a, etc.)

  • Leave all other characters as-is.


Listing 2  Punctuation characters that must be removed.

!&iexcl;"#$%'()*+,-./:;<=>&iquest;?@[]^_`{|}~

Below are some examples to demonstrate the conversion that takes place.

App Store

Company Name examples

  • Gameloft => http://appstore.com/gameloft

  • Activision Publishing, Inc. => http://appstore.com/activisionpublishinginc

  • Chen's Photography & Software => http://appstore.com/chensphotographyandsoftware

App Name examples

  • Ocarina => http://appstore.com/ocarina

  • Where’s My Perry? => http://appstore.com/wheresmyperry

  • Brain Challenge™ => http://appstore.com/brainchallenge

Mac App Store

Company Name examples

  • PopCap => http://appstore.com/mac/popcap

  • Autodesk Inc. => http://appstore.com/mac/autodeskinc

  • Chen's Photography & Software => http://appstore.com/chensphotographyandsoftware

App Name examples

  • Pixelmator => http://appstore.com/mac/pixelmator

  • Human Japanese => http://appstore.com/mac/humanjapanese

  • F1 2012™ => http://appstore.com/mac/f12012

All URLs are accessible worldwide and will direct the customer to their respective country's App Store. Because of the possibility of name conflicts or other errors, URLs which have multiple results, for example <http://appstore.com/airhockey>, will return a search page. Using unique names for your apps will help prevent this.

If you experience incorrect results (for example, a URL which doesn't go where you expect it would) or if there are characters you would like to see removed or changed, please file a bug report via <http://developer.apple.com/bugreporter> with the following information:

  • Full current or desired URL, for example, http://appstore.com/mysuperapp

  • Applicable countries

  • The iTunes-generated URL to the desired landing page, which you get by clicking the disclosure triangle next to the app's price (or by right-clicking/control-clicking the app icon) and selecting "Copy link" (for example, http://itunes.apple.com/us/app...)

These App Store Short Links are provided as a convenience and are not guaranteed to link to a particular app or company. Be sure to test your URLs before using them in any marketing or other public materials. If there are naming conflicts, continue using the standard itunes.apple.com URLs, which contain a unique numerical identifier within the URL.





转载于:https://my.oschina.net/robslove/blog/269172

最后

以上就是过时导师为你收集整理的App Store 短连接Creating easy-to-read short links to the App Store for your apps and company的全部内容,希望文章能够帮你解决App Store 短连接Creating easy-to-read short links to the App Store for your apps and company所遇到的程序开发问题。

如果觉得靠谱客网站的内容还不错,欢迎将靠谱客网站推荐给程序员好友。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(33)

评论列表共有 0 条评论

立即
投稿
返回
顶部