自发布新闻,“发布者"是谁?

编程入门 行业动态 更新时间:2024-10-24 01:49:32
本文介绍了自发布新闻,“发布者"是谁?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在尝试在新闻网站中实现Schema.在此Google指南中,我在左边的示例中使用了微数据./p>

一切都很好,除了一个属性publisher.

鉴于我是在自己的网站上谈论新闻,我应该在publisher中写些什么?我必须写我自己的公司吗?

解决方案

首先,您没有必须提供publisher.否则,您将无法在Google搜索AMP HTML页面中获得丰富的文章结果,但没有其他反应.

Schema希望Organization或Person项作为 publisher ,则Google要求Organization项用于其文章丰富的结果(仅适用于AMP HTML页面).因此,例如,不属于组织的新闻作者无法为其AMP HTML页面获得文章丰富"的结果.

如果您的组织发布新闻,则将其用作publisher的值是合适的.

I'm trying to implement Schema in my news website. In this Google guideline I'm following the left example with Microdata.

Everything is fine, except for one property, the publisher.

Given that I'm talking about the news on my own site, what am I supposed to write in the publisher? Do I have to write my own company?

解决方案

First of all, you don’t have to provide a publisher. If you don’t, you can’t get an Article rich result in Google Search for AMP HTML pages, but nothing else happens.

While Schema expects either an Organization or a Person item as value for publisher, Google requires an Organization item for their Article rich result (only for AMP HTML pages). So for example, news authors that are not part of an organization can’t get the Article rich result for their AMP HTML page.

If your organization publishes the news, using it as value for publisher is appropriate.

更多推荐

自发布新闻,“发布者"是谁?

本文发布于:2023-11-13 14:25:26,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1584568.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:发布者   新闻   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!