1
0
Fork
You've already forked website
0

Replace jpmonette/feed RSS feed by mustache Atom template #57

Merged
robinmetral merged 2 commits from feed into main 2024年08月14日 15:36:25 +02:00
robinmetral commented 2024年08月14日 15:14:24 +02:00 (Migrated from github.com)
Copy link
  • feed validates
  • feed URL hasn't changed—no need for a 301
  • RSS2 guid === Atom id, so it shouldn't mark everything as read
  • bonus: now with actual note contents
  • bonus 2: feed contains the last 30 posts to keep the file small

Before: RSS2 (via jpmonette/feed):

<item>
<title>The First Slam Dunk by Takehiko Inoue</title>
<link>
https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/
</link>
<guid>
https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/
</guid>
<pubDate>2024年5月29日 00:00:00 GMT</pubDate>
<content:encoded>
<a href="https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/">The First Slam Dunk by Takehiko Inoue</a>
</content:encoded>
<author>robin@metral.ch (Robin Métral)</author>
</item>

After: Atom (via homemade mustache template):

<entry>
<title>The First Slam Dunk by Takehiko Inoue</title>
<link href="https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/"/>
<id>
https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/
</id>
<published>2024年05月29日T00:00:00.000Z</published>
<updated>2024年05月29日T00:00:00.000Z</updated>
<content type="html" xml:base="https://robinmetral.com" xml:lang="en">
<p>2022 anime film by Japanese mangaka-turned-director Takehiko Inoue, based on his 1990s basketball manga <a href="https://en.wikipedia.org/wiki/Slam_Dunk_(manga)">Slam Dunk</a>.</p> <p>We don't usually watch animes — this had been on our to-watch list mostly because it came <a href="https://www.indiewire.com/criticism/movies/the-first-slam-dunk-movie-review-1234889359/">highly recommended by David Ehrlich</a>.</p> <p>It was good! I liked the film's structure: one long basketball game with flashbacks into each player's backstory. The stories themselves didn't really pull me in, though: I found them pretty cliché/shallow, a bit too high-schoolish for my taste, with every character being a tortured teenager. And somewhat hard to follow sometimes.</p> <p>The animation was — unsurprisingly — what stood out to me. Ehrlich says it best:</p> <blockquote> <p>Inoue exploits the medium’s temporal elasticity to create a level of character detail that would seem impossible to sustain with live-action.</p> </blockquote> <p>Wish I had such good words.</p> <p>6/10</p>
</content>
</entry>
- [x] feed validates - [x] feed URL hasn't changed—no need for a 301 - [x] RSS2 `guid` === Atom `id`, so it shouldn't mark everything as read - [x] bonus: now with actual note contents - [x] bonus 2: feed contains the last 30 posts to keep the file small --- Before: RSS2 (via jpmonette/feed): ```xml <item> <title>The First Slam Dunk by Takehiko Inoue</title> <link> https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/ </link> <guid> https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/ </guid> <pubDate>2024年5月29日 00:00:00 GMT</pubDate> <content:encoded> <a href="https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/">The First Slam Dunk by Takehiko Inoue</a> </content:encoded> <author>robin@metral.ch (Robin Métral)</author> </item> ``` After: Atom (via homemade mustache template): ```xml <entry> <title>The First Slam Dunk by Takehiko Inoue</title> <link href="https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/"/> <id> https://robinmetral.com/notes/the-first-slam-dunk-by-takehiko-inoue/ </id> <published>2024年05月29日T00:00:00.000Z</published> <updated>2024年05月29日T00:00:00.000Z</updated> <content type="html" xml:base="https://robinmetral.com" xml:lang="en"> <p>2022 anime film by Japanese mangaka-turned-director Takehiko Inoue, based on his 1990s basketball manga <a href="https://en.wikipedia.org/wiki/Slam_Dunk_(manga)">Slam Dunk</a>.</p> <p>We don't usually watch animes — this had been on our to-watch list mostly because it came <a href="https://www.indiewire.com/criticism/movies/the-first-slam-dunk-movie-review-1234889359/">highly recommended by David Ehrlich</a>.</p> <p>It was good! I liked the film's structure: one long basketball game with flashbacks into each player's backstory. The stories themselves didn't really pull me in, though: I found them pretty cliché/shallow, a bit too high-schoolish for my taste, with every character being a tortured teenager. And somewhat hard to follow sometimes.</p> <p>The animation was — unsurprisingly — what stood out to me. Ehrlich says it best:</p> <blockquote> <p>Inoue exploits the medium’s temporal elasticity to create a level of character detail that would seem impossible to sustain with live-action.</p> </blockquote> <p>Wish I had such good words.</p> <p>6/10</p> </content> </entry> ```
cloudflare-workers-and-pages[bot] commented 2024年08月14日 15:34:32 +02:00 (Migrated from github.com)
Copy link

Deploying robinmetral with Cloudflare Pages Cloudflare Pages

Latest commit: 4bd920a
Status: Deploy successful!

View logs

## Deploying robinmetral with &nbsp;<a href="https://pages.dev"><img alt="Cloudflare Pages" src="https://user-images.githubusercontent.com/23264/106598434-9e719e00-654f-11eb-9e59-6167043cfa01.png" width="16"></a> &nbsp;Cloudflare Pages <table><tr><td><strong>Latest commit:</strong> </td><td> <code>4bd920a</code> </td></tr> <tr><td><strong>Status:</strong></td><td>&nbsp;✅&nbsp; Deploy successful!</td></tr> <tr><td><strong>Preview URL:</strong></td><td> <a href='https://d13a4017.robinmetral.pages.dev'>https://d13a4017.robinmetral.pages.dev</a> </td></tr> <tr><td><strong>Branch Preview URL:</strong></td><td> <a href='https://feed.robinmetral.pages.dev'>https://feed.robinmetral.pages.dev</a> </td></tr> </table> [View logs](https://dash.cloudflare.com/?to=/:account/pages/view/robinmetral/d13a4017-34ce-4c58-b068-92d90f76a585)
Sign in to join this conversation.
No reviewers
Labels
Clear labels
No items
No labels
Milestone
Clear milestone
No items
No milestone
Projects
Clear projects
No items
No project
Assignees
Clear assignees
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
robinmetral/website!57
Reference in a new issue
robinmetral/website
No description provided.
Delete branch "feed"

Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?