#dev 2023-08-01

2023-08-01 UTC
tei_1, BinarySavior, eitilt, tei_, farproc, Xe, [KevinMarks], mcc, shreyan[m], [0x3b0b] and olaf[m] joined the channel
#
capjamesg
[snarfed] Re: > Only the ones you explicitly trigger with a webmention. Bridgy Fed doesn't automatically create posts in the fediverse based on your site's Atom feed, HTML, or anything else. It only create posts in the fediverse on an opt in basis, per post, via webmention.
#
capjamesg
Does Bridgy Fed publish the whole e-content or will it publish a summary?
kandr3s and JaeItIts[m] joined the channel
#
capjamesg
My use case is I want a message to appear on Mastodon, etc. when I publish a new blog post.
tbbrown joined the channel
#
Loqi
ok, I added "https://www.spicyweb.dev/farewell-jamstack/" to the "See Also" section of /Jamstack https://indieweb.org/wiki/index.php?diff=88821&oldid=74764
#
Loqi
[preview] Lowdown Coffee is a speciality coffee shop in the heart of Edinburgh, Scotland. https://jamesg.blog/assets/lowdown_coffee.png
#
Loqi
[preview] Lowdown Coffee is a speciality coffee shop in the heart of Edinburgh, Scotland. https://jamesg.blog/assets/lowdown_coffee.png
#
sknebel
not an h-card?
#
capjamesg
Updated.
#
Loqi
[preview] Lowdown Coffee is a speciality coffee shop in the heart of Edinburgh, Scotland. https://jamesg.blog/assets/lowdown_coffee.png
#
sknebel
should maybe be p-note instead?
#
sknebel
(or I guess e-note)
IWSlackGateway, tei_, Guest6, [tw2113_Slack_], tei_1, geoffo and bterry joined the channel
#
capjamesg
Only my article title and URL would be posted?
#
capjamesg
"Mastodon currently shows the full text of notes, but for articles, it only shows their titles and a link to the full article. This is because Mastodon and most other fediverse apps are designed primarily for smaller notes, not longer articles."
#
[snarfed]
right, Mastodon will only show title and link
#
[snarfed]
(BF federates the whole thing though)
#
[snarfed]
other AP implementations may behave differently
#
[tantek]
I've found it works quite well
#
[snarfed]
glad to hear it!
#
[snarfed]
basically the same as Bridgy non-Fed
[Jo], gRegor and tei_1 joined the channel
#
gRegor
Yeah, I would maybe put Hours, Nearby Transportation, and Food and Drink inside an `e-note`, and no `e-content` since it's an h-card
#
gRegor
venue page is looking good!
#
gRegor
+ u-url on the Instagram and website links
#
c​apjamesg
I'll put this in a GitHub repo.
#
Loqi
[preview] [microformats] microformats-parser: A JavaScript microformats parser for the browser and node.js
#
Loqi
[preview] [capjamesg] venue-page-experiments: Exploration into simple, information-focused venue page design (i.e. cafes, restaurants).
#
capjamesg
That "import { mf2 } from "../dist/index.mjs";" folder comes from installing the npm package right?
#
[KevinMarks]
hm, I assume so. Does it build to a single mjs to import?
#
[KevinMarks]
looks like this on web
#
[tantek]
would be good to have a "compile" step perhaps that puts it into a single standalone JS for src="" inclusion
#
[tantek]
and not depend on NPM anything
#
capjamesg
That in itself has includes?
#
capjamesg
> require("./helpers/findChildren"),i=require("./microformats/parse"),s=require("./helpers/nodeMatchers"),a=require("./validator")
#
[tantek]
yes a single .js that does not require "including" anything else
#
[tantek]
like I do with cassis.js 🙂
#
capjamesg
That's what I hoped we had already!
[schmarty], geoffo, tei_ and [campegg] joined the channel
#
[tantek]
like the "how to use" should be <script src="microformatsparser.js" /> not just "npm install ..." etc.
[aciccarello] joined the channel
#
[aciccarello]
I think the browser usage needs better documentation https://github.com/microformats/microformats-parser/issues/220
#
Loqi
[preview] [danny0838] #220 How to run with a browser?
#
gRegor
capjamesg, not sure I understand the use case for the webmention query endpoint. Is this for both the component and query endpoint running on the same site? Or you want to be able to query another person's site for webmentions?
#
capjamesg
webmention.io advertises endpoints for retrieving mentions, used by webmention.js for example to display comments.
#
capjamesg
But that is a webmention.io specific detail.
#
[snarfed]
from #indieweb, capjamesg, the mf2 of the page you're on
#
[snarfed]
https://indieweb.org/comments#How_to_markup discusses how displayed webmentions (and responses from other sources) can/should be marked up with mf2, for consuming use cases like yours
[capjamesg] and tei_ joined the channel
#
[KevinMarks]
A rel=alternate for jf2 would make sense (and vice versa from the jf2)
#
gRegor
does webmention.io have HTML versions of the incoming webmentions?
#
gRegor
what is jf2
#
Loqi
jf2 is a W3C Note and a JSON Post Serialization Format of microformats2 for that is optimized for h-entry consuming code, as compared to the standard microformats JSON representation https://indieweb.org/jf2
pharalia and sebbu2 joined the channel
#
trwnh
Question: would it be theoretically possible to make Webmention work with content negotiation?
#
sknebel
what would that mean?
#
trwnh
like, say your `source` requires a certain HTTP header to fetch properly