email - How to test the Google Schemas -
i trying implement parceldelivery feature webshop shown here: https://developers.google.com/gmail/markup/reference/parcel-delivery
the markup use validates using tool: https://www.google.com/webmasters/markup-tester/
on pages shows can test markup sending email yourself, yourself. sending myself email using gmail web interface, no matter use formatting (plain text or html) "package delivery status" not show in inbox.
instead, when click open email; entire code below shown email, if gmail not pick up.
p.s. schema supported in cards? know?
am doing wrong?
this source used:
<html> <body> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "parceldelivery", "deliveryaddress": { "@type": "postaladdress", "name": "john frank", "streetaddress": "24 willie mays plaza", "addresslocality": "san francisco", "addressregion": "ca", "addresscountry": "us", "postalcode": "94107" }, "originaddress": { "@type": "postaladdress", "name": "john frank", "streetaddress": "25 willie mays plaza", "addresslocality": "san francisco", "addressregion": "ca", "addresscountry": "us", "postalcode": "94107" }, "expectedarrivalfrom": "2013-03-10t12:00:00-08:00", "expectedarrivaluntil": "2013-03-12t12:00:00-08:00", "carrier": { "@type": "organization", "name": "fedex", "url": "http://fedex.com/" }, "itemshipped": { "@type": "product", "name": "ipod mini", "url": "http://apple.com/ipad32gb", "image": "http://apple.com/images/ipad32gb.jpg", "sku": "b00dr0pdne", "description": "ipod mini 32gb white", "brand": { "@type": "brand", "name": "apple" }, "color": "white" }, "trackingnumber": "3453291231", "trackingurl": "http://fedex.com/track/3453291231", "hasdeliverymethod": "http://schema.org/parcelservice", "partoforder": { "@type": "order", "ordernumber": "176057", "merchant": { "@type": "organization", "name": "bob dole", "sameas": "http://www.freebase.com/m/0fhkx" }, "orderstatus": "http://schema.org/orderintransit" } } </script> <p> dear john, booking google i/o ticket us. </p> <p> booking details<br/> reservation number: io12345<br/> order for: john smith<br/> event: google i/o 2013<br/> start time: may 15th 2013 8:00am pst<br/> venue: moscone center, 800 howard st., san francisco, ca 94103<br/> </p> </body> </html>
Comments
Post a Comment