微专业数据分析师 数据资料_微数据:元数据的内容

微专业数据分析师 数据资料

In most tags are semantic: that is, they carry meaning, but there is no way to provide meaning for every piece of content. This impoverishes the web: machine-readable tags that provide context make for a richer, more semantic internet. But short of an XML utopia, there's no way to cover every possibility.

大多数标签都是语义的:也就是说,它们带有意义 ,但是没有办法为每段内容提供意义。 这使网络变得贫穷:提供上下文的机器可读标签构成了更丰富,更语义化的互联网。 但是缺少XML乌托邦,就没有办法涵盖所有​​可能性。

Instead, there are several measures that add to, or extend, the semantics of web pages:

相反,有几种措施可以增加或扩展网页的语义:

  • Microformats extend tags via special values for class and id attributes. Microformats have strong support by Google, Facebook and YouTube through schemas like hcard (to represent people, companies, organizations, and places), calendar (for events), recipe, and XFN (to diagram relationships between people).

    微格式通过classid属性的特殊值扩展标签。 Google,Facebook和YouTube通过hcard (代表人员,公司,组织和场所), 日历 (用于事件), 配方XFN (用于绘制人与人之间的关系)等模式对微格式提供了强大的支持。

  • RDFa is another means of providing context to tags via values added to class attributes, currently used to indicate Creative Commons licenses, amongst other purposes.

    RDFa是通过添加到class属性的值向标签提供上下文的另一种方法,当前用于指示Creative Commons许可等。

  • Unlike meta tags, microdata is written in the body of an HTML document; unlike microformats and RDFa, it does not abuse class, instead using attributes such as itemscope and item type, with established, central schemas such as schema.org and data-vocabulary.org.

    与元标记不同, 微数据是写在HTML文档的正文中的。 与微格式和RDFa不同,它不会滥用class ,而是使用诸如itemscopeitem type class属性以及已建立的中央模式(例如schema.orgdata-vocabulary.org)

Which system you use depends on what you are trying to do:

您使用哪种系统取决于您要执行的操作:

Want to add a Creative Commons license? 是否要添加知识共享许可?
Use RDFa, plus a public notification.
使用RDFa,以及公共通知。
Making a HTML page? 制作HTML页面?
Use microdata, adding meta tags and RDFa as they are supported.
使用微数据,添加受支持的元标记和RDFa。

翻译自: https://thenewcode.com/344/Microdata-Metadata-For-Content

微专业数据分析师 数据资料

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值