···55### Bugs
6677- [ ] Safari rotates the back side of the postcard the opposite direction to _every other browser_. Which is extremely annoying. I need to figure out a workaround.
88+- [ ] Fix locale flags for Windows users
89910### Ideas
10111112- [ ] Include a map, blocking off the parts of the world that I've received a postcard from. Voronoi colouring for countries with more than one?
1212-- [ ] Add RSS feed for postcards
1313+1414+### Done ✔
1515+1616+- [x] Add RSS feed for postcards
+26
feed.xml.tmpl
···11+<?xml version="1.0" encoding="utf-8" standalone="yes"?>
22+<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
33+ <channel>
44+ <title>Shut up JP</title>
55+ <link>https://shutpup.jp/</link>
66+ <description>A collection of postcards sent to me by my friend, Claire, inviting me to 'shut up' from many places and in many languages over many years.</description>
77+ <language>en-GB</language>
88+ <managingEditor>hello@shutup.jp (JP Hastings-Spital)</managingEditor>
99+ <webMaster>hello@shutup.jp (JP Hastings-Spital)</webMaster>
1010+ <copyright>CC BY-NC-SA 4.0</copyright>
1111+ <lastBuildDate>{{ now.Format "Mon, 02 Jan 2006 15:04:05 -0700" }}</lastBuildDate>
1212+ {{ range . }}
1313+ <item>
1414+ <title>{{ with .Location }}{{ .Name }}{{ end }}{{ with .SentOn }} ({{ .Format "January 2, 2006" }}){{ end }}</title>
1515+ <link>/#{{ .Name }}</link>
1616+ <pubDate>{{ with .SentOn }}{{ .Format "Mon, 02 Jan 2006 15:04:05 -0700" }}{{ end }}</pubDate>
1717+ <guid>{{ .Name }}</guid>
1818+ <content:encoded>
1919+ <p>Another delightfully curt postcard I received from Claire on {{ with .SentOn }}{{ .Format "January 1, 2006" }}{{ end }}. It reads:</p>
2020+ {{- .Back.Transcription | safeHTML -}}
2121+ </content:encoded>
2222+ <enclosure url="/{{.Name}}.webp" type="image/webp"/>
2323+ </item>
2424+ {{ end }}
2525+ </channel>
2626+</rss>
···1111 <link rel="canonical" href="https://shutup.jp">
1212 <link rel="stylesheet" href="postcard.css">
1313 <link rel="stylesheet" href="shutup.css">
1414+ <link rel="alternate" type="application/rss+xml" href="/feed.xml" title="Shut up JP">
1415 </head>
1516 <body>
1617 <section class="explain">
1718 <p>One day, after months of silence, my friend <a href="https://www.instagram.com/claire.durrant88/">Claire</a> sent me a text message of only 3 words:</p>
1818- <h1>Shut up, JP</h1>
1919+ <h1>Shut up JP</h1>
1920 <p>Knowing my <a href="https://www.byjp.me/posts/thoughts-on-postcards/" target="_blank">love of postcards</a>, she started sending me this invaluable advice by mail too – from every country she visited, and in every language the friendly (and presumably deeply confused) locals help her write in.</p>
2021 <p>It's just shy of a decade later and, apparently, I've <em>still</em> not got the message.</p>
2122 <cite><a target="_blank" href="https://www.byjp.me">JP</a></cite>
···23242425 {{ range . }}
2526 <figure>
2626- <input type="checkbox" id="flip-{{.Name}}">
2727- <label for="flip-{{.Name}}">
2727+ <input type="checkbox" id="{{.Name}}">
2828+ <label for="{{.Name}}">
2829 <div class="postcard {{ .Flip }} {{ if gt .FrontDimensions.PxHeight .FrontDimensions.PxWidth }}portrait{{ else }}landscape{{ end }}" style="--postcard: url('{{ .Name }}.webp'); --aspect-ratio: {{ .FrontDimensions.PxWidth }} / {{ .FrontDimensions.PxHeight }}">
2930 <img src="{{ .Name }}.webp" loading="lazy" alt="{{ .Front.Description }}" width="500px">
3031 <div></div>
···3637 <div class="transcription">{{- .Back.Transcription | safeHTML -}}</div>
3738 </figcaption>
3839 </figure>
3939- {{ end }}
4040+ {{ end }}
40414142 <section class="explain">Shut up Claire.</section>
4243 </body>