get rid of notes that are essentially replies on mastodon. they are worthless on brainbaking and pollute the RSS feed!

This commit is contained in:
Wouter Groeneveld 2021-03-20 13:21:41 +01:00
parent 6556dbba8d
commit 28621f7212
18 changed files with 19 additions and 122 deletions

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/bd940e2d-12b0-4649-b198-053a49f81d34"
context: "https://mastodon.laurakalbag.com/users/laura/statuses/105798277886464888"
title: "@laura It did more than helping! I'm slowly but surely taking back my data. Started with Ever..."
date: "2021-02-26T19:55:59"
---
<span class="h-card"><a class="u-url mention" data-user="A4fIvtjUepzOyQooXg" href="https://mastodon.laurakalbag.com/@laura" rel="ugc">@<span>laura</span></a></span> It did more than helping! I&#39;m slowly but surely taking back my data. Started with Evernote -&gt; DEVONThink, got to Gmail -&gt; ProtonMail, and now to Android -&gt; LineageOS. All your fault 😂

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/eceb0da5-f424-4acb-b5ae-65a820d8b1eb"
context: "https://vis.social/users/darth_mall/statuses/105580591640900315"
title: "@darth_mall Interesting, did you use Bridgy to convert Mastodon posts into webmentions? Many site..."
date: "2021-02-28T11:47:37"
---
<span class="h-card"><a class="u-url mention" data-user="A4jKa9Q2dIr3nGJlJY" href="https://vis.social/@darth_mall" rel="ugc">@<span>darth_mall</span></a></span> Interesting, did you use Bridgy to convert Mastodon posts into webmentions? Many sites seem to use it, but it of course only scans your own Twitter/Masto feed. IMO, this renders it a bit useless unless you&#39;re very popular (😰). Anyone you don&#39;t know could talk about a post on your site, but it won&#39;t be received since these systems do not push webmentions themselves. Furthermore, I do not see anyone manually posting a link at the end of a post - that kind of defeats the purpose. <br>That said, is it working for you?

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/feb772dc-ffec-45c9-be75-51d56c5457ff"
context: "https://aus.social/users/aussocialadmin/statuses/105817435308293091"
title: "@aussocialadmin Great! I didn&#39;t even know https://joinmobilizon.org/ existed, thanks for shar..."
date: "2021-03-02T13:18:54"
---
<span class="h-card"><a class="u-url mention" data-user="A4nTeVFn4QjKtHVqpU" href="https://aus.social/@aussocialadmin" rel="ugc">@<span>aussocialadmin</span></a></span> Great! I didn&#39;t even know <a href="https://joinmobilizon.org/" rel="ugc">https://joinmobilizon.org/</a> existed, thanks for sharing! So many superb alternatives. If only the userbase would follow...

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/e31b1547-31b5-4a35-8c6d-535cdaec4725"
context: "https://social.linux.pizza/users/StampedingLonghorn/statuses/105821068976933063"
title: "@StampedingLonghorn @256 Don&#39;t forget the cleverly hidden Roland MT-32, a majestic piece of p..."
date: "2021-03-02T17:13:27"
---
<span class="h-card"><a class="u-url mention" data-user="A4nwg4LYyh4WgrJOXg" href="https://social.linux.pizza/@StampedingLonghorn" rel="ugc">@<span>StampedingLonghorn</span></a></span> <span class="h-card"><a class="u-url mention" data-user="A4kSMHDHqoHahjCthg" href="https://mastodon.social/@256" rel="ugc">@<span>256</span></a></span> Don&#39;t forget the cleverly hidden Roland MT-32, a majestic piece of pre-MIDI standardized era synthesizer. What else would you use to run Sierra Online games, and monkey1? I really need one for my 486... <a href="https://brainbaking.com/post/2021/02/my-retro-desktop-setup/" rel="ugc">https://brainbaking.com/post/2021/02/my-retro-desktop-setup/</a>

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/2e58289c-f5f0-415c-b2e1-62c74662aa16"
context: "https://social.linux.pizza/users/StampedingLonghorn/statuses/105821099684887793"
title: "@StampedingLonghorn I tried to chase him away, but you know how that turned out... 😼 There&#39;s ..."
date: "2021-03-02T17:18:46"
---
<span class="h-card"><a class="u-url mention" data-user="A4nwg4LYyh4WgrJOXg" href="https://social.linux.pizza/@StampedingLonghorn" rel="ugc">@<span>StampedingLonghorn</span></a></span> I tried to chase him away, but you know how that turned out... 😼 There&#39;s even cat hair inside the cases... (to be clear: also unintentional)

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/3d01c975-bdf7-430d-b65d-069362a937bf"
context: "https://bsd.network/users/rubenerd/statuses/105831716720720259"
title: "@rubenerd out of curiosity: are both synced in any way? If not, are you sure the migraine isnt fr..."
date: "2021-03-04T14:52:55"
---
<span class="h-card"><a class="u-url mention" data-user="A4fIbZoZ0HNJPHV4Vs" href="https://bsd.network/@rubenerd" rel="ugc">@<span>rubenerd</span></a></span> out of curiosity: are both synced in any way? If not, are you sure the migraine isnt from checking both walls? 😇

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/3349fc64-6a9d-454a-97e3-77ef40716d3f"
context: "https://mastodon.social/users/rsolva/statuses/105873380693241916"
title: "@rsolva @aral @laura Great incentive Ruben, I chim..."
date: "2021-03-12T19:17:26"
---
<span class="h-card"><a class="u-url mention" data-user="A58ShiR61N9xSQZPDk" href="https://mastodon.social/@rsolva" rel="ugc">@<span>rsolva</span></a></span> <span class="h-card"><a class="u-url mention" data-user="A58ShkZg4RDE5cbHsG" href="https://mastodon.ar.al/@aral" rel="ugc">@<span>aral</span></a></span> <span class="h-card"><a class="u-url mention" data-user="A54UboCD7EY4rO4wgi" href="https://mastodon.laurakalbag.com/@laura" rel="ugc">@<span>laura</span></a></span> Great incentive Ruben, I chimed in and also became a backer! Loving what you guys do. Hopefully the latest video will be online shortly, I missed the live stream.

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/5bae531f-619f-42a3-ae71-94d02bd42f5f"
context: "https://mastodon.social/users/rsolva/statuses/105879494643524069"
title: "@rsolva that's a lie indeed 😁 see https://brainba..."
date: "2021-03-13T09:58:25"
---
<span class="h-card"><a class="u-url mention" data-user="A58ShiR61N9xSQZPDk" href="https://mastodon.social/@rsolva" rel="ugc">@<span>rsolva</span></a></span> that's a lie indeed 😁 see <a href="https://brainbaking.com/post/2021/03/getting-rid-of-tracking-using-lineageos/" rel="ugc">https://brainbaking.com/post/2021/03/getting-rid-of-tracking-using-lineageos/</a> I use davx5 and it works flawlessly

View File

@ -1,9 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/3d6125ba-b9e6-455f-9640-8ca3b134545c"
context: "https://mastodon.social/users/rsolva/statuses/105882245174610605"
title: "@rsolva whoops overlooked the word 'native'.Well, ..."
date: "2021-03-13T12:44:29"
---
<span class="h-card"><a class="u-url mention" data-user="A58ShiR61N9xSQZPDk" href="https://mastodon.social/@rsolva" rel="ugc">@<span>rsolva</span></a></span> whoops overlooked the word 'native'.Well, all I can say is: it works!

View File

@ -1,8 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/0d3f05be-bd4c-445d-b6ec-8f88ced67054"
context: "https://social.winter.ink/users/robert/statuses/105899219688492733"
title: "@robert @kev @celia I run an instance-of-one Plero..."
date: "2021-03-16T12:38:27"
---
<span class="h-card"><a class="u-url mention" data-user="A5B4KIqbB6t20egJhQ" href="https://social.winter.ink/@robert" rel="ugc">@<span>robert</span></a></span> <span class="h-card"><a class="u-url mention" data-user="A54b8g0RBaIgjzczMu" href="https://fosstodon.org/@kev" rel="ugc">@<span>kev</span></a></span> <span class="h-card"><a class="u-url mention" data-user="A5GVjIHI6MH82H6iLQ" href="https://fosstodon.org/@celia" rel="ugc">@<span>celia</span></a></span> I run an instance-of-one Pleroma server and ps tells me it's using 8% of the 2GB RAM (postgres takes up even less). Also happy with the clean Soapbox UI. If you're already hiring a VPS, I see no reason to pay for <a href="http://masto.host" rel="ugc">masto.host</a>.

View File

@ -1,8 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/c271f1e8-8f9c-485b-847b-11f06fd69352"
context: "https://fosstodon.org/users/celia/statuses/105899752031442026"
title: "@celia @kev I have read both you and Kev's post on..."
date: "2021-03-16T17:07:14"
---
<span class="h-card"><a class="u-url mention" data-user="A5GVjIHI6MH82H6iLQ" href="https://fosstodon.org/@celia" rel="ugc">@<span>celia</span></a></span> <span class="h-card"><a class="u-url mention" data-user="A54b8g0RBaIgjzczMu" href="https://fosstodon.org/@kev" rel="ugc">@<span>kev</span></a></span> I have read both you and Kev's post on this and agree on some points indeed! But I'm not yet ready to give up webmentions. As an academic, the idea of citing/mentioning each other is very alluring 🤓. Plus, I needed an excuse to fiddle some more with JS... <br><br>As much as I loved using Wordpress before, I can't imagine going back to writing stuff in there instead of in markdown. Gotta keep the workflow short, though. Hope it helps you focus on what matters - content!

View File

@ -1,8 +0,0 @@
---
source: "https://chat.brainbaking.com/objects/b5b67e88-eda8-45dd-ab8f-54443b62e250"
context: "https://mastodon.technology/users/houkimenator/statuses/105921465093697801"
title: "@houkimenator Aren't you forgetting that it is (..."
date: "2021-03-20T12:12:08"
---
<span class="h-card"><a class="u-url mention" data-user="A5OhJ18LyRGm37qKgK" href="https://mastodon.technology/@houkimenator" rel="ugc">@<span>houkimenator</span></a></span> <br><br>Aren't you forgetting that it is (mostly) the state that makes sure universities receive funding to be able to do the research in the first place? Curious to see your view on that 'free' ecosystem in the future. I hope you aren't insinuating to privatize that fund flow. <br><br><span class="h-card"><a class="u-url mention" data-user="A58Lcc2JgjJWTxbCxU" href="https://mastodon.social/@fribbledom" rel="ugc">@<span>fribbledom</span></a></span>

View File

@ -1,3 +1,3 @@
{
"since": "2021-03-19T19:50:17.839Z"
"since": "2021-03-20T12:21:05.401Z"
}

View File

@ -10,7 +10,7 @@
"url": "https://www.jvt.me/mf2/2021/03/1bkre/",
"source": "https://www.jvt.me/mf2/2021/03/1bkre/",
"target": "https://brainbaking.com/post/2021/03/the-indieweb-mixed-bag/",
"publishedFromNow": "4 days ago",
"publishedFromNow": "5 days ago",
"relativeTarget": "/post/2021/03/the-indieweb-mixed-bag/"
},
{
@ -25,7 +25,7 @@
"url": "https://brainbaking.com/notes/2021/03/13h09m58s25/",
"source": "https://brainbaking.com/notes/2021/03/13h09m58s25/",
"target": "https://brainbaking.com/post/2021/03/getting-rid-of-tracking-using-lineageos/",
"publishedFromNow": "6 days ago",
"publishedFromNow": "7 days ago",
"relativeTarget": "/post/2021/03/getting-rid-of-tracking-using-lineageos/"
},
{
@ -40,7 +40,7 @@
"url": "https://brainbaking.com/notes/2021/03/09h15m17s30/",
"source": "https://brainbaking.com/notes/2021/03/09h15m17s30/",
"target": "https://brainbaking.com/post/2021/03/the-indieweb-mixed-bag/",
"publishedFromNow": "10 days ago",
"publishedFromNow": "11 days ago",
"relativeTarget": "/post/2021/03/the-indieweb-mixed-bag/"
},
{
@ -55,7 +55,7 @@
"url": "https://brainbaking.com/notes/2021/03/03h16m00s44/",
"source": "https://brainbaking.com/notes/2021/03/03h16m00s44/",
"target": "https://brainbaking.com/notes/",
"publishedFromNow": "16 days ago",
"publishedFromNow": "17 days ago",
"relativeTarget": "/notes/"
},
{
@ -70,7 +70,7 @@
"url": "https://brainbaking.com/notes/2021/03/03h16m00s44/",
"source": "https://brainbaking.com/notes/2021/03/03h16m00s44/",
"target": "http://brainbaking.com",
"publishedFromNow": "16 days ago",
"publishedFromNow": "17 days ago",
"relativeTarget": ""
},
{
@ -85,7 +85,7 @@
"url": "https://brainbaking.com/notes/2021/03/02h17m13s27/",
"source": "https://brainbaking.com/notes/2021/03/02h17m13s27/",
"target": "https://brainbaking.com/post/2021/02/my-retro-desktop-setup/",
"publishedFromNow": "17 days ago",
"publishedFromNow": "18 days ago",
"relativeTarget": "/post/2021/02/my-retro-desktop-setup/"
},
{
@ -100,7 +100,7 @@
"url": "https://brainbaking.com/notes/2021/03/01h20m03s35/",
"source": "https://brainbaking.com/notes/2021/03/01h20m03s35/",
"target": "https://brainbaking.com/post/2021/03/getting-rid-of-tracking-using-lineageos/",
"publishedFromNow": "18 days ago",
"publishedFromNow": "19 days ago",
"relativeTarget": "/post/2021/03/getting-rid-of-tracking-using-lineageos/"
}
]

View File

@ -10,7 +10,8 @@ const fsp = require('fs').promises;
notesdir: `${__dirname}/content/notes`,
url: "https://chat.brainbaking.com/users/wouter/feed",
utcOffset: 60,
titleCount: 50
titleCount: 50,
ignoreReplies: true
})
// 2. update goodreads JS widget
@ -33,7 +34,8 @@ const fsp = require('fs').promises;
// 5. send webmentions
console.log("5. Sending webmentions...")
await webmention.send("brainbaking.com", `${__dirname}/data/webmentions-since.json`)
const since = await webmention.send("brainbaking.com", `${__dirname}/data/webmentions-since.json`)
console.log(` -- done, since is now ${since}`)
console.log("-- all done!")
})()

View File

@ -25,6 +25,6 @@
},
"homepage": "https://brainbaking.com",
"dependencies": {
"jam-my-stack": "^1.0.13"
"jam-my-stack": "^1.0.15"
}
}

File diff suppressed because one or more lines are too long

View File

@ -1460,7 +1460,7 @@ __metadata:
"@babel/cli": ^7.8.4
"@babel/core": ^7.9.6
"@babel/preset-env": ^7.10.1
jam-my-stack: ^1.0.13
jam-my-stack: ^1.0.15
languageName: unknown
linkType: soft
@ -2747,9 +2747,9 @@ fsevents@^1.2.7:
languageName: node
linkType: hard
"jam-my-stack@npm:^1.0.13":
version: 1.0.13
resolution: "jam-my-stack@npm:1.0.13"
"jam-my-stack@npm:^1.0.15":
version: 1.0.15
resolution: "jam-my-stack@npm:1.0.15"
dependencies:
dayjs: ^1.10.4
ejs: ^3.1.6
@ -2759,7 +2759,7 @@ fsevents@^1.2.7:
howlongtobeat: ^1.3.1
lunr: ^2.3.9
parser-front-matter: ^1.6.4
checksum: 27a2e3f004672b243a756ecc3bcfb358f942629be9a13614350ca6a9e6e4fcafba76174c84643305d60d5df02392dac348d4e958b1b7a27c642530e76917949b
checksum: 967a6f1653f09823a442468c216ac7943c0b6f7cad43fe92abc7ef7232c1e509ea3ee716ac642f0eb4dd908a8e0221d9f626b6acb01f9ace21d544eaa4f9bc58
languageName: node
linkType: hard