Could support for Open Graph - Social Media Tags be added ?

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

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

評価

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

調査の方向性

READMEから始め、ライブラリに既存するメタデータヘルパーを調べて、そのスタイルと公開エントリーポイントを理解してください。実装前に、サポートする Open Graph、Twitter、Facebook のメタデータと API の形を定義してください。完了の条件は、要求された social-card ヘルパーがドキュメント化されたタグを生成し、その動作が適切なチェックでカバーされていることです。

索引モデルが issue の本文から書いたものです。

説明

Hi the lib looks awesome, handling a bunch of things we need to get rolling on the page metadata. After an examination of the README, I noticed there is no mention for Open Graph Metatags or support for especific Social Media Cards like the ones from Twitter or Facebook.

So I want to ask if this could be added to the library, sticking to the lib style, in a way like:

import { xCard, facebookCard } from '@forge42/seo-tools/social-cards';

//...
export const meta: MetaFunction = ({ data }: MetaArgs) => {
    return [
        { title: data.title},
        xCard({...theThingsGoesInHere}),
        facebookCard({...theThingsGoesInHere})
    ];
};

If you think this might be usefull please let me know. I keep forgeting and relearning do this tags everytime, I think this might be usefull for a bunch of folks. And since we are doing Remix and RR7 websites all day long, it makes sense to have this feature on a lib like this. If you think is ok, I would like to make the PR.

主要言語
TypeScript
スター
96
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

code-forge-io/seo-tools のほかの issue

code-forge-io/seo-tools の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

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

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