- From: Hans Polak <info@polak.es>
- Date: Fri, 13 May 2016 11:19:39 +0200
- To: Malcolm Croucher <malcolmcrouchermailbox@gmail.com>
- Cc: "schema.org Mailing List" <public-schemaorg@w3.org>
- Message-ID: <57359C2B.9070006@polak.es>
Found inside the Booking code: booking.com <http://booking.com> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "Organization", "url": "http://www.booking.com", "logo": "http://q-ec.bstatic.com/static/img/booking_logo_knowledge_graph/247454a990efac1952e44dddbf30c58677aa0fd8.png" } </script> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "url": "http://www.booking.com/", "potentialAction": { "@type": "SearchAction", "target": "http://www.booking.com/searchresults.html?aid=800210&si=ai,ci,co,di,la,re&ss={search_term_string}", "query-input": "required name=search_term_string" } } </script> Inside a hotel page: http://www.booking.com/hotel/es/hostal-cordoba.en-gb.html <http://www.booking.com/hotel/es/hostal-cordoba.en-gb.html?aid=304142;label=gen173nr-1FCAEoggJCAlhYSDNiBW5vcmVmaEaIAQGYAS64AQ_IAQ_YAQHoAQH4AQuoAgM;sid=39ce132f8b30f9342166716f12891bde;dcid=1;dist=0&sb_price_type=total&src=asip&type=total&> <div id="breadcrumb" vocab="http://schema.org/" typeof="BreadcrumbList" class="tracked breadcrumb breadcrumbs-capitalize" > <div property="itemListElement" typeof="ListItem" data-google-track="Click/Breadcrumb/hotel -> home/1" style="float:left; display: block;"> <a property="item" typeof="WebPage" href="/index.en-gb.html?aid=304142;label=gen173nr-1FCAEoggJCAlhYSDNiBW5vcmVmaEaIAQGYAS64AQ_IAQ_YAQHoAQH4AQuoAgM;sid=39ce132f8b30f9342166716f12891bde;dcid=1" target="_blank" title="Booking.com"> Home </a> .... </div> <div id="right" class="rlt-right" role="main" itemscope itemtype="http://schema.org/Hotel"> ... <span class="hp_address_subtitle jq_tooltip" rel="14" itemprop="address" data-source="top_link" data-coords="," data-node_tt_id="location_score_tooltip" data-bbox="-3.7065701186657,40.3992627422236,-3.68311420083046,40.4119463459421" data-width="350" title=""> Paseo de Santa MarĂa de la Cabeza, 21, Arganzuela, 28045 Madrid, Spain </span> ... As you can see, Booking combines all three formats; JSON-LD, Microformat and RDFa. I hope that helps. At any rate, your programmers should be able to use my generator tool, combined with the validator tool to create valid pages. Cheers, Hans
Received on Friday, 13 May 2016 09:20:11 UTC