From 83c896b20290ae1ced7ea14a121f1779cfbf0322 Mon Sep 17 00:00:00 2001 From: github-actions Date: Mon, 4 Dec 2023 08:06:15 +0000 Subject: [PATCH 1/2] Automated webmentions update --- content/_data/webmentions.json | 163 ++++++++++++++++++++++++++++++++- 1 file changed, 162 insertions(+), 1 deletion(-) diff --git a/content/_data/webmentions.json b/content/_data/webmentions.json index 1e9de80e0..af059a930 100644 --- a/content/_data/webmentions.json +++ b/content/_data/webmentions.json @@ -1,6 +1,167 @@ { - "lastFetched": "2023-11-27T08:05:59.255Z", + "lastFetched": "2023-12-04T08:06:15.423Z", "children": [ + { + "type": "entry", + "author": { + "type": "card", + "name": "Baldur Bjarnason", + "photo": "https://webmention.io/avatar/cdn.fosstodon.org/cc8554ba583793b416ccbb17bc1d574b8c60c5e53c11aabef6c9a8f806a5d4e2.jpg", + "url": "https://toot.cafe/@baldur" + }, + "url": "https://toot.cafe/@baldur/111516408002594801", + "published": "2023-12-03T12:09:06+00:00", + "wm-received": "2023-12-03T12:17:56Z", + "wm-id": 1748187, + "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111516408081171450", + "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-protocol": "webmention", + "content": { + "html": "

@hexagoncircle In head:
<style>
@layer {
head { --layers: 42;}
}
</style>

In body:
<script>
var styles = window.getComputedStyle(document.head);
if (styles.getPropertyValue(\"--layers\") !== \"42\") {
document.getElementById(\"fallback-styles\").setAttribute(\"rel\", \"stylesheet\");
window.CSS_MUSTARD = false;
} else {
console.log(\"layers supported\")
}
</script>

I'm sure there are smarter ways but this worked for me.

\n", + "text": "@hexagoncircle In head:\nIn body:\n I'm sure there are smarter ways but this worked for me." + }, + "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-property": "in-reply-to", + "wm-private": false + }, + { + "type": "entry", + "author": { + "type": "card", + "name": "Baldur Bjarnason", + "photo": "https://webmention.io/avatar/cdn.fosstodon.org/cc8554ba583793b416ccbb17bc1d574b8c60c5e53c11aabef6c9a8f806a5d4e2.jpg", + "url": "https://toot.cafe/@baldur" + }, + "url": "https://toot.cafe/@baldur/111516396573256488", + "published": "2023-12-03T12:06:12+00:00", + "wm-received": "2023-12-03T12:17:54Z", + "wm-id": 1748186, + "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111516396756270443", + "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-protocol": "webmention", + "content": { + "html": "

@hexagoncircle I've been using cascade layers with graceful degradation on a recent project. Website not app which simplifies things.

Basic approach: core CSS setting properties I know will be used so it doesn't matter that they override the layered CSS, combined with a small piece of JS that loads simplified fallback CSS if layers aren't supported.

Hardest part was actually finding browser versions old enough to test the no layers scenario.

\n", + "text": "@hexagoncircle I've been using cascade layers with graceful degradation on a recent project. Website not app which simplifies things.Basic approach: core CSS setting properties I know will be used so it doesn't matter that they override the layered CSS, combined with a small piece of JS that loads simplified fallback CSS if layers aren't supported.Hardest part was actually finding browser versions old enough to test the no layers scenario." + }, + "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-property": "in-reply-to", + "wm-private": false + }, + { + "type": "entry", + "author": { + "type": "card", + "name": "Vadim Makeev", + "photo": "https://webmention.io/avatar/cdn.fosstodon.org/97af8b31e253fcb460cfe2c717222d86bf07d04366f03d42a2e3035742295fbb.png", + "url": "https://mastodon.social/@pepelsbey" + }, + "url": "https://mastodon.social/@pepelsbey/111512853864149687", + "published": "2023-12-02T21:05:14+00:00", + "wm-received": "2023-12-02T21:05:51Z", + "wm-id": 1748015, + "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111512854143176981", + "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-protocol": "webmention", + "content": { + "html": "

@hexagoncircle I’m convinced it’s a paradigm shift bigger than the CSS grid layout was. Yes, it was possible to limit grids to support old IE or write a fallback flexbox layout, but most people chose to wait for full support. It was more practical in many ways. That’s my choice for cascade layers, too. I don’t like messy transpiled code or complicated polyfills: they don’t add user value, only change developer experience. It’s just not worth it, from my perspective.

\n", + "text": "@hexagoncircle I’m convinced it’s a paradigm shift bigger than the CSS grid layout was. Yes, it was possible to limit grids to support old IE or write a fallback flexbox layout, but most people chose to wait for full support. It was more practical in many ways. That’s my choice for cascade layers, too. I don’t like messy transpiled code or complicated polyfills: they don’t add user value, only change developer experience. It’s just not worth it, from my perspective." + }, + "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-property": "in-reply-to", + "wm-private": false + }, + { + "type": "entry", + "author": { + "type": "card", + "name": "Ryan Mulligan", + "photo": "https://webmention.io/avatar/cdn.fosstodon.org/2b9e19461695dcc3d5426dbe58bc7f0337c9c2a838e5387c8c66677298ba3241.jpg", + "url": "https://fosstodon.org/@hexagoncircle" + }, + "url": "https://fosstodon.org/@hexagoncircle/111512426222294240", + "published": "2023-12-02T19:16:29+00:00", + "wm-received": "2023-12-02T21:05:50Z", + "wm-id": 1748014, + "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111512426222294240", + "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-protocol": "webmention", + "content": { + "html": "

@mathieuhuot Yeah for sure. I'd probably capture that with the polyfill option, assuming that lightning has a way of handling it like postcss does

\n", + "text": "@mathieuhuot Yeah for sure. I'd probably capture that with the polyfill option, assuming that lightning has a way of handling it like postcss does" + }, + "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-property": "in-reply-to", + "wm-private": false + }, + { + "type": "entry", + "author": { + "type": "card", + "name": "Mathieu", + "photo": "https://webmention.io/avatar/cdn.fosstodon.org/6b9ad40a0f29d6e7e59f2c3a5ae834fbbbff884fc525a1bc647b18a6107bc5a5.jpg", + "url": "https://mastodon.social/@mathieuhuot" + }, + "url": "https://mastodon.social/@mathieuhuot/111512368774502099", + "published": "2023-12-02T19:01:52+00:00", + "wm-received": "2023-12-02T19:05:17Z", + "wm-id": 1747983, + "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111512368810659652", + "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-protocol": "webmention", + "content": { + "html": "

@hexagoncircle does transpilation count? https://lightningcss.dev/transpilation.html

\n\nTranspilation – Lightning CSS", + "text": "@hexagoncircle does transpilation count? https://lightningcss.dev/transpilation.html\n\nTranspilation – Lightning CSS" + }, + "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-property": "in-reply-to", + "wm-private": false + }, + { + "type": "entry", + "author": { + "type": "card", + "name": "Ryan Mulligan", + "photo": "https://webmention.io/avatar/cdn.fosstodon.org/2b9e19461695dcc3d5426dbe58bc7f0337c9c2a838e5387c8c66677298ba3241.jpg", + "url": "https://fosstodon.org/@hexagoncircle" + }, + "url": "https://fosstodon.org/@hexagoncircle/111512101319201933", + "published": "2023-12-02T17:53:51+00:00", + "wm-received": "2023-12-02T18:03:51Z", + "wm-id": 1747961, + "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111512101319201933", + "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-protocol": "webmention", + "content": { + "html": "

I updated the \"graceful degradation\" option since I'd like to know how you would approach it. I didn't realize it would reset all votes to zero, but I get why it would in retrospect. Sorry about that! ????

\n", + "text": "I updated the \"graceful degradation\" option since I'd like to know how you would approach it. I didn't realize it would reset all votes to zero, but I get why it would in retrospect. Sorry about that! ????" + }, + "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-property": "in-reply-to", + "wm-private": false + }, + { + "type": "entry", + "author": { + "type": "card", + "name": "Tamas", + "photo": "https://webmention.io/avatar/cdn.fosstodon.org/c0d6f1da3da5d4febc8ba587bc68ad60ef979116804da7316b355fb801580aec.jpg", + "url": "https://mas.to/@iamdtms" + }, + "url": "https://mas.to/@iamdtms/111512001857691661", + "published": "2023-12-02T17:28:34+00:00", + "wm-received": "2023-12-02T17:34:48Z", + "wm-id": 1747954, + "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111512001872153910", + "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-protocol": "webmention", + "content": { + "html": "

@hexagoncircle Never used but looking forward to it with polyfill. Support require backwards compatibility IMHO:
https://caniuse.com/css-cascade-layers

\n\nCSS Cascade Layers | Can I use... Support tables for HTML5, CSS3, etc", + "text": "@hexagoncircle Never used but looking forward to it with polyfill. Support require backwards compatibility IMHO: \nhttps://caniuse.com/css-cascade-layers\n\nCSS Cascade Layers | Can I use... Support tables for HTML5, CSS3, etc" + }, + "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", + "wm-property": "in-reply-to", + "wm-private": false + }, { "type": "entry", "author": { From c50376af2bcd1f0a029c3998ce79d52a5aac98ff Mon Sep 17 00:00:00 2001 From: Jonny Gerig Meyer Date: Mon, 4 Dec 2023 17:11:28 -0600 Subject: [PATCH 2/2] update webmentions --- content/_data/webmentions.json | 92 ---------------------------------- 1 file changed, 92 deletions(-) diff --git a/content/_data/webmentions.json b/content/_data/webmentions.json index af059a930..c8a4a86f0 100644 --- a/content/_data/webmentions.json +++ b/content/_data/webmentions.json @@ -1,29 +1,6 @@ { "lastFetched": "2023-12-04T08:06:15.423Z", "children": [ - { - "type": "entry", - "author": { - "type": "card", - "name": "Baldur Bjarnason", - "photo": "https://webmention.io/avatar/cdn.fosstodon.org/cc8554ba583793b416ccbb17bc1d574b8c60c5e53c11aabef6c9a8f806a5d4e2.jpg", - "url": "https://toot.cafe/@baldur" - }, - "url": "https://toot.cafe/@baldur/111516408002594801", - "published": "2023-12-03T12:09:06+00:00", - "wm-received": "2023-12-03T12:17:56Z", - "wm-id": 1748187, - "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111516408081171450", - "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", - "wm-protocol": "webmention", - "content": { - "html": "

@hexagoncircle In head:
<style>
@layer {
head { --layers: 42;}
}
</style>

In body:
<script>
var styles = window.getComputedStyle(document.head);
if (styles.getPropertyValue(\"--layers\") !== \"42\") {
document.getElementById(\"fallback-styles\").setAttribute(\"rel\", \"stylesheet\");
window.CSS_MUSTARD = false;
} else {
console.log(\"layers supported\")
}
</script>

I'm sure there are smarter ways but this worked for me.

\n", - "text": "@hexagoncircle In head:\nIn body:\n I'm sure there are smarter ways but this worked for me." - }, - "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", - "wm-property": "in-reply-to", - "wm-private": false - }, { "type": "entry", "author": { @@ -70,75 +47,6 @@ "wm-property": "in-reply-to", "wm-private": false }, - { - "type": "entry", - "author": { - "type": "card", - "name": "Ryan Mulligan", - "photo": "https://webmention.io/avatar/cdn.fosstodon.org/2b9e19461695dcc3d5426dbe58bc7f0337c9c2a838e5387c8c66677298ba3241.jpg", - "url": "https://fosstodon.org/@hexagoncircle" - }, - "url": "https://fosstodon.org/@hexagoncircle/111512426222294240", - "published": "2023-12-02T19:16:29+00:00", - "wm-received": "2023-12-02T21:05:50Z", - "wm-id": 1748014, - "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111512426222294240", - "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", - "wm-protocol": "webmention", - "content": { - "html": "

@mathieuhuot Yeah for sure. I'd probably capture that with the polyfill option, assuming that lightning has a way of handling it like postcss does

\n", - "text": "@mathieuhuot Yeah for sure. I'd probably capture that with the polyfill option, assuming that lightning has a way of handling it like postcss does" - }, - "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", - "wm-property": "in-reply-to", - "wm-private": false - }, - { - "type": "entry", - "author": { - "type": "card", - "name": "Mathieu", - "photo": "https://webmention.io/avatar/cdn.fosstodon.org/6b9ad40a0f29d6e7e59f2c3a5ae834fbbbff884fc525a1bc647b18a6107bc5a5.jpg", - "url": "https://mastodon.social/@mathieuhuot" - }, - "url": "https://mastodon.social/@mathieuhuot/111512368774502099", - "published": "2023-12-02T19:01:52+00:00", - "wm-received": "2023-12-02T19:05:17Z", - "wm-id": 1747983, - "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111512368810659652", - "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", - "wm-protocol": "webmention", - "content": { - "html": "

@hexagoncircle does transpilation count? https://lightningcss.dev/transpilation.html

\n\nTranspilation – Lightning CSS", - "text": "@hexagoncircle does transpilation count? https://lightningcss.dev/transpilation.html\n\nTranspilation – Lightning CSS" - }, - "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", - "wm-property": "in-reply-to", - "wm-private": false - }, - { - "type": "entry", - "author": { - "type": "card", - "name": "Ryan Mulligan", - "photo": "https://webmention.io/avatar/cdn.fosstodon.org/2b9e19461695dcc3d5426dbe58bc7f0337c9c2a838e5387c8c66677298ba3241.jpg", - "url": "https://fosstodon.org/@hexagoncircle" - }, - "url": "https://fosstodon.org/@hexagoncircle/111512101319201933", - "published": "2023-12-02T17:53:51+00:00", - "wm-received": "2023-12-02T18:03:51Z", - "wm-id": 1747961, - "wm-source": "https://brid.gy/comment/mastodon/@hexagoncircle@fosstodon.org/111511861617834686/111512101319201933", - "wm-target": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", - "wm-protocol": "webmention", - "content": { - "html": "

I updated the \"graceful degradation\" option since I'd like to know how you would approach it. I didn't realize it would reset all votes to zero, but I get why it would in retrospect. Sorry about that! ????

\n", - "text": "I updated the \"graceful degradation\" option since I'd like to know how you would approach it. I didn't realize it would reset all votes to zero, but I get why it would in retrospect. Sorry about that! ????" - }, - "in-reply-to": "https://www.oddbird.net/2022/06/21/cascade-layers-polyfill/", - "wm-property": "in-reply-to", - "wm-private": false - }, { "type": "entry", "author": {