gmail - Defining a bill or invoice using Google email markup -
i know can done because i'm looking @ invoice telco in gmail inbox mobile app don't know how set gmail markup / schema make happen.
the example have shows:
august bill xxxx
total: $xxx, due mmm dd$ total amount due
$xxxxdue date
dd mmmissuer
telco x
can help? can't find guidance on email markup pages on google.
it uses regular http://schema.org markup within html of email. see gmail markup reference. example adapted 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"/>
Comments
Post a Comment