我正在尝试选择最适合多天旅游活动的schema.org格式,比如旅游。
它具有以下属性:
理想情况下,我希望从丰富的片段中获益。不确定product或event是否适合这样做:据说产品描述物理产品,在我看来,事件在一天内就持续了一段时间。
不过,我在丰富的片段中找不到其他合适的格式。提供另一个模式有意义吗?那有什么好处呢?
发布于 2017-12-18 13:01:31
为类型TravelAction应用标记。例如:
<main vocab=https://schema.org/ typeof=TravelAction>
<h1 property=name>Your travel tour to Z</h1>
<p property=description>zzzzzz</p>
<p><time property=startTime datetime=2018-05-29></time></p>
<p><time property=endTime datetime=2018-06-07></time></p>
<section property=fromLocation typeof=Place>
<h2>Start from</h2>
<div property=address typeof=PostalAddress>
<p property=streetAddress>The street address.</p>
<p property=postalCode>555 55</p>
<p property=addressRegion>The region</p>
<p property=addressLocality>The locality</p>
<p property=addressCountry>The country (You can also provide the two-letter ISO 3166-1 alpha-2 country code https://en.wikipedia.org/wiki/ISO_3166-1 exempel:<meta property=addressCountry content=SE>)</p>
</div>
</section>
<section property=toLocation typeof=Place>
<h2>End to</h2>
<div property=address typeof=PostalAddress>
<p property=addressLocality>The locality</p>
<p property=addressCountry>The country<meta property=addressCountry content=AR> (You can also provide the two-letter ISO 3166-1 alpha-2 country code https://en.wikipedia.org/wiki/ISO_3166-1 )</p>
</div></section>
<section property=potentialAction typeof=TradeAction>
<h2 property=name>The Price</h2>
<p property=priceSpecification typeof=PriceSpecification>A1lt;meta property=priceCurrency content=USD>99<meta property=price content=99></p>
</section></main>查看Google工具 ++信息中关于ISO 4217货币代码的标记。
发布于 2019-11-14 05:00:46
一年多过去了,这可能帮不了你。但希望它能帮助其他人!http://schema.org/TouristTrip
发布于 2020-10-16 18:23:25
尝试这个模式,也许它将适合您的需要。
<div class="tourist-trip-wrapper">
<h1>
Australia and New Zealand
</h1>
<p>
This trip is modeled as two distinct Tourist Trips using the subTrip property.
</p>
<div class="has-part-wrapper">
<div>
<h2>
Australia
</h2>
<p>
This is a trip on its own.
</p>
</div>
<div>
<h2>
New Zealand
</h2>
<p>
This is another trip nested inside the main one.
</p>
</div>还有一个旅行社的模式
https://webmasters.stackexchange.com/questions/111443
复制相似问题