Could support for Open Graph - Social Media Tags be added ?
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 30/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- typescript
- 领域
- web-dev
调研方向
从 README 开始,检查库中现有的元数据 helper,以了解其风格和公共入口点。在实现之前,定义所支持的 Open Graph、Twitter 和 Facebook 元数据以及 API 形态;当所请求的 social-card helper 能够生成文档中说明的标签,并且其行为由适当的检查覆盖时,即表示完成。
由索引模型根据 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 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
code-forge-io/seo-tools 的其他 Issue
-
Global handle function for Remix/React Router v7可能已有人在做 @mateussilva92 于 313 天前认领。 未关闭
难度 4/5 3-5 天 新手友好度 25/100
code-forge-io/seo-tools#18 ·
-
难度 4/5 3-5 天 新手友好度 30/100
code-forge-io/seo-tools#17 ·
-
RR7 splat routes未关闭
难度 3/5 1-2 天 新手友好度 35/100
code-forge-io/seo-tools#16 ·
-
难度 3/5 1-2 天 新手友好度 45/100
code-forge-io/seo-tools#13 · 1 个 reaction ·
-
Duplicate urls returned by `generateRemixSitemap` using React Router 7可能已有人在做 @mateussilva92 于 313 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 45/100
code-forge-io/seo-tools#12 · 1 条评论 · 4 个 reaction ·
查看 code-forge-io/seo-tools 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 68/100
langchain-ai/langchainjs#12239 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
paperclipai/paperclip#21837 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 73/100
code-yeongyu/senpi#6813 ·
维护者通常 1 天内回复
-
community first-timers-only good first issue hacktoberfest help wanted low hanging fruit up-for-grabs
难度 1/5 1 小时以内 新手友好度 93/100
lingdojo/kana-dojo#34169 · 1 条评论 · 5 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100