Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Saving metadata to posts

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

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
javascript, wordpress
领域
api, backend

调研方向

Start with the linked worknotes entry and inspect the example WordPress post to understand the metadata shape and intended behavior. The issue does not name repository files, tests, or a concrete remaining task; confirm what still needs implementation before defining done.

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

描述

This came up when we wanted to do linkblogs on WordPress sites, Scott Hanson suggested we could use WordPress's metadata feature, which allows apps to attach data to the post invisibly, and then use that to make the link accessible from the user interface.

That feature is now in the wpIdentity server as of version 0.5.24.

Docs

The feature is written up in the worknotes.

Example
    "metadata": {
        "activitypub_status": "federated",
        "wordland_apiVersion": "0.4.0",
        "wordland_idDraft": "3931",
        "wordland_linksTo": "https://github.com/scripting/wpIdentity/issues/6",
        "wordland_markdowntext": "I enjoy working on the [wpIdentity](https://github.com/scripting/wpIdentity) package, esp a design-heavy, code-lite feature like the metadata. \n\nThis is an example post for the docs on the metadata feature that has been added today. \n\nHere's a list of seven things whose names begin with O.\n\n1.  [Oreo cookies](https://en.wikipedia.org/wiki/Oreo)\n2.  Optimism\n3.  [Organic food](https://en.wikipedia.org/wiki/Organic_food)\n4.  Opportunity knocks\n5.  Oregon\n6.  Ooops!\n7.  Offred",
        "wordland_title": "An example for the docs",
        "_wpas_done_all": "1"
    },

That data is attached to this post.

主要语言
JavaScript
星标
21
派生
2
PR 合并指标
30 天内没有已合并 PR

贡献指南

这个仓库没有索引到贡献指南

从这里开始

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

scripting/wpIdentity 的其他 Issue

查看 scripting/wpIdentity 的全部 Issue

相似的 Issue

更多 JavaScript Issue

把新 issue 发到你的邮箱

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