使用Google电子邮件标记定义帐单或发票 [英] Defining a bill or invoice using Google email markup
问题描述
我知道这可以做,因为我正在看我的Gmail邮箱收件箱移动应用程序中的telco的发票,但我不知道如何设置gmail标记/模式来实现。
I know this can be done because i'm looking at an invoice from a telco in my gmail inbox mobile app but I don't know how to set the gmail markup / schema to make it happen.
我的示例显示:
8月份的xxxx帐单
总计:$ xxx,由于MMM DD
August bill for xxxx
Total: $xxx, due MMM DD
$总金额到期
$ xxxx
$ Total amount due
$xxxx
到期日
DD MMM
Due date
DD MMM
发行人
Telco X
Issuer
Telco X
任何人都可以帮忙吗?
我找不到任何有关Google邮件标记页面的指导。
Can anyone help? I can't find any guidance on the email markup pages on Google.
推荐答案
它使用常规 http://schema.org 标记在电子邮件的HTML内。请参阅 gmail标记参考。
从google的gmail标记示例中修改的示例:
It uses regular http://schema.org markup within the HTML of the email. See gmail markup reference. Example adapted from google's gmail markup example:
<div itemscope itemtype="http://schema.org/Order">
<div itemprop="merchant" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Amazon.com"/>
</div>
<meta itemprop="orderNumber" content="123-4567890-1234567"/>
<meta itemprop="priceCurrency" content="USD"/>
<meta itemprop="price" content="259.99"/>
<div itemprop="acceptedOffer" itemscope itemtype="http://schema.org/Offer">
<div itemprop="itemOffered" itemscope itemtype="http://schema.org/Product">
<meta itemprop="name" content="Samsung Chromebook"/>
<meta itemprop="sku" content="B009LL9VDG"/>
<link itemprop="url" href="http://rads.stackoverflow.com/amzn/click/B009LL9VDG"/>
<link itemprop="image" href="http://ecx.images-amazon.com/images/I/81H-DO3qX0L._SX522_.jpg"/>
</div>
<meta itemprop="price" content="249.99"/>
<meta itemprop="priceCurrency" content="USD"/>
<div itemprop="eligibleQuantity" itemscope itemtype="http://schema.org/QuantitativeValue">
<meta itemprop="value" content="1"/>
</div>
<div itemprop="seller" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="Samsung Marketplace Store"/>
</div>
</div>
</div>
<div itemprop="priceSpecification" itemscope itemtype="http://schema.org/DeliveryChargeSpecification">
<meta itemprop="price" content="10.00"/>
<meta itemprop="priceCurrency" content="USD"/>
</div>
<link itemprop="url" href="https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567"/>
<div itemprop="potentialAction" itemscope itemtype="http://schema.org/ViewAction">
<link itemprop="target" href="https://www.amazon.ca/gp/css/summary/edit.html/orderID=123-4567890-1234567"/>
</div>
<link itemprop="orderStatus" href="http://schema.org/OrderStatus/OrderProcessing"/>
这篇关于使用Google电子邮件标记定义帐单或发票的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!