remove goodreads fetching, added grand hotel link

This commit is contained in:
Wouter Groeneveld 2022-12-24 10:43:50 +01:00
parent 69c5c78584
commit c874976c3b
3 changed files with 5 additions and 31 deletions

View File

@ -7,7 +7,7 @@ tags:
- book review
---
The last book I read [this year](/post/2022/12/2022-in-books) was _Grand Hotel Europa_ from Ilja Leonard Pfeijffer, a lengthy critique on mass tourism and Europe's obsession with its past disguised as an innocent looking novel. It's masterfully written. Ilja himself plays the lead, reliving memories of his past flame in Venice while staying at a deprecating hotel that once was grand and now is being converted into a Chinese tourist trap.
The last book I read [this year](/post/2022/12/2022-in-books) was _[Grand Hotel Europa](https://iljapfeijffer.com/en/work/prose/grand-hotel-europa/)_ from Ilja Leonard Pfeijffer, a lengthy critique on mass tourism and Europe's obsession with its past disguised as an innocent looking novel. It's masterfully written. Ilja himself plays the lead, reliving memories of his past flame in Venice while staying at a deprecating hotel that once was grand and now is being converted into a Chinese tourist trap.
The agony of a crumbling Europe that wanes under the pressure of global capitalism, where apparently consumerism and mass tourism are the only options to keep the economic balance at a status quo, was heartbreaking to read. Venice is clearly struggling to deal with the millions of tourists that huge cruises vomit into the city. And Ilja's Venice is just an example. Never before have cheap flight tickets caused that much damage---damage we all too willingly ignore in favor of a relaxing holiday, preferably including a quick shopping spree at a very "instagrammable" location. Perhaps Schopenhauer was right: living on this earth can be quite the penance.

View File

@ -6,32 +6,14 @@ const wmconfig = require('./_conf.js');
const rootdir = `${__dirname}/../`;
(async function() {
// 1. parse Mastodon RSS feed
// currently disabling notes, as after 3 months, I find these do not bring anything relevant to the table.
/*
console.log("1. parsing Mastodon RSS feed...")
await mastodon.parseFeed({
notesdir: `${__dirname}/content/notes`,
url: "https://chat.brainbaking.com/users/wouter/feed",
utcOffset: 60,
titleCount: 50,
ignoreReplies: true
})
*/
// 2. update goodreads JS widget
console.log("2. Updating Goodreads Widget...")
const widget = await goodreads.createWidget("https://www.goodreads.com/review/grid_widget/5451893.Wouter's%20bookshelf:%20read?cover_size=medium&hide_link=&hide_title=&num_books=12&order=d&shelf=read&sort=date_added&widget_id=1496758344")
await fsp.writeFile(`${rootdir}/static/js/goodreads.js`, widget.replace(/src=/g, "loading=\"lazy\" src="), 'utf-8')
// 3. get webmentions
console.log("4. Fetching webmentions...")
// 1. get webmentions
console.log("1. Fetching webmentions...")
const mentions = await webmention.getWebmentions("brainbaking.com", wmconfig)
const json = JSON.stringify(mentions, null, 4)
await fsp.writeFile(`${rootdir}/data/webmentions.json`, json, 'utf-8')
// 4. generate youtube thumbnails
console.log("5. Generating YouTube thumbnails...")
// 2. generate youtube thumbnails
console.log("2. Generating YouTube thumbnails...")
await youtube.thumbify({
postDir: `${rootdir}/content/post`,
downloadDir: `${rootdir}/static/img/yt`,

File diff suppressed because one or more lines are too long