gpt4 book ai didi

html - 将 RDFa 应用于包含位置的已完成项目列表

转载 作者:塔克拉玛干 更新时间:2023-11-03 02:44:43 28 4
gpt4 key购买 nike

某人如何将模式应用于已完成项目的列表,例如由建筑公司完成的项目列表。

假设您有一个已完成项目的列表,其中包含日期、地点、描述等信息。

我不知道它是否一定被视为 CreativeWork 或 Place。我正在考虑使用一般的 ItemList/Item 属性,但不确定它是否有很大的值(value)。话虽如此,有人会认为这是有益的或值得应用的吗?

编辑:

为了详细说明,这里是一些与问题相对应的代码:

<section class="work-listing">
<h1>List of completed projects</h1>

<article class="completed-work" vocab="http://schema.org/" typeof="????">
<h2 property="name">The Empire State Building</h2>
<ul>
<li><strong>Location</strong> New York, New York</li>
<li><strong>Completed</strong> 2010</li>
<li><strong>Architect</strong> William F. Lamb</li>
</ul>
<p property="about">The Empire State Building is a 103-story skyscraper located in Midtown Manhattan, New York City.</p>
</article>

<article class="completed-work" vocab="http://schema.org/" typeof="??">...</article>
</section>

我考虑了以下几点:

  • 项目
  • 文章
  • 创意工作
  • 地点
  • 事件

我觉得这种情况需要其中的每一种,但不会单独归类为其中任何一种。我也很难确定如何写出项目的一些细节,因为这将取决于家长的决定。

此外,我知道我在上面的示例中使用了 ESB,但实际项目不会真正落入 HistoricalLandmarkorBuilding。

谢谢!

最佳答案

以下是您可以模拟的页面。

使用查看源代码。

HTML pages codes in RDFa

关于html - 将 RDFa 应用于包含位置的已完成项目列表,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27894195/

28 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com