服务条款准则
为了帮助乘客清楚地了解自己的权利和责任,用户必须接受集成商提供的公交公司服务条款 (ToS)。出于安全考虑,公交公司必须遵守服务条款中的以下要求,以确保正确显示相关信息。Google 会在向用户显示违禁内容之前,从不合规的服务条款中移除这类内容。一旦发现任何新风险,Google 保留更新审核流程的权利。
如需设置服务条款 (TOS) 的格式,请使用以下两个选项之一:
- 纯文本:UTF-8 编码。
- HTML:用于有限的代码子集。
纯文本选项
要创建合规的服务条款,最简单的方法是使用纯文本,因为它不允许您添加不符合政策规定的代码或超链接。内容必须采用 UTF-8 编码。
如果您使用纯文本选项,请使用以下模板:
Section Header
Text for this section...
Section Header
Text for this section...
* Bullet 1
* Bullet 2
* Bullet 3
Section Header
Text for this section…
HTML 选项
使用 HTML 选项时,您可以更好地控制格式,同时仍能遵守我们的服务条款指南。但是,我们只允许某些 HTML 标记。所有不符合政策规定的代码都会从向用户显示的内容中删除。
服务条款 (TOS) 必须是格式正确的 HTML v4 或 v5 文档。文档必须具有正确的文档结构和平衡的标记。
只允许使用以下标记:
- 文档结构:
<html>
、<head>
、<title>
和 <body>
。
- 标头:
<h1>
、<h2>
、<h3>
、<h4>
、<h5>
和 <h6>
。
- 列表元素:
<li>
、<ul>
和 <ol>
。
- 表:
<table>
、<tr>
、<td>
和 <th>
。
- 段落和换行符:
<p>
和 <br>
。
- 文本格式设置:
<b>
、<i>
、<u>
、<strong>
和 <em>
。
请勿使用以下任何常用代码:
- 图片:
<img>
个标记
- JavaScript:
<script>
代码
- 将
<link>
标记映射到 JavaScript 文件
- 任何形式的 CSS:
<style>
代码
- 向样式表添加
<link>
个标记
- 将
<style>
标记添加到属性
- 链接:
- 跟踪代码和像素
- 以下任意标记:
<applet>
<base>
<embed>
<form>
<iframe>
<link>
<math>
<meta>
<object>
<script>
<style>
<svg>
<template>
请注意以下几点:
- 我们仅支持纯文本和 HTML MIME 类型。
- 粗体和斜体不是文本选项。
- 确保服务条款的未压缩大小小于 100 kB。
- 标题的字体大小上限为 24 像素。
- 标题不得超过服务条款中总字符数的 10%。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2024-03-26。
[null,null,["最后更新时间 (UTC):2024-03-26。"],[[["Transit agencies must provide Terms of Service (ToS) through integrators for riders to acknowledge their rights and responsibilities."],["ToS content must adhere to formatting guidelines, either plain text (UTF-8) or HTML with a restricted set of tags, to ensure proper presentation and security."],["Google automatically removes prohibited content from non-compliant ToS before displaying it to users and reserves the right to update its review process."],["Allowed HTML tags include basic structural elements, headers, lists, tables, text formatting, and paragraph/line breaks; prohibited tags encompass images, JavaScript, CSS, links, tracking elements, and various others listed."],["ToS documents should be limited to 100 kB in size and follow specific formatting constraints such as maximum font size for headings and heading character limits."]]],["Transit agencies must provide Terms of Service (ToS) to users, compliant with specific requirements. They can use either UTF-8 encoded plain text or a limited set of HTML tags (v4 or v5). Allowed HTML includes structure, headers, lists, tables, paragraphs, line breaks, and text formatting. Prohibited tags encompass images, JavaScript, CSS, links, and tracking elements. Google will remove any prohibited content. The ToS must be under 100kb uncompressed, with headings at a maximum font size of 24px.\n"]]