Double Schema output combined with Yoast SEO

未关闭
#997 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
停滞
技术栈
php
领域
web-dev

调研方向

先从链接的 Oaklandside 文章及其 Schema validator 结果入手,确认重复的 NewsArticle 输出。检查 WP Parsely 和 Yoast SEO 各自如何输出 Schema.org JSON-LD,然后确定兼容的集成点或抑制点;完成的标准是页面只公开一个适当的 Schema 输出,同时不破坏 Parse.ly 元数据。

由索引模型根据 Issue 内容生成。

描述

Needs Feedback wp-parsely

Describe the bug

When a site runs Yoast SEO, potentially combined with Yoast's News SEO add-on as well as WP Parsely, both plugins output Schema.org JSON+LD blobs.

To Reproduce

An example of that can be found here (site running Newspack):

  • See this article on the Oaklandside.
  • You can run it through the Schema validator. If you click NewsArticle you'll see that the output is there twice...
  • Of course, if you just look at the source of that page, you can see it too :)

Expected behaviour

Ideally, only one set of Schema should be output. As Yoast SEO's seems more complete, I think that should work, but I'm not sure if Parsely can work with that?

Happy to discuss good solutions!

主要语言
PHP
星标
67
派生
38
平均合并
1 天 5 小时
30 天内合并 PR
79

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

Parsely/wp-parsely 的其他 Issue

查看 Parsely/wp-parsely 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。