V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
Livid
V2EX  ›  Planet

用一个原生的 macOS App 来更新 V2EX 的 FAQ 页面

  •  
  •   Livid · 2023-03-07 16:52:34 +08:00 · 1791 次点击
    这是一个创建于 416 天前的主题,其中的信息可能已经有所发展或是发生改变。

    Planetable.xyz app 发布的每一篇文章,在 UUID 目录下都可以找到一个 article.json,里面会有文章的 Markdown 源代码。

    比如这篇文章:

    https://blog.v2ex.com/657CF579-EB7E-4467-B9B7-32F2EF35272F/

    它的 Markdown 源代码就在 article.jsoncontent 字段:

    https://blog.v2ex.com/657CF579-EB7E-4467-B9B7-32F2EF35272F/article.json

    于是我做了一个小的改进,让 https://www.v2ex.com/faq 这个页面的正文部分,渲染上面的 article.json 中的 content 字段,这样就实现了用 Planet app 来更新 V2EX 的 FAQ 页面。

    目前尚无回复
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1023 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 25ms · UTC 23:01 · PVG 07:01 · LAX 16:01 · JFK 19:01
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.