A place to cache linked articles (think custom and personal wayback machine)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html 42KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769
  1. <!doctype html><!-- This is a valid HTML5 document. -->
  2. <!-- Screen readers, SEO, extensions and so on. -->
  3. <html lang="fr">
  4. <!-- Has to be within the first 1024 bytes, hence before the `title` element
  5. See: https://www.w3.org/TR/2012/CR-html5-20121217/document-metadata.html#charset -->
  6. <meta charset="utf-8">
  7. <!-- Why no `X-UA-Compatible` meta: https://stackoverflow.com/a/6771584 -->
  8. <!-- The viewport meta is quite crowded and we are responsible for that.
  9. See: https://codepen.io/tigt/post/meta-viewport-for-2015 -->
  10. <meta name="viewport" content="width=device-width,initial-scale=1">
  11. <!-- Required to make a valid HTML5 document. -->
  12. <title>Newsletters (archive) — David Larlet</title>
  13. <meta name="description" content="Publication mise en cache pour en conserver une trace.">
  14. <!-- That good ol' feed, subscribe :). -->
  15. <link rel="alternate" type="application/atom+xml" title="Feed" href="/david/log/">
  16. <!-- Generated from https://realfavicongenerator.net/ such a mess. -->
  17. <link rel="apple-touch-icon" sizes="180x180" href="/static/david/icons2/apple-touch-icon.png">
  18. <link rel="icon" type="image/png" sizes="32x32" href="/static/david/icons2/favicon-32x32.png">
  19. <link rel="icon" type="image/png" sizes="16x16" href="/static/david/icons2/favicon-16x16.png">
  20. <link rel="manifest" href="/static/david/icons2/site.webmanifest">
  21. <link rel="mask-icon" href="/static/david/icons2/safari-pinned-tab.svg" color="#07486c">
  22. <link rel="shortcut icon" href="/static/david/icons2/favicon.ico">
  23. <meta name="msapplication-TileColor" content="#f7f7f7">
  24. <meta name="msapplication-config" content="/static/david/icons2/browserconfig.xml">
  25. <meta name="theme-color" content="#f7f7f7" media="(prefers-color-scheme: light)">
  26. <meta name="theme-color" content="#272727" media="(prefers-color-scheme: dark)">
  27. <!-- Documented, feel free to shoot an email. -->
  28. <link rel="stylesheet" href="/static/david/css/style_2021-01-20.css">
  29. <!-- See https://www.zachleat.com/web/comprehensive-webfonts/ for the trade-off. -->
  30. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  31. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  32. <link rel="preload" href="/static/david/css/fonts/triplicate_t4_poly_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: light), (prefers-color-scheme: no-preference)" crossorigin>
  33. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_regular.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  34. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_bold.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  35. <link rel="preload" href="/static/david/css/fonts/triplicate_t3_italic.woff2" as="font" type="font/woff2" media="(prefers-color-scheme: dark)" crossorigin>
  36. <script>
  37. function toggleTheme(themeName) {
  38. document.documentElement.classList.toggle(
  39. 'forced-dark',
  40. themeName === 'dark'
  41. )
  42. document.documentElement.classList.toggle(
  43. 'forced-light',
  44. themeName === 'light'
  45. )
  46. }
  47. const selectedTheme = localStorage.getItem('theme')
  48. if (selectedTheme !== 'undefined') {
  49. toggleTheme(selectedTheme)
  50. }
  51. </script>
  52. <meta name="robots" content="noindex, nofollow">
  53. <meta content="origin-when-cross-origin" name="referrer">
  54. <!-- Canonical URL for SEO purposes -->
  55. <link rel="canonical" href="https://www.robinrendle.com/essays/newsletters">
  56. <body class="remarkdown h1-underline h2-underline h3-underline em-underscore hr-center ul-star pre-tick" data-instant-intensity="viewport-all">
  57. <article>
  58. <header>
  59. <h1>Newsletters</h1>
  60. </header>
  61. <nav>
  62. <p class="center">
  63. <a href="/david/" title="Aller à l’accueil"><svg class="icon icon-home">
  64. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-home"></use>
  65. </svg> Accueil</a> •
  66. <a href="https://www.robinrendle.com/essays/newsletters" title="Lien vers le contenu original">Source originale</a>
  67. </p>
  68. </nav>
  69. <hr>
  70. <div class="slide">
  71. <div class="slide-img">
  72. <img alt="An ornamental leaf design with the word 'newsletter' in the center" src="https://d33wubrfki0l68.cloudfront.net/ffc5c299ff967e038caa083635eadf4c1d68bdd7/6248a/uploads/essays/on-newsletters/00-newsletters.jpg" loading="lazy"/>
  73. </div>
  74. <div class="slide-text">
  75. <p class="date">Robin Rendle <span>∙</span> <time datetime="2021-01-03">January 2021</time></p>
  76. <h1>Newsletters; or, an enormous rant about writing on the web that doesn’t really go anywhere and that’s okay with me</h1>
  77. </div>
  78. </div>
  79. <div class="slide">
  80. <div class="slide-img">
  81. <img alt="An illustration of a house at night with a figure at the window" src="https://d33wubrfki0l68.cloudfront.net/e7cceec0e0fad2b5b24f9c280e99d81850b8bc53/5b082/uploads/essays/on-newsletters/01-lucy-bellwood.jpg" loading="lazy"/>
  82. </div>
  83. <div class="slide-text">
  84. <p>My friend Lucy once told me that she falls in love with the way that someone thinks&hellip;</p>
  85. </div>
  86. </div>
  87. <div class="slide">
  88. <div class="slide-img">
  89. <img alt="An illustration of a man looking at a watch being built" src="https://d33wubrfki0l68.cloudfront.net/bae3406bca2eee81193570a0760b087127bfd50a/dc0bf/uploads/essays/on-newsletters/02-setting-up-watches.jpg" loading="lazy"/>
  90. </div>
  91. <div class="slide-text">
  92. <p>&hellip;and that’s what newsletters make possible for me; they’re a record of how strangers see the world.</p>
  93. </div>
  94. </div>
  95. <div class="slide">
  96. <div class="slide-img">
  97. <img alt="An illustration of a group of people playing music" src="https://d33wubrfki0l68.cloudfront.net/5ad1d7a10dc68383f31b07a189001edb7d424054/b7e2c/uploads/essays/on-newsletters/03-music-water.jpg" loading="lazy"/>
  98. </div>
  99. <div class="slide-text">
  100. <p>Newsletters give me permission to fall in love with someone I'll never meet&hellip;</p>
  101. </div>
  102. </div>
  103. <div class="slide">
  104. <div class="slide-img">
  105. <img alt="A group of people on a hot air balloon looking back at Earth" src="https://d33wubrfki0l68.cloudfront.net/2fa98aa905c8d536edad90e625b711a85793d699/37d73/uploads/essays/on-newsletters/04-looking-at-world.jpg" loading="lazy"/>
  106. </div>
  107. <div class="slide-text">
  108. <p>&hellip;someone very far away&hellip;</p>
  109. </div>
  110. </div>
  111. <div class="slide">
  112. <div class="slide-img">
  113. <img alt="Under a streetlamp a man reads a letter" src="https://d33wubrfki0l68.cloudfront.net/ab0a1268c9ce4d338acb862708faa564f6dc7582/fdc28/uploads/essays/on-newsletters/05-fathers-letter.jpg" loading="lazy"/>
  114. </div>
  115. <div class="slide-text">
  116. <p>And over the past few years I’ve fallen in love with so many writers through newsletters! On all sorts of subjects!</p>
  117. </div>
  118. </div>
  119. <div class="slide">
  120. <div class="slide-img">
  121. <img alt="The Cistern of Philoxenos, a subterranean reservoir in Istanbul" src="https://d33wubrfki0l68.cloudfront.net/ac948645452225def95b6b763caaa16019eecea4/2d085/uploads/essays/on-newsletters/06-cistern-philoxenos.jpg" loading="lazy"/>
  122. </div>
  123. <div class="slide-text">
  124. <p>There are dazzling newsletters; those of grand adventures and epic mysteries&hellip;</p>
  125. </div>
  126. </div>
  127. <div class="slide">
  128. <div class="slide-img">
  129. <img alt="An enormous wallpaper printing machine" src="https://d33wubrfki0l68.cloudfront.net/06f6f1f3e8d18b047217c228fe18913b5a80b36e/21649/uploads/essays/on-newsletters/07-wallpaper-printing-machine.jpg" loading="lazy"/>
  130. </div>
  131. <div class="slide-text">
  132. <p>...and newsletters about complex systems, showing us how the world is put together.</p>
  133. </div>
  134. </div>
  135. <div class="slide">
  136. <div class="slide-img">
  137. <img class="slide-img__flowers" alt="A horseshoe geranium flower" src="https://d33wubrfki0l68.cloudfront.net/6ffcd8be52892abb2c193b392d1786f1b9931a8b/e3870/uploads/essays/on-newsletters/08-flower-horseshoe-geranium.jpg" loading="lazy"/>
  138. </div>
  139. <div class="slide-text">
  140. <p>Not to forget smaller newsletters, too. Break-ups! Coffee beans! Clocks! Northumberland flower gardens! These sit side by side with newsletters that are just&hellip;</p>
  141. </div>
  142. </div>
  143. <div class="slide">
  144. <div class="slide-img">
  145. <img alt="A dog plays the flute" src="https://d33wubrfki0l68.cloudfront.net/d561957fb23e7842203c89825723fdc17910f610/acbbb/uploads/essays/on-newsletters/09-playing-flute.jpg" loading="lazy"/>
  146. </div>
  147. <div class="slide-text">
  148. <p>&hellip;<em>weird.</em></p>
  149. </div>
  150. </div>
  151. <div class="slide">
  152. <div class="slide-img">
  153. <img alt="A group of women at the post office" src="https://d33wubrfki0l68.cloudfront.net/347c3767d21a25dfde7dd2f593a95b10247034aa/13e76/uploads/essays/on-newsletters/10-post-office.jpg" loading="lazy"/>
  154. </div>
  155. <div class="slide-text">
  156. <p>So my question here is a difficult one to ask, because I love newsletters so very much&hellip;</p>
  157. </div>
  158. </div>
  159. <div class="slide">
  160. <div class="slide-img">
  161. <img alt="An astronomer looks up at the stars" src="https://d33wubrfki0l68.cloudfront.net/29ec1b7f5d69b7e28b19c1a979f2a517e821e2eb/b7b71/uploads/essays/on-newsletters/11-herschel.jpg" loading="lazy"/>
  162. </div>
  163. <div class="slide-text">
  164. <p>&hellip;but is this progress?</p>
  165. </div>
  166. </div>
  167. <div class="slide">
  168. <div class="slide-img">
  169. <img alt="A sad boy is sat in a chair feeling sad" src="https://d33wubrfki0l68.cloudfront.net/a683e85e984fd03da4a94662758eb8843972d0ce/b7c8e/uploads/essays/on-newsletters/12-sad-boy.jpg" loading="lazy"/>
  170. </div>
  171. <div class="slide-text">
  172. <p>I guess there’s something about newsletters that bugs me, and I can’t put my finger on it.</p>
  173. </div>
  174. </div>
  175. <div class="slide">
  176. <div class="slide-img">
  177. <img alt="Edison’s electric pen" src="https://d33wubrfki0l68.cloudfront.net/051aa2fae6276a558deb5941d7fc011472948fd8/930e6/uploads/essays/on-newsletters/13-edisons-electric-pen.jpg" loading="lazy"/>
  178. </div>
  179. <div class="slide-text">
  180. <p>It bothers me that writers can’t create audiences on their own websites, with their own archives, and their own formats. And they certainly can’t get paid in the process. (Although yes, there are exceptions).</p>
  181. </div>
  182. </div>
  183. <div class="slide">
  184. <div class="slide-img">
  185. <img alt="A carbonated water factory" src="https://d33wubrfki0l68.cloudfront.net/3fab155f4d6f0380525aa790818a93a1d71a269b/115b1/uploads/essays/on-newsletters/14-carbonated-water-factory.jpg" loading="lazy"/>
  186. </div>
  187. <div class="slide-text">
  188. <p>Heck, just the technical expertise required to have your own website is extremely cumbersome and inaccessible to many.</p>
  189. </div>
  190. </div>
  191. <div class="slide">
  192. <div class="slide-img">
  193. <img alt="A man sits in a cave surrounded by coins" src="https://d33wubrfki0l68.cloudfront.net/52d707ba9726b1dfb37ab732f914dbdcadc316b0/1a5d8/uploads/essays/on-newsletters/15-minted-money.jpg" loading="lazy"/>
  194. </div>
  195. <div class="slide-text">
  196. <p>You might think: ah, newsletters are the future because that’s where the money is!</p>
  197. </div>
  198. </div>
  199. <div class="slide">
  200. <div class="slide-img">
  201. <img class="slide-img__giant" alt="A man sits in a cave surrounded by coins" src="https://d33wubrfki0l68.cloudfront.net/8ef0c68ac51269597b2758d4c46d13733c3ac4d0/172f8/uploads/essays/on-newsletters/16-lilliputian-troops-marching.jpg" loading="lazy"/>
  202. </div>
  203. <div class="slide-text">
  204. <p>But the real advantage with newsletters is that they give us super powers. You don’t need to learn about <abbr title="Hypertext markup language">HTML</abbr> or <abbr title="Cascading stylesheets">CSS</abbr> or databases to get started.</p>
  205. </div>
  206. </div>
  207. <div class="slide">
  208. <div class="slide-img">
  209. <img alt="A giant person towers over an army" src="https://d33wubrfki0l68.cloudfront.net/4c3c8f094d07b4b5f3f5b173f9536e570190d722/b7dec/uploads/essays/on-newsletters/17-sad-boy-zoom.jpg" loading="lazy"/>
  210. </div>
  211. <div class="slide-text">
  212. <p>Despite these super powers, I still think that using email to send words to each other is just entirely <em>ugh</em>.</p>
  213. </div>
  214. </div>
  215. <div class="slide">
  216. <div class="slide-img">
  217. <img alt="Two people look at a piece of paper" src="https://d33wubrfki0l68.cloudfront.net/a9414b65c48cded30889a3943789691155109abf/92fc7/uploads/essays/on-newsletters/18-colonel-stood-by.jpg" loading="lazy"/>
  218. </div>
  219. <div class="slide-text">
  220. <p>Perhaps I feel this way because reading everything in my inbox is somewhat antiquated. It’s almost as if we’ve gone back to reading off parchment after we invented books.</p>
  221. </div>
  222. </div>
  223. <div class="slide">
  224. <div class="slide-img">
  225. <img alt="Two people look up at a series of beautiful paintings" src="https://d33wubrfki0l68.cloudfront.net/86f058c6d98320d73866e8c1a2e244aa7334aa85/4d9c5/uploads/essays/on-newsletters/19-comfort-forgive.jpg" loading="lazy"/>
  226. </div>
  227. <div class="slide-text">
  228. <p>Books are so much better than parchment in the same way that websites are so much better than email.</p>
  229. </div>
  230. </div>
  231. <div class="slide">
  232. <div class="slide-img">
  233. <img alt="A person setting metal type" src="https://d33wubrfki0l68.cloudfront.net/bb41e3e2a635d17cad73d9fe3cba57c62f6c62d4/638ad/uploads/essays/on-newsletters/20-printing-form.jpg" loading="lazy"/>
  234. </div>
  235. <div class="slide-text">
  236. <p>And we’ve all moved to newsletters at the very moment when websites can do amazing things with layout and typography! We finally have grids and beautiful fonts and the wonders of print design on the web for the first time.</p>
  237. </div>
  238. </div>
  239. <div class="slide">
  240. <div class="slide-img">
  241. <img alt="Two divers fight an enormous crab" src="https://d33wubrfki0l68.cloudfront.net/1abc74fc74b113262aa240695f50fcc80d019b74/b638a/uploads/essays/on-newsletters/21-spider-crab.jpg" loading="lazy"/>
  242. </div>
  243. <div class="slide-text">
  244. <p>Yet websites are treated as these embarrassing, ugly, ad-riddled things, whilst newsletters have established some kind of prestige for themselves somehow.</p>
  245. </div>
  246. </div>
  247. <div class="slide">
  248. <div class="slide-img">
  249. <img alt="Nusretiye Mosque" src="https://d33wubrfki0l68.cloudfront.net/106d88b3c5da825ac8dc6a1ac874db5e9e8be996/6878b/uploads/essays/on-newsletters/23-nusretiye-mosque.jpg" loading="lazy"/>
  250. </div>
  251. <div class="slide-text">
  252. <p>The web doesn’t have to be this ugly and embarrassing thing though; the web can be made beautiful.</p>
  253. </div>
  254. </div>
  255. <div class="slide">
  256. <div class="slide-img">
  257. <img alt="A table floats into the air" src="https://d33wubrfki0l68.cloudfront.net/1bfdd9e583d225092655ab18d64b45b26c1fa7d0/3d305/uploads/essays/on-newsletters/24-table-slipped.jpg" loading="lazy"/>
  258. </div>
  259. <div class="slide-text">
  260. <p>And I’m saying this as someone who’s spent the better part of the last three years writing emails to strangers—because I feel both liberated and yet also cursed by them. Newsletters are just&hellip;inescapable if you want to be a writer today.</p>
  261. </div>
  262. </div>
  263. <div class="slide">
  264. <div class="slide-img">
  265. <img alt="Skull and crossbones" src="https://d33wubrfki0l68.cloudfront.net/50443029f6930c4250393f9d154c587ca4722bf8/6f463/uploads/essays/on-newsletters/25-skull-crossbones.jpg" loading="lazy"/>
  266. </div>
  267. <div class="slide-text">
  268. <p>But if websites are so great then why did everyone (including me) move to newsletters? Why did blogs die off? Well, there are ten million answers to those questions, but only three I want to focus on.</p>
  269. </div>
  270. </div>
  271. <div class="slide">
  272. <div class="slide-img">
  273. <img alt="Two men fight fight with swords" src="https://d33wubrfki0l68.cloudfront.net/a0faea81822bac1b0d6be6078518187a6c4b3de0/5fafe/uploads/essays/on-newsletters/26-bout-stranger.jpg" loading="lazy"/>
  274. </div>
  275. <div class="slide-text">
  276. <p>Newsletters killed blogs because&hellip;</p>
  277. <ol>
  278. <li>They’re impossibly easy to publish.</li>
  279. <li>Your inbox is a notification stream.</li>
  280. <li>Writers can actually, ya know, get paid.</li>
  281. </ol>
  282. </div>
  283. </div>
  284. <div class="slide">
  285. <div class="slide-img">
  286. <img alt="A man falls from the sky" src="https://d33wubrfki0l68.cloudfront.net/fcd4d1e63bd36aee41defb7378dd08a071d7d8c8/8d506/uploads/essays/on-newsletters/27-de-groof-falling.jpg" loading="lazy"/>
  287. </div>
  288. <div class="slide-text">
  289. <p>Alternatively, websites today&hellip;</p>
  290. <ol>
  291. <li>Are difficult to make.</li>
  292. <li>Can’t notify people of new work.</li>
  293. <li>Aren’t able to pay writers easily.</li>
  294. </ol>
  295. </div>
  296. </div>
  297. <div class="slide">
  298. <div class="slide-img">
  299. <img alt="A handmade organ" src="https://d33wubrfki0l68.cloudfront.net/5c7f0e88c79599cbed4f73bf2449f25f1bde123e/d41de/uploads/essays/on-newsletters/28-organ.jpg" loading="lazy"/>
  300. </div>
  301. <div class="slide-text">
  302. <p>These are the main problems today but now, because of newsletters, I look back on writing for the web as this clunky, annoying process in comparison. The machine sure is beautiful but it requires so much damn work to get singing.</p>
  303. </div>
  304. </div>
  305. <div class="slide">
  306. <div class="slide-img">
  307. <img alt="The bottom of the sea" src="https://d33wubrfki0l68.cloudfront.net/22aa7cf975643500375ec3bec1c9ece122506b11/23d58/uploads/essays/on-newsletters/29-bottom-sea.jpg" loading="lazy"/>
  308. </div>
  309. <div class="slide-text">
  310. <p>So I wonder how we can get the best of both worlds here: the ease of publishing newsletters, with all the beauty and archivability of websites. But what I’m really asking is&hellip;</p>
  311. </div>
  312. </div>
  313. <div class="slide">
  314. <div class="slide-img">
  315. <img alt="A beautiful landscape" src="https://d33wubrfki0l68.cloudfront.net/8a2adc213e90bdf0bb5727d07978a2ab5dc02eb4/8615b/uploads/essays/on-newsletters/30-abbey-mussorie.jpg" loading="lazy"/>
  316. </div>
  317. <div class="slide-text">
  318. <p>&hellip;how do we make the web for everyone?</p>
  319. </div>
  320. </div>
  321. <div class="slide">
  322. <div class="slide-img">
  323. <img alt="A dog walks down a street with a monocle" src="https://d33wubrfki0l68.cloudfront.net/88460feb9e448b326985ad23aaadab918deea86c/06409/uploads/essays/on-newsletters/31-zoom-in-dog.jpg" loading="lazy"/>
  324. </div>
  325. <div class="slide-text">
  326. <p>Let’s take a closer look.</p>
  327. </div>
  328. </div>
  329. <div class="slide slide-chapter">
  330. <div class="slide-text">
  331. <h2>Part One</h2>
  332. <p>Websites are too damn complicated</p>
  333. </div>
  334. </div>
  335. <div class="slide">
  336. <div class="slide-img">
  337. <img alt="A compositor selects metal letters from a case" src="https://d33wubrfki0l68.cloudfront.net/6cd06270d5ac8ef197524aa764a20f5821cc8fae/995aa/uploads/essays/on-newsletters/32-compositor.jpg" loading="lazy"/>
  338. </div>
  339. <div class="slide-text">
  340. <p>Websites haven’t gotten any easier to make over the past thirty years.</p>
  341. </div>
  342. </div>
  343. <div class="slide">
  344. <div class="slide-img">
  345. <img alt="Demons gather in hell" src="https://d33wubrfki0l68.cloudfront.net/aede02a0b877742845b8f896d69203b5e73dcbb7/17af5/uploads/essays/on-newsletters/33-dreadful-din.jpg" loading="lazy"/>
  346. </div>
  347. <div class="slide-text">
  348. <p>You still need to learn <abbr title="Hypertext Markup Language">HTML</abbr> and <abbr title="Cascading Stylesheets">CSS</abbr> to make a website. You still need to learn about hosting and domain names. You might even be forced to learn what the abbreviation <abbr title="Content management system">CMS</abbr> stands for, and I simply refuse to curse you with that knowledge.</p>
  349. </div>
  350. </div>
  351. <div class="slide">
  352. <div class="slide-img">
  353. <img alt="A gondola falls from the sky" src="https://d33wubrfki0l68.cloudfront.net/5211b81dae7aafdf73db9f9b65adff9400e68a3e/de8fd/uploads/essays/on-newsletters/34-gondola.jpg" loading="lazy"/>
  354. </div>
  355. <div class="slide-text">
  356. <p>The web was originally intended to be read and written by everyone, but the technical hurdles of setting up a website excludes the vast majority of people. It should be easier so much easier.</p>
  357. </div>
  358. </div>
  359. <div class="slide">
  360. <div class="slide-img">
  361. <img alt="A circle of giant men gather around a fire" src="https://d33wubrfki0l68.cloudfront.net/863f11d7c29589cd3e885baf526712314a768f6a/f94e7/uploads/essays/on-newsletters/35-fire-circle.jpg" loading="lazy"/>
  362. </div>
  363. <div class="slide-text">
  364. <p>I’m not talking about the complexity of building giant web apps here. Even the smallest websites—with nothing more than text—are far too difficult to build.</p>
  365. </div>
  366. </div>
  367. <div class="slide">
  368. <div class="slide-img">
  369. <img alt="Looting a pirate ship of its treasure" src="https://d33wubrfki0l68.cloudfront.net/5b9a1ac0facdececbe6c429003fe87866d7f01d9/e0755/uploads/essays/on-newsletters/36-removing-treasure.jpg" loading="lazy"/>
  370. </div>
  371. <div class="slide-text">
  372. <p>But perhaps we didn’t bother trying to improve writing on the web because we let social networks devour all our words—the archives be damned.</p>
  373. </div>
  374. </div>
  375. <div class="slide">
  376. <div class="slide-img">
  377. <img alt="Looting a pirate ship of its treasure" src="https://d33wubrfki0l68.cloudfront.net/8aa7461601d26d2f76f14a46699a197ae85266f3/ffc93/uploads/essays/on-newsletters/37-wolves-wolves.jpg" loading="lazy"/>
  378. </div>
  379. <div class="slide-text">
  380. <p>The solution? Well, I have a few ideas, but one thing I’m dead certain of is that startups shouldn’t be fixing this for us.</p>
  381. </div>
  382. </div>
  383. <div class="slide">
  384. <div class="slide-img">
  385. <img alt="Sea biscuit machine" src="https://d33wubrfki0l68.cloudfront.net/0b4b6d8637de1b732a24fc336ca59420899df97a/6aad8/uploads/essays/on-newsletters/38-sea-biscuit-machine.jpg" loading="lazy"/>
  386. </div>
  387. <div class="slide-text">
  388. <p>There have been some positive developments in recent years with the likes of static site generators, but again they still feel way too complex to me.</p>
  389. </div>
  390. </div>
  391. <div class="slide">
  392. <div class="slide-img">
  393. <img alt="Sea biscuit machine" src="https://d33wubrfki0l68.cloudfront.net/d9a04384e9c2cb195a82c222ec03517d946c8116/5409e/uploads/essays/on-newsletters/39-appeared-flash.jpg" loading="lazy"/>
  394. </div>
  395. <div class="slide-text">
  396. <p>On this note, not so long ago I stumbled upon a service called <a href="https://blot.im/">blot.im</a> and it showed me what building a website <em>could</em> be like; easy, fast, accessible.</p>
  397. </div>
  398. </div>
  399. <div class="slide">
  400. <div class="slide-img">
  401. <img alt="A person walks into a storm" src="https://d33wubrfki0l68.cloudfront.net/921c505b7b23888b8e2c2661df2e451a90427a1a/82859/uploads/essays/on-newsletters/40-pencroff-ran.jpg" loading="lazy"/>
  402. </div>
  403. <div class="slide-text">
  404. <p>I reckon this is the future we should be striving towards.</p>
  405. </div>
  406. </div>
  407. <div class="slide slide-chapter">
  408. <div class="slide-text">
  409. <h2>Part Two</h2>
  410. <p>RSS is for Nerds</p>
  411. </div>
  412. </div>
  413. <div class="slide">
  414. <div class="slide-img">
  415. <img alt="Two men looking at a book" src="https://d33wubrfki0l68.cloudfront.net/23c048de6a30c109afc7a962bb43b816238d32f5/92745/uploads/essays/on-newsletters/41-unintelligible-writing.jpg" loading="lazy"/>
  416. </div>
  417. <div class="slide-text">
  418. <p>When you subscribe to a newsletter you don’t have to keep coming back to the source to see if there’s something new. Whenever a writer publishes something then you just get an email.</p>
  419. </div>
  420. </div>
  421. <div class="slide">
  422. <div class="slide-img">
  423. <img alt="Two men looking at a book" src="https://d33wubrfki0l68.cloudfront.net/e6c18a91be4dfae5afbd24dc78d04caa4e434013/5f6b2/uploads/essays/on-newsletters/42-my-friend-please.jpg" loading="lazy"/>
  424. </div>
  425. <div class="slide-text">
  426. <p>The problem with the web is that when you publish something it just sort of disappears from sight. Writers have to spam all the social networks to remind people that they even exist.</p>
  427. </div>
  428. </div>
  429. <div class="slide">
  430. <div class="slide-img">
  431. <img alt="A woman looks into a mirror to see a ghostly face look back" src="https://d33wubrfki0l68.cloudfront.net/a301ab2a12d2abb5f8e73726aff7f54210e00795/ad868/uploads/essays/on-newsletters/43-dead-aunt.jpg" loading="lazy"/>
  432. </div>
  433. <div class="slide-text">
  434. <p>And yet the web sort of has this built-in notification stream and sort of…doesn’t at the same time.</p>
  435. </div>
  436. </div>
  437. <div class="slide">
  438. <div class="slide-img">
  439. <img alt="A head rests on a table in a museum" src="https://d33wubrfki0l68.cloudfront.net/af374e5119fc7572c016b5b065ed830d003e1b3c/2bce6/uploads/essays/on-newsletters/44-talking-head.jpg" loading="lazy"/>
  440. </div>
  441. <div class="slide-text">
  442. <p>It’s called <abbr title="Really Simple Syndication">RSS</abbr>; an ancient, dusty technology that lets you subscribe to a website and see updates as they happen. With an <abbr title="Really Simple Syndication">RSS</abbr> reader app you can see what’s new from your favorite writers.</p>
  443. </div>
  444. </div>
  445. <div class="slide">
  446. <div class="slide-img">
  447. <img alt="Fortifications outside the city walls of the Alhambra" src="https://d33wubrfki0l68.cloudfront.net/d1792429d9f2a3a28a1260bb8c1463d536331ceb/2185f/uploads/essays/on-newsletters/45-alhambra-entrance.jpg" loading="lazy"/>
  448. </div>
  449. <div class="slide-text">
  450. <p>Basically my whole political platform is this: <abbr title="Really Simple Syndication">RSS</abbr> is the promised land.</p>
  451. </div>
  452. </div>
  453. <div class="slide">
  454. <div class="slide-img">
  455. <img alt="A dog reads the newspaper" src="https://d33wubrfki0l68.cloudfront.net/dd39c33ad7f91cd3937bc381cba38e35ed8a02bd/09875/uploads/essays/on-newsletters/46-reading-news.jpg" loading="lazy"/>
  456. </div>
  457. <div class="slide-text">
  458. <p>It’s the perfect way to read the web and to keep up to date with things. So much so that I consider my <abbr title="Really Simple Syndication">RSS</abbr> reader (Reeder.app) to be my favorite web browser, not Chrome, Firefox, or Safari.</p>
  459. </div>
  460. </div>
  461. <div class="slide">
  462. <div class="slide-img">
  463. <img alt="Manufacturing glass bottles" src="https://d33wubrfki0l68.cloudfront.net/830a5353ef847a92a59f9257e23dca22ccb53c9e/c9088/uploads/essays/on-newsletters/47-manufacture-bottles.jpg" loading="lazy"/>
  464. </div>
  465. <div class="slide-text">
  466. <p>The problem with <abbr title="Really Simple Syndication">RSS</abbr> is that you need to know that <abbr title="Really Simple Syndication">RSS</abbr> exists, how it works, which websites support it, etc. It’s nothing short of an enormous faff.</p>
  467. </div>
  468. </div>
  469. <div class="slide">
  470. <div class="slide-img">
  471. <img alt="A microscope" src="https://d33wubrfki0l68.cloudfront.net/af54d289a7b823eb99090271a6260cb4b4160743/ed9ee/uploads/essays/on-newsletters/48-microscope.jpg" loading="lazy"/>
  472. </div>
  473. <div class="slide-text">
  474. <p>But it’s not like <abbr title="Really Simple Syndication">RSS</abbr> is brain surgery, the problem is that it’s hidden away and just complicated enough that 99% of folks won’t care about it.</p>
  475. </div>
  476. </div>
  477. <div class="slide">
  478. <div class="slide-img">
  479. <img alt="An enormous steam hammer" src="https://d33wubrfki0l68.cloudfront.net/6210faf1e6db0b8a4dbc3434d7547559e246e8a0/09a03/uploads/essays/on-newsletters/49-creusot-steam-hammer.jpg" loading="lazy"/>
  480. </div>
  481. <div class="slide-text">
  482. <p>“<abbr title="Really Simple Syndication">RSS</abbr> is far too complex!” you might say. Well, <abbr title="Really Simple Syndication">RSS</abbr>-the-technology today is fantastically popular—it’s the machine that powers podcasts. So why isn’t <abbr title="Really Simple Syndication">RSS</abbr> used for websites if we use it everyday for audio?</p>
  483. </div>
  484. </div>
  485. <div class="slide">
  486. <div class="slide-img">
  487. <img alt="An enormous steam hammer" src="https://d33wubrfki0l68.cloudfront.net/97f535fa44d3867727163ad7987e6f6cad44dcf1/ec7cc/uploads/essays/on-newsletters/50-halleys-diving-bell.jpg" loading="lazy"/>
  488. </div>
  489. <div class="slide-text">
  490. <p>I reckon <abbr title="Really Simple Syndication">RSS</abbr> never reached critical scale for websites because it was never built into the browser itself. The failure here wasn’t the technology but the distance between <abbr title="Really Simple Syndication">RSS</abbr> and how we browse the web.</p>
  491. </div>
  492. </div>
  493. <div class="slide">
  494. <div class="slide-img">
  495. <img alt="Eads Bridge" src="https://d33wubrfki0l68.cloudfront.net/0eee64b31a37b2f46c9369bbb8c1e87b96bd92b4/15687/uploads/essays/on-newsletters/51-eads-bridge.jpg" loading="lazy"/>
  496. </div>
  497. <div class="slide-text">
  498. <p>Hear me out: if <abbr title="Really Simple Syndication">RSS</abbr> was renamed, rebranded, and brought to the surface of the browser then I expect legions of people would adore it. No longer would you have to give all these strangers your email address to sign up for the newsletter. </p>
  499. </div>
  500. </div>
  501. <div class="slide">
  502. <div class="slide-img">
  503. <img alt="A skeleton pursues a man on a bobsled" src="https://d33wubrfki0l68.cloudfront.net/885a7db651ccd1c46f27bb0dfd5ba3ea8f482e61/2f049/uploads/essays/on-newsletters/52-demon-pursuer.jpg" loading="lazy"/>
  504. </div>
  505. <div class="slide-text">
  506. <p>And if we could subscribe to websites easily then the web itself might not feel quite so forgettable.</p>
  507. </div>
  508. </div>
  509. <div class="slide slide-chapter">
  510. <div class="slide-text">
  511. <h2>Part Three</h2>
  512. <p>Paying writers is too damn hard</p>
  513. </div>
  514. </div>
  515. <div class="slide">
  516. <div class="slide-img">
  517. <img alt="A ghostly figure haunts a woodsman" src="https://d33wubrfki0l68.cloudfront.net/dde81c62cb9622bca205d421b22c72cb4bbc2cd6/bae94/uploads/essays/on-newsletters/53-mercury-woodman.jpg" loading="lazy"/>
  518. </div>
  519. <div class="slide-text">
  520. <p>This has been called the original sin of the internet. Since you can’t pay someone directly through the browser, the thinking goes, then all these other hacks pop up to squeeze money out of folks; invasive and ugly advertising, privacy-breaking data collection, etc. </p>
  521. </div>
  522. </div>
  523. <div class="slide">
  524. <div class="slide-img">
  525. <img alt="A room full of people clap" src="https://d33wubrfki0l68.cloudfront.net/171c1c031c0bb575c3c97d04a3abebd67c51ee67/b37df/uploads/essays/on-newsletters/54-gun-club-meeting.jpg" loading="lazy"/>
  526. </div>
  527. <div class="slide-text">
  528. <p>If you have enough technical knowledge or a big enough following then you can build a subscription service for your website. This isn’t possible for a lot of writers though.</p>
  529. </div>
  530. </div>
  531. <div class="slide">
  532. <div class="slide-img">
  533. <img alt="A diamond boring machine" src="https://d33wubrfki0l68.cloudfront.net/fc0441cc652ec765212fce76b4681000a4416494/d2268/uploads/essays/on-newsletters/55-diamond-boring-machine.jpg" loading="lazy"/>
  534. </div>
  535. <div class="slide-text">
  536. <p>But why should subscribing to a website be any more complex than subscribing to a newsletter? Why do I have to go through Substack or Patreon or the Kindle as a middleman?</p>
  537. </div>
  538. </div>
  539. <div class="slide">
  540. <div class="slide-img">
  541. <img alt="A diamond boring machine" src="https://d33wubrfki0l68.cloudfront.net/9d6a66b45c875b2d0e20f34e72a9b8ae102be9b6/bc47a/uploads/essays/on-newsletters/56-corpse-candles.jpg" loading="lazy"/>
  542. </div>
  543. <div class="slide-text">
  544. <p>Look—I adore these services because they open the doors for so many new writers and buck wild stories. But that’s only because the web itself is so damn difficult to make work as an independent publishing platform.</p>
  545. </div>
  546. </div>
  547. <div class="slide">
  548. <div class="slide-img">
  549. <img alt="A man is pushed off a gangplank" src="https://d33wubrfki0l68.cloudfront.net/66c362c4b819a6327854a1b28857dd73cfac5532/49564/uploads/essays/on-newsletters/57-walking-plank.jpg" loading="lazy"/>
  550. </div>
  551. <div class="slide-text">
  552. <p>Paying and subscribing to a writer’s work should be one click away, without having to go through a middleman who takes a big percentage off the top.</p>
  553. </div>
  554. </div>
  555. <div class="slide">
  556. <div class="slide-img">
  557. <img class="slide-img__coins" alt="Coins" src="https://d33wubrfki0l68.cloudfront.net/679a7dfc3d46f1165bfc732d13669c5711ef410b/e8a6e/uploads/essays/on-newsletters/58-coins.jpg" loading="lazy"/>
  558. </div>
  559. <div class="slide-text">
  560. <p>There are neat developments in this space: services like Coil or web browsers like Puma are worth paying attention to because they’re trying to upend the way that money is distributed on the web.</p>
  561. </div>
  562. </div>
  563. <div class="slide">
  564. <div class="slide-img">
  565. <img alt="" src="https://d33wubrfki0l68.cloudfront.net/9f9a6564620437a47899dc96a111f648424a9665/99575/uploads/essays/on-newsletters/59-dragged.jpg" loading="lazy"/>
  566. </div>
  567. <div class="slide-text">
  568. <p>There’s also, well, brace yourself: the Web Monetization <abbr tite="Application programming interface">API</abbr>. That sounds scary! But I think it’s where things get truly interesting (although it’s still far too complicated for most writers to benefit from).</p>
  569. </div>
  570. </div>
  571. <div class="slide">
  572. <div class="slide-img">
  573. <img alt="A painter at work" src="https://d33wubrfki0l68.cloudfront.net/7587591963c6c5d1669fd5daf0d73d499647a857/29303/uploads/essays/on-newsletters/60-painter-at-work.jpg" loading="lazy"/>
  574. </div>
  575. <div class="slide-text">
  576. <p>My point here is that being able to pay folks easily through the browser could open the door for all sorts of other artists, not just writers. </p>
  577. </div>
  578. </div>
  579. <div class="slide">
  580. <div class="slide-img">
  581. <img alt="A young boy rides a strange contraption" src="https://d33wubrfki0l68.cloudfront.net/427f96f06a8157a19880aa6b7bfa2d27fa34aba7/f38ab/uploads/essays/on-newsletters/61-deghens-machine.jpg" loading="lazy"/>
  582. </div>
  583. <div class="slide-text">
  584. <p>Also, writers choose a newsletter service like Substack because the business model is straightforward. I just sort of wish this infrastructure was built into websites themselves.</p>
  585. </div>
  586. </div>
  587. <div class="slide">
  588. <div class="slide-img">
  589. <img alt="A man is led into a secret door by the devil" src="https://d33wubrfki0l68.cloudfront.net/ba0c9d16d0e01a612289a214e4f11b78ccb26353/65f05/uploads/essays/on-newsletters/62-stealing.jpg" loading="lazy"/>
  590. </div>
  591. <div class="slide-text">
  592. <p>My point is this: there’s a viable alternative to newsletters if we fill in all these gaps.</p>
  593. </div>
  594. </div>
  595. <div class="slide">
  596. <div class="slide-img">
  597. <img alt="Two men float in a balloon" src="https://d33wubrfki0l68.cloudfront.net/62fc73d6f32670ac7d4d0ad9be050123d329816f/c6aee/uploads/essays/on-newsletters/63-altitude-experiments.jpg" loading="lazy"/>
  598. </div>
  599. <div class="slide-text">
  600. <p>All I know is that the web today is not made for us. It’s no longer made for people to send charming bits of texts to strangers. </p>
  601. </div>
  602. </div>
  603. <div class="slide">
  604. <div class="slide-img">
  605. <img alt="A person in a very strange underwater suit" src="https://d33wubrfki0l68.cloudfront.net/e63d59939ea14f0af780cf611c505de0e7c2ff18/24dbb/uploads/essays/on-newsletters/64-klingerts-diving-machine.jpg" loading="lazy"/>
  606. </div>
  607. <div class="slide-text">
  608. <p>Instead, I see the web as this public good that’s been hijacked by companies trying to sell us mostly heartless junk.</p>
  609. </div>
  610. </div>
  611. <div class="slide">
  612. <div class="slide-img">
  613. <img alt="Knights storm a castle" src="https://d33wubrfki0l68.cloudfront.net/951638265d560f2edf87fbde65c885007fd67087/00fd1/uploads/essays/on-newsletters/65-scotch-soldiers.jpg" loading="lazy"/>
  614. </div>
  615. <div class="slide-text">
  616. <p>The web today is built for apps—and I think we need to take it back.</p>
  617. </div>
  618. </div>
  619. <div class="slide">
  620. <div class="slide-img">
  621. <img alt="Knights storm a castle" src="https://d33wubrfki0l68.cloudfront.net/9b1770c131eee0001fae9ed4daa918d6dc3efb0b/ddbd6/uploads/essays/on-newsletters/66-time-zone-watch.jpg" loading="lazy"/>
  622. </div>
  623. <div class="slide-text">
  624. <p>Because there are so many break-ups and coffee beans to write about! There are stories about clocks and Northumberland flower gardens waiting to be recorded, gift-wrapped, and delivered to us!</p>
  625. </div>
  626. </div>
  627. <div class="slide">
  628. <div class="slide-img">
  629. <img alt="A woman reads a letter" src="https://d33wubrfki0l68.cloudfront.net/8b43b25d450b70601565f2208f15e12e4e94441a/43b84/uploads/essays/on-newsletters/67-imogen.jpg" loading="lazy"/>
  630. </div>
  631. <div class="slide-text">
  632. <p>What really excites me about the sudden popularity of newsletters is that it shows us how people desperately want this kind of writing still. They value the web in the same way that I do.</p>
  633. </div>
  634. </div>
  635. <div class="slide">
  636. <div class="slide-img">
  637. <img alt="A monster attacks a ship" src="https://d33wubrfki0l68.cloudfront.net/bbb7dc5e7515a24e1111fe1ba9398ef4744c44f2/8e05f/uploads/essays/on-newsletters/68-arm-glided.jpg" loading="lazy"/>
  638. </div>
  639. <div class="slide-text">
  640. <p>What this also shows me is that we haven’t given everything up to social networks yet. This makes me hopeful&hellip;</p>
  641. </div>
  642. </div>
  643. <div class="slide">
  644. <div class="slide-img">
  645. <img alt="A monster attacks a ship" src="https://d33wubrfki0l68.cloudfront.net/3f8c5b9e0f6632d5a577439aef737517c9f45462/c73bc/uploads/essays/on-newsletters/69-electrical-devices.jpg" loading="lazy"/>
  646. </div>
  647. <div class="slide-text">
  648. <p>&hellip;because the web is still unfinished and there’s so much work left to do.</p>
  649. </div>
  650. </div>
  651. <div class="slide slide--empty"></div>
  652. <div class="slide">
  653. <div class="slide-img">
  654. <img alt="Making a toast at dinner" src="https://d33wubrfki0l68.cloudfront.net/5f7ab537a82a544e7e0476506c67f887d3f23add/ccb64/uploads/essays/on-newsletters/70-toast.jpg" loading="lazy"/>
  655. </div>
  656. <div class="slide-text">
  657. <p>Special thanks to <a href="https://www.oldbookillustrations.com/">Old Book Illustations</a> for all these lovely woodcuts and metal engravings. Also thanks to Lucy Bellwood, Celine Xu, Jez Burrows, Tori Hinn, Ali Burnett, Crick, and the Letterform Archive for the <a href="https://shop.letterformarchive.org/products/aluminia-fonts?variant=7014645497892">LfA Aluminia</a> type family.</p>
  658. </div>
  659. </div>
  660. <div class="slide">
  661. <div class="slide-img">
  662. <img alt="A man saying goodbye" src="https://d33wubrfki0l68.cloudfront.net/f42cfe7701cea3ef92ab5a172ac2e68b418ef8eb/f07fa/uploads/essays/on-newsletters/71-after-dark.jpg" loading="lazy"/>
  663. </div>
  664. <div class="slide-text">
  665. <p>Now go away.</p>
  666. </div>
  667. </div>
  668. </article>
  669. <hr>
  670. <footer>
  671. <p>
  672. <a href="/david/" title="Aller à l’accueil"><svg class="icon icon-home">
  673. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-home"></use>
  674. </svg> Accueil</a> •
  675. <a href="/david/log/" title="Accès au flux RSS"><svg class="icon icon-rss2">
  676. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-rss2"></use>
  677. </svg> Suivre</a> •
  678. <a href="http://larlet.com" title="Go to my English profile" data-instant><svg class="icon icon-user-tie">
  679. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-user-tie"></use>
  680. </svg> Pro</a> •
  681. <a href="mailto:david%40larlet.fr" title="Envoyer un courriel"><svg class="icon icon-mail">
  682. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-mail"></use>
  683. </svg> Email</a> •
  684. <abbr class="nowrap" title="Hébergeur : Alwaysdata, 62 rue Tiquetonne 75002 Paris, +33184162340"><svg class="icon icon-hammer2">
  685. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-hammer2"></use>
  686. </svg> Légal</abbr>
  687. </p>
  688. <template id="theme-selector">
  689. <form>
  690. <fieldset>
  691. <legend><svg class="icon icon-brightness-contrast">
  692. <use xlink:href="/static/david/icons2/symbol-defs-2021-12.svg#icon-brightness-contrast"></use>
  693. </svg> Thème</legend>
  694. <label>
  695. <input type="radio" value="auto" name="chosen-color-scheme" checked> Auto
  696. </label>
  697. <label>
  698. <input type="radio" value="dark" name="chosen-color-scheme"> Foncé
  699. </label>
  700. <label>
  701. <input type="radio" value="light" name="chosen-color-scheme"> Clair
  702. </label>
  703. </fieldset>
  704. </form>
  705. </template>
  706. </footer>
  707. <script src="/static/david/js/instantpage-5.1.0.min.js" type="module"></script>
  708. <script>
  709. function loadThemeForm(templateName) {
  710. const themeSelectorTemplate = document.querySelector(templateName)
  711. const form = themeSelectorTemplate.content.firstElementChild
  712. themeSelectorTemplate.replaceWith(form)
  713. form.addEventListener('change', (e) => {
  714. const chosenColorScheme = e.target.value
  715. localStorage.setItem('theme', chosenColorScheme)
  716. toggleTheme(chosenColorScheme)
  717. })
  718. const selectedTheme = localStorage.getItem('theme')
  719. if (selectedTheme && selectedTheme !== 'undefined') {
  720. form.querySelector(`[value="${selectedTheme}"]`).checked = true
  721. }
  722. }
  723. const prefersColorSchemeDark = '(prefers-color-scheme: dark)'
  724. window.addEventListener('load', () => {
  725. let hasDarkRules = false
  726. for (const styleSheet of Array.from(document.styleSheets)) {
  727. let mediaRules = []
  728. for (const cssRule of styleSheet.cssRules) {
  729. if (cssRule.type !== CSSRule.MEDIA_RULE) {
  730. continue
  731. }
  732. // WARNING: Safari does not have/supports `conditionText`.
  733. if (cssRule.conditionText) {
  734. if (cssRule.conditionText !== prefersColorSchemeDark) {
  735. continue
  736. }
  737. } else {
  738. if (cssRule.cssText.startsWith(prefersColorSchemeDark)) {
  739. continue
  740. }
  741. }
  742. mediaRules = mediaRules.concat(Array.from(cssRule.cssRules))
  743. }
  744. // WARNING: do not try to insert a Rule to a styleSheet you are
  745. // currently iterating on, otherwise the browser will be stuck
  746. // in a infinite loop…
  747. for (const mediaRule of mediaRules) {
  748. styleSheet.insertRule(mediaRule.cssText)
  749. hasDarkRules = true
  750. }
  751. }
  752. if (hasDarkRules) {
  753. loadThemeForm('#theme-selector')
  754. }
  755. })
  756. </script>
  757. </body>
  758. </html>