Livid
398.47D
557.19D
V2EX  ›  Planet

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

  •  
  •   Livid ·
    PRO
    · Mar 7, 2023 · 6780 views
    This topic created in 1313 days ago, the information mentioned may be changed or developed.

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

    比如这篇文章:

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

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

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

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

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2976 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 07:50 · PVG 15:50 · LAX 00:50 · JFK 03:50
    ♥ Do have faith in what you're doing.