Google Play应用描述格式

本文翻译自:Google Play app description formatting

I've made an Android application that is available on Google Play. 我制作了一个可在Google Play上使用的Android应用程序。 Now I want to add some more formatting to my app description (eg. indent, links, lists..). 现在,我想在我的应用程序说明中添加更多格式(例如,缩进,链接,列表..)。 But I cannot find any website where possible formatting is listed. 但是我找不到列出可能的格式的任何网站。 Google Help pages cannot help me either on this subject. Google帮助页面在这个问题上也无法帮助我。 There exists a lot of different formats and I don't really know which one to use (eg. HTML or wiki formatting..) 存在许多不同的格式,我真的不知道要使用哪种格式(例如HTML或Wiki格式。)

I could test it with trial and error, but that would take some time, because Google Play only refreshes after 2-3 hours. 我可以通过反复试验进行测试,但这会花费一些时间,因为Google Play仅在2-3小时后刷新。 And while I'm testing, my app description would be rather ugly if the wrong format was used. 在测试时,如果使用了错误的格式,则我的应用程序描述将非常难看。

tl;dr Is there a list of all possible formatting I could use in the app description for Google Play? tl; dr是否有我可以在Google Play的应用说明中使用的所有可能格式的列表?


#1楼

参考:https://stackoom.com/question/kS6Z/Google-Play应用描述格式


#2楼

As a matter of fact, HTML character entites also work : http://www.w3.org/TR/html4/sgml/entities.html . 实际上,HTML字符实体也可以使用: http : //www.w3.org/TR/html4/sgml/entities.html

It lets you insert special characters like bullets '•' ( • ), '™' ( ™ ), ... the HTML way. 它使您可以插入特殊字符,例如项目符号'•'( • ),'™'( ™ )... HTML方式。

Note that you can also (and probably should) type special characters directly in the form fields if you can enter international characters. 请注意,如果可以输入国际字符,您也可以(并且应该)直接在表单字段中键入特殊字符。

=> one consideration here is whether or not you care about third-party sites that collect data on your app from Google Play : some might simply take it as HTML content, others might insert it in a native application that just understand plain Unicode... =>这里要考虑的一个问题是,您是否关心第三方网站是否从Google Play收集了您的应用程序中的数据:有些可能只是将其视为HTML内容,有些可能会将其插入仅能理解纯Unicode的本机应用程序中。 。


#3楼

Experimentally, I've discovered that you can provide: 通过实验,我发现您可以提供:

  • Single line breaks are ignored; 单行中断将被忽略; double line breaks open a new paragraph. 双行换行符打开一个新段落。
  • Single line breaks can be enforced by ending a line with two spaces (similar to Markdown). 可以通过以两个空格结束行(类似于Markdown)来强制执行单个换行符。
  • A limited set of HTML tags (optionally nested), specifically: 一组有限的HTML标记(可选地嵌套),具体是:
    • <b>…</b> for boldface, <b>…</b>为黑体字,
    • <i>…</i> for italics, <i>…</i>表示斜体,
    • <u>…</u> for underline, <u>…</u>为下划线,
    • <br /> to enforce a single line break, <br />强制换行,
    • I could not find any way to get strikethrough working (neither HTML or Markdown style). 找不到任何办法让删除线工作(既不HTML或降价的风格)。
  • A fully-formatted URL such as http://google.com ; 完整格式的网址,例如http://google.com this appears as a hyperlink. 这显示为超链接。
    (Beware that trying to use an HTML <a> tag for a custom description does not work and breaks the formatting.) (请注意,尝试对自定义说明使用HTML <a>标记无效,并且会破坏格式。)
  • HTML character entities are supported, such as &rarr; 支持HTML字符实体,例如&rarr; (→), &trade; (→), &trade; (™) and &reg; (™)和&reg; (®); (®); consult this W3 reference for the exhaustive list. 有关详尽列表,请参考此W3参考
  • UTF-8 encoded characters are supported, such as é, €, £, ', ', ★ and ☆. 支持UTF-8编码的字符,例如é,€,£,',',★和☆。
  • Indentation isn't strictly possible, but using a bullet and em space character looks reasonable ( &#8226;&#8195; yields "• "). 严格来说,缩进是不可能的,但是使用项目符号和em空格字符看起来是合理的( &#8226;&#8195;产生“•”)。
  • Emoji are also supported (though on the website depends on the user's OS & browser). 还支持表情符号(尽管网站上取决于用户的操作系统和浏览器)。

Special notes concerning only Google Play app : 关于 Google Play应用的特别说明:

  • Some HTML tags only work in the app: 某些HTML标记仅在应用程序中起作用:
    • <blockquote>…</blockquote> to indent a paragraph of text, <blockquote>…</blockquote>缩进一段文字,
    • <small>…</small> for a slightly smaller text, <small>…</small>用于显示较小的文本,
    • <sup>…</sup> and <sub>…</sub> for super- and subscripts. <sup>…</sup><sub>…</sub>用于上标和下标。
    • <font color="#a32345">…</font> for setting font colors in HEX code. <font color="#a32345">…</font>用于在十六进制代码中设置字体颜色。
  • Some symbols do not appear correctly, such as ‣. 某些符号显示不正确,例如‣。
  • All these notes also apply to the app's "What's New" section. 所有这些注意事项也适用于应用程序的“新增功能”部分。

Special notes concerning only Google Play website : 关于 Google Play网站的特别说明:

  • All HTML formatting appears as plain text in the website's "What's New" section (ie users will see the HTML source). 所有HTML格式均以纯文本形式显示在网站的“新增功能”部分中(即,用户将看到HTML源代码)。

#4楼

Currently (July 2015) , HTML escape sequences ( &bull; &#8226; ) do not work in browser version of Play Store, they're displayed as text. 当前(2015年7月) ,HTML转义序列( &bull; &#8226; Play商店的浏览器版本中不起作用 ,它们显示为文本。 Though, Play Store app handles them as expected. 不过,Play Store应用会按预期处理它们。

So, if you're after the unicode bullet point in your app/update description [that's what's got you here, most likely] , just copy-paste the bullet character 因此,如果您在应用程序/更新描述中的unicode项目符号点之后[很可能就是您在这里得到的] ,只需复制粘贴项目符号字符

PS You can also use unicode input combo to get the character PS您还可以使用unicode输入组合获取字符

Linux: Ctrl Shift u 2022 Enter or Space Linux操作系统: 按Ctrl ü 2022 Enter键空格

Mac: Hold 2022 release 苹果:按住 2022发布

Windows: Hold Alt 2022 release Alt Windows:按住Alt 2022发行Alt

Mac and Windows require some setup, read on Wikipedia Mac和Windows需要进行一些设置,请查阅Wikipedia

PPS If you're feeling creative, here's a good link with more copypastable symbols , but don't go too crazy, nobody likes clutter in what they read. PPS如果您有创造力,这里可以链接更多可复制的符号 ,但不要太过疯狂,没有人喜欢阅读内容混乱。


#5楼

<br> seems to be the best and only way that currently works on the app version to create a new line break. <br>似乎是目前在该应用程序版本上创建新的换行符的最佳且唯一的方法。 I have tried it successfully in a review, as well as unsuccessfully tried all other Unicode/HTML newline-related characters that the Wikipedia page for newlines would tell me. 我已经在一次审查中成功地尝试了该方法,但也没有尝试过所有其他与Unicode / HTML换行符有关的字符,而换行符的Wikipedia页面会告诉我。 I used <br> with | 我在<br>使用| immediately on either side, using no closing tag, and it magically created a single line break without revealing the source or screwing anything up. 立即在任一侧使用不带有结束标记的字符,它神奇地创建了一个换行符,而没有暴露源代码或弄乱任何东西。

TLDR: <br> lets you successfully utilize single line breaks in Google Play app -- unlike everything else I tried (a lot). TLDR: <br>可让您成功利用Google Play应用中的单个换行符-与我尝试过的所有其他操作不同。

PS 聚苯乙烯 I have no clue how to make the thing show source instead of being used as source. 我不知道如何使事物显示源而不是用作源。 !^( !^( Now I do, and I know it works on both the desktop and mobile sites. 现在,我知道了,并且我知道它可以在台式机和移动网站上使用。 !! !!

Additionally, upon searching for how to make it show the source, I stumbled upon 另外,在寻找如何使其显示来源时,我偶然发现 this. 这个。 <del></del>


#6楼

Currently (June 2016) typing in the link as http://www.example.com will only produce plain text. 当前(2016年6月)以http://www.example.com键入链接只会生成纯文本。

You can now however put in an html anchor : 现在,您可以放入html锚:

<a href="http://www.example.com">My Example Site</a>
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值