#dev 2021-03-28

2021-03-28 UTC
KartikPrabhu, alex__ and anon_CWEJRrIS joined the channel
#
@dansvel
catatan pertama di blog svelte public beta,, - menggunakan hooks - import markdown di vite sekalian nyoba webmention * I'll try to translate it to my English, please do not expect too much,, @dansvel @sveltejs https://dan.my.id/catatan/5-beginilah-bagaimana-aku-membuat-blog-dengan-sveltekit
(twitter.com/_/status/1375909572678877184)
[KevinMarks] joined the channel
#
[tantek]
Some say bug, I say feature (apparently if you install a "web app" like a person site setup to Share Target for everything, it may override all the default silo share targets, and even after "uninstalling", the defaults don't come back). Raising the barrier to directly sharing on silos? SGTM 😂 https://twitter.com/mxbck/status/1375806857932124161
#
@mxbck
@JonathanDHolden Hm ok - sorry thats a new one for me. Not familiar with chrome OS... Maybe there's an option somewhere in the browser settings to add twitter & co back?
(twitter.com/_/status/1375806857932124161)
Seirdy, KartikPrabhu and [scojjac] joined the channel
Seirdy, deathrow1, nickodd, [chrisaldrich], anon_CWEJRrIS, dhanesh, gxt, KartikPrabhu, dhanesh95 and hoschi joined the channel
hoschi joined the channel
hoschi and [snarfed] joined the channel
#
[snarfed]
hey jacky, just fyi granary has been seeing your feed pages (eg https://v2.jacky.wtf/stream/all, https://v2.jacky.wtf/stream/responses) consistently time out for the last day or two
#
[snarfed]
just a heads up!
#
[snarfed]
(its timeout is 15s)
KartikPrabhu, [chrisaldrich] and [KevinMarks] joined the channel
#
jacky
thinking more on using micropub for syndicaton (as compared to Webmention syndication), how do people think surfacing a "status" page would work? To show the process of said syndication?
#
jacky
because the only way seems to be eventually polling the remote page provided in the 202 response until it's available
#
jacky
(this might be helpful for static sites as well, come to think of it)
[tantek] joined the channel
#
[tantek]
what is silopub
#
Loqi
silo.pub is a self-hostable Micropub endpoint for hosted blogs like Tumblr, WordPress.com, Blogger, and Twitter https://indieweb.org/silopub
#
[tantek]
jacky ^ that was a service (and is an OSS project) that allows you to use Micropub to post (thus POSSE) to silos
#
sknebel
jacky: good question. right now mp seems to assume the location is known when sending the request, even with a 202
#
sknebel
so not 100% fit for returning a status page there, at least without additional conventions. extra header? mp- command to request a callback?
#
jacky
lol whoops
#
jacky
I'm thinking about using another header here
#
jacky
I do see something though that could be more reusable here - https://indieweb.org/Webmention-brainstorming#Asynchronous_status_notification
#
jacky
sending a `callback` value and sending a response for that
#
jacky
the header approach felt a bit easier to do because we already fetch the final location from there
#
jacky
[tantek]: glancing at silo.pub's code - it'd be a blocking operation until it finishes this silo syndication operation
#
[tantek]
I think aaronpk uses a self-hosted version of silopub for his syndication
#
Loqi
[snarfed] #796 micropub API for bridgy publish
hoschi joined the channel
#
jacky
so for now, the community answer seems to be "status polling doesn't exist"
#
jacky
for micropub requests
#
jacky
that's fine(-ish) but I think I'll try using the flow from the Webmention one above to make it more opt-in
#
Loqi
[dshanske] #45 Add location property to structure of single post
#
GWG
I'm thinking of implementing the requirement of location being a string and any time it isn't moving latitude and longitude out to single properties
[scojjac] and [chrisaldrich] joined the channel; nickodd left the channel
#
@RehanSaeedUK
↩️ Do it. I've added webmentions so I can see Twitter likes and replies which I love. I also added GitHub comments but careful not to use the login system that requires too many permissions, just link to it instead.
(twitter.com/_/status/1376260661920026626)
#
@RehanSaeedUK
↩️ This site gives you an API to pull down your likes/replies etc. You do need to add some markup to the home page of your site for it to work. https://webmention.io/ This site pulls Twitter/Reddit/Others messages and pushes them to webmentions API. https://brid.gy/
(twitter.com/_/status/1376276299593957377)
#
@RehanSaeedUK
↩️ This site gives you an API to pull down your likes/replies etc. You do need to add some markup to the home page of your site for it to work. https://webmention.io/ This site pulls Twitter/Reddit/Others messages and pushes them to webmentions API. https://brid.gy/
(twitter.com/_/status/1376276299593957377)
[snarfed] joined the channel
#
[snarfed]
jacky: you could poll a micropub content query or h-feed and look for the syndication property to show up?
#
@RehanSaeedUK
↩️ Finally, I have a GitHub action step that sends outgoing webmentions to other sites (these show in the links section). This is optional but is easy enough that it's worth doing. https://github.com/RehanSaeed/rehansaeed.github.io/blob/f25b0b122162325675602fde615d83009129f78b/.github/workflows/build.yml#L59
(twitter.com/_/status/1376277501371092994)
#
@RehanSaeedUK
↩️ I wrote my blog from scratch in Vue, so here is my webmentions.vue file that pulls from the API and renders likes, links (other webmention enabled sites linking to you) and replies (retweets). https://github.com/RehanSaeed/rehansaeed.github.io/blob/main/src/components/webmentions.vue
(twitter.com/_/status/1376276959072763905)
#
@RehanSaeedUK
↩️ Final point about http://brid.gy. Although you can enable pushing from sites other that Twitter, I found that the quality of comments wasn't great. When I added Reddit for example, there were posts only tangentially mentioning my post that were showing up in my feed.
(twitter.com/_/status/1376278824225234944)
[tw2113_Slack_] and [tantek] joined the channel
#
jacky
[snarfed]: oh that's very clever
#
[tantek]
GWG, why is that a Microsub issue? location property stuff on a post would be more of an h-entry question right?
#
GWG
[tantek]: It's already handled for Microformats h-entry in practice
#
GWG
Microsub uses a limited vocabulary which doesn't include location
#
GWG
So, for example, the structure of the jf2 in Microsub isn't exactly as described in the proposed standard
#
sknebel
If I remember correctly, jf2 is a bit ambigious about additional properties? i.e. it has a list of "these are post properties", but also says that other e.g. h-entry properties can be added? and so your question is what that looks like, espeically with location being a nested object?
#
GWG
For example checkin has to be a card object, bookmark-of must be an array...
#
GWG
The point of Microsub as aaronpk described in this matter was so that the Microsub endpoint, not the client, would output this, and the client didn't have to be full of type checks for each property
#
GWG
So, Microsub needs to define the default state of location properties
#
GWG
I am proposing what I think makes sense.
#
GWG
Namely that latitude and longitude be used as post properties and location is a string only
shoesNsocks1 joined the channel
#
[tantek]
if we have to re-discuss how each property works in Microsub vs in h-entry, that's a pretty bad interop failure
#
[tantek]
there shouldn't have to be custom design per property like that
#
GWG
[tantek]: I will defer to the larger group on that
#
GWG
But what would you call jf2 if not a simplified version of mf2 json with specific rules for properties
#
[tantek]
not sure. I'm still convinced jf2 is maintainable/sustainable longterm with having to invent per-property specific rules
#
[tantek]
still *not* convinced
#
aaronpk
I *am* convinced mf2 json is not viable as a vocabulary/transport protocol for app developers, but maybe there is something in between
#
jacky
yeah mf2-json is quite verbose
#
jacky
but it's like a light schema
#
KartikPrabhu
why isn't mf2-json not viable?
#
aaronpk
too many things can be anywhere
#
aaronpk
which is acceptable when parsing external content from HTML, but not acceptable from an app developer's perspective
#
GWG
I just want to output results a Microsub client can handle
[schmarty] joined the channel
#
[tantek]
authorship is a bizarre exception mostly due to legacy publishing behaviors
#
[tantek]
I wouldn't expect that to apply to other properties like "location"
[snarfed] joined the channel
#
[snarfed]
aaronpk’s point may not be about properties but objects
#
[snarfed]
my logic to to find the “main” object/feed on a page (in both bridgy and granary) is definitely more complicated than i’d like
#
GWG
[snarfed]: I have commented on same.
#
GWG
I like the simplicity and flexibility of Microformats, but it does lead to a lot of massaging if you want to normalize the output
#
jacky
yeah very true
#
GWG
That's where I think aaronpk went with Microsub...that it imposes some limitations not on the input of Microformats, but on what an endpoint will output to a client.
[suze_shardlow1] joined the channel
#
@zenia2020
↩️ Ini Mas @WijayArts kalau mau nyoba webmention kayak di blogku
(twitter.com/_/status/1376319122850553857)
#
@zenia2020
↩️ Tapi nggak terkirim ke Twitter kayak webmention?
(twitter.com/_/status/1376318812862115842)
[kimberlyhirsh] joined the channel