Double Schema output combined with Yoast SEO

オープン
#997 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
web-dev

調査の方向性

リンクされているOaklandsideの記事とそのSchema validatorの結果から始め、重複したNewsArticle出力を確認します。WP ParselyとYoast SEOがそれぞれどのようにSchema.org JSON-LDを出力しているかを調査し、互換性のある統合または抑制のポイントを決定します。ページが適切なSchema出力を1つだけ公開し、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時間
マージ済み PR(30日)
79

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Parsely/wp-parsely のほかの issue

Parsely/wp-parsely の issue をすべて見る

似ている issue

PHP の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。