#dev 2020-10-12

2020-10-12 UTC
geoffo, nickodd, internerd, cweiske, superkuh, [Denver_Prophit], swentel, [chrisbergr] and beko joined the channel; nickodd left the channel
#
beko
Has anyone else weird character encoding issues with micro blog and Indigenous for Android?
[KevinMarks], [mapkyca] and [capjamesg] joined the channel
#
[KevinMarks]
There are a few reasons we're less keen on JSON-LD than microformats, it's not just NIH
#
[Denver_Prophit]
[capjamesg] Here I am. So ideas on how to handle micropub w/o using github to store them?
#
[capjamesg]
I set up a separate API for the backend.
#
[capjamesg]
For storage, I put all my bookmarks and likes in the ‘posts’ folder.
#
[capjamesg]
You can exclude your posts using a gitignore file if you do not want them to be part of your repo.
#
[capjamesg]
Or you can set up a submodule to store them in another repo.
#
[capjamesg]
I’m on vacation so apologies if I’m slow to respond.
#
[Denver_Prophit]
[capjamesg] not using a git repo. I can do so with a local repo I suppose.
Danielstaleiny, sebbu, gxt, geoffo and [Denver_Prophit] joined the channel
#
[Denver_Prophit]
bridgy is supposed to send a webmention when I post a link from my site, right? Nothing shows up on https://webmention.io/ in my dashboard of a new webmention from twitter.
#
KartikPrabhu
bridgy sends a webmention when some responds to your tweet
[chrisaldrich] joined the channel
#
[chrisaldrich]
What is Brid.gy?
#
Loqi
Bridgy is an open source project and proxy that implements backfeed and POSSE as a service https://indieweb.org/brid.gy
#
[Denver_Prophit]
Kartik: https://twitter.com/DenverProphitJr/status/1230514964433113094 There is interaction on the tweet.
#
@DenverProphitJr
Using Science & Philosophy to Organize the #semanticweb. Based on research from @bill_slawski & @UofGlasgow Optimize your #contentcreation to write for the Web. https://denverprophit.us/technical-seo/using-science-philosophy-organize-semantic-web.html
(twitter.com/_/status/1230514964433113094)
#
KartikPrabhu
[Denver_Prophit]: have you already told bridgy to look for responses on your twitter account? If so, it might be in the queue, and you can tell bridgy to re-poll your twitter
#
[Denver_Prophit]
Done both
#
KartikPrabhu
[Denver_Prophit]: what's your bridgy page?
#
KartikPrabhu
[Denver_Prophit]: your webmention endpoint seems to be on webmention.herokuapp.com not webmention.io ?
#
[Denver_Prophit]
I had added both <link> to the herokuapp and webmention.io to experiement
#
KartikPrabhu
you seem to have both endpoints and bridgy is picking up the first one
#
KartikPrabhu
you can click on the "32 minutes ago" thing on your bridgy page to see what it is doing and where it is sending the webmention to
#
[Denver_Prophit]
logged onto the herokuapp. Shows 5 mentions. Problem must be on my site. Also, should I keep the xmlrpc pingback from webmention.io as herokuapp doesn't have it?
#
KartikPrabhu
hmm I have never used pingbacks so no idea about that
#
aaronpk
The only pingbacks I get these days are from spam Wordpress sites that steal and repost blog posts
#
[Denver_Prophit]
``` <link href="https://twitter.com/{{site.socialmedia.twitter}}" rel="me">
#
[Denver_Prophit]
<link rel="authorization_endpoint" href="https://indieauth.com/auth">
#
[Denver_Prophit]
<link href="https://facebook.com/{{site.socialmedia.facebook}}" rel="me">
#
[Denver_Prophit]
<link rel="token_endpoint" href="https://tokens.indieauth.com/token">
#
[Denver_Prophit]
<link rel="pingback" href="https://webmention.io/denverprophit.us/xmlrpc" />```
#
[Denver_Prophit]
<link rel="webmention" href="https://webmention.herokuapp.com/api/webmention" />
#
aaronpk
you can use webmention.io's pingback converter to send them to herokuapp as webmentions if you want
#
GWG
aaronpk: I would love if WordPress would abandon trackbacks and eventually pingbacks in favor of webmention
#
[Denver_Prophit]
I assume the pingback is specific to wordpress sites that aren't blocking xmlrpc.php. On my server, I use allow/deny and allow ONLY from/to specific domains to stop xmlrpc bruteforce attacks.
#
[Denver_Prophit]
Anyone else used this herokuapp service before in their blog?
#
[Denver_Prophit]
https://denverprophit.us/content-marketing/gaining-wisdom-knowledge-business.html has the embed script if you check debug sources. It's not rendering likes or reposts.
#
jeremycherfas
Yes, I use the Heroku app, but my blog is not entirely static.
DanC joined the channel
#
[Denver_Prophit]
I'm basing off of https://github.com/miklb/jekyll-indieweb/blob/master/_layouts/post.html I think I see I am missing frontmatter vars to meet the conditionals. I will modify because I want all interactions within a `<section` inside the post article.
#
[Denver_Prophit]
Still unsure how to pull twitter likes into a bullet list so I can JSON+LD interaction counts. Can I pull their tweet comments, too?
#
[Denver_Prophit]
https://github.com/miklb/jekyll-indieweb/blob/master/_layouts/post.html#L25 conditional is looking for a new page on the post layout. I didn't think the herokuapp made them?
dckc and leg joined the channel
#
jeremycherfas
I think Twitter likes come from bridgy, not Heroku webmention app.
leg joined the channel
#
[Denver_Prophit]
[jeremycherfas] so, then, how to pull down into my post source?
[tw2113_Slack_] and [asuh] joined the channel
#
jeremycherfas
I don't know, I'm afraid, because I do not pull Twitter likes back to my main site. They go to sites using WordPress and Known that handle them through plugins.
swentel, nickodd, jeremycherfas, [chrisaldrich], jolvera, smacko[m], [jgmac1106] and jamietanna[m] joined the channel; nickodd left the channel
#
jamietanna[m]
Schmarty I see you've set your pagination for your site to generate monthly archives - how did you manage to get that working on Hugo? (I've been trying to paginate per day, but I think doing per month should work too)
[asuh], hirusi[m], Rixon, JK_na, Salt[m], nekr0z, fredcy_, samwilson, mayakate[m], khimaros[m], jalcine[m] and [schmarty] joined the channel
#
[schmarty]
jamietanna[m]: with great awkwardness and a little shame!
#
[schmarty]
each monthly archive page is a "page", like content/arch_monthly/2020-10.md. the only content is the date, like: {"date": "2020-10-01 00:00:00"}
#
[schmarty]
their permalinks are set to /:year/:month
#
[schmarty]
and the layout in layouts/arch_month/single.html pulls out all posts where the post year and month match the arch_month's entry.
#
[schmarty]
i have an automated process to add new content/arch_month/ entries periodically 😂
#
[schmarty]
i think this is one of the goofiest things about my hugo site.
jamietanna joined the channel
#
jamietanna
haha schmarty that's a great solution! I may see if I can get it working as a more automated way and if so, I'll definitely let you know!
[tantek] joined the channel
#
[tantek]
aaronpk, does IndieAuth have an equivalent "privacy threat model" document to this? https://github.com/WICG/WebID/blob/master/privacy_threat_model.md and what would it take to write something up with similar analysis?
#
jacky
so I was thinking about the need to keep my site 'simple'
#
jacky
that's a loaded term but it came more when I was thinking about micropub (and why I see why it'd be nice to either have a feature complete micropub service for people or the like)
#
lahacker
what kind of features?
#
jacky
namely things like automatic syndication of some posts based on a set of rules
#
jacky
or like generating poster images for posts with videos
#
jacky
I don't _want_ my site to know how to do that
#
jacky
but I want those things
#
lahacker
what kind of syndication rules?
#
lahacker
like some hashtagged posts get tweeted out?
#
lahacker
i was just pondering how to post a video clip plus commentary
#
lahacker
i too feel the need
#
[schmarty]
jacky: yes! i've been thinking about "micropub utility" services a bit recently. like "oh i see you made a like-of post but it's just a URL. let me make a nice h-cite for you as a micropub edit"
#
lahacker
whoa.. that's an interesting pattern
#
lahacker
i had wondered if there was some merit to "piping
#
lahacker
"
#
lahacker
micropub requests
#
[schmarty]
i started down the path of a syndication-as-a-service using websub (detect new posts) and micropub queries (no need to publish syndicate-to URLs in the page like bridgy)
#
jacky
nooo [schmarty] because now I _really_ want that
#
jacky
lahacker: if I 'quote' a tweet in a post, it should be syndicated to twitter if it's a public, listed post
#
jacky
or if I like one, do the same if the tweet's public
#
[schmarty]
but i got stuck in all the boilerplate for all the signing-in and feed-fetching and etc. and got tired before i got to anything interesting. 😂
#
jacky
or like maybe if I mention a GitHub issue, expand their links into their embed stuff with some noscript mf2 magic
#
[schmarty]
lahacker: piping is an interesting one! cleverdevil made a micropub proxy for doing scheduled posts that is pretty sweet.
#
jacky
ooh piping is interesting
[fluffy] joined the channel
#
Loqi
[cleverdevil] futurepub: Scheduled publishing for Micropub servers.
[snarfed] joined the channel
#
[snarfed]
schmarty++ we totally need more backfeed diversity!
#
Loqi
schmarty has 7 karma in this channel over the last year (48 in all channels)
[chrisbergr] joined the channel
#
[schmarty]
snarfed++ ooh yeah! i was thinking more on the side of bridgy publish, but backfeed seems plausible too.
#
Loqi
snarfed has 44 karma in this channel over the last year (73 in all channels)
#
jamietanna
I'd be very pro-these piping mechanisms. Definitely things like "take a URL and give me some richer data, preferably MF2"
#
jacky
that sounds like a plan
#
jacky
I started drafting what I'd want something like this for me would look like
#
lahacker
i've personally begun down the path of using browser automation to interact with external services
#
lahacker
i should have all of the mechanisms in place to POSSE and backfeed replies
#
lahacker
that is POSSE replies and backfeed replies
#
lahacker
POSSE works as demonstrated
#
[snarfed]
schmarty oh yeah true, sorry! misread
#
lahacker
this context obviously requires username and password so not good for a third-party micropub service
#
Loqi
agreed.
#
[schmarty]
snarfed: bridgy has so many services, i should have been more precise! bridgy++
#
Loqi
bridgy has 5 karma in this channel over the last year (9 in all channels)
#
[snarfed]
jamietanna yes! remind me, you did that pipe style service for meetup, right? that’s great!
#
[snarfed]
i’d definitely like to see more of them, whether as new granary silos (it does a lot of this already) or as standalone services
#
[snarfed]
lahacker interesting! one obvious drawback with the in-browser approach is that you have to manually trigger it, both POSSE (maybe not so bad) and backfeed (more annoying). good to see alternative approaches though!
#
lahacker
if you'll notice the two green squares in the screenshot in my link; that's my own web extension; i'm at the place where i can keep a single browser open in the background on the server; i can keep a single tab open to https://twitter.com/notifications/mentions and either from the Python side via a green thread or from the Javascript side via a web extension API..
#
lahacker
i've toyed with the idea for *years*, figure i'll have a go at it :)
#
jamietanna
snarfed yes I did - I had eventbrite-mf2.jvt.me and meetup-mf2.jvt.me
#
[snarfed]
lahacker oh on a server, interesting, ok!
#
lahacker
and packed nicely in a library on PyPi's the dream
[chrisaldrich] joined the channel
#
jacky
mainly 1) dynamically handling syndication 2) adding video meta-data and 3) [optional] adjusting inline mf2
#
jacky
wow I thought I hit enter lol
#
sknebel
I think theres a lot of options for how that could be integrated. I.e. is it a service that works through micropub etc on your site? is it something your site calls through an API? is it a micropub proxy etc that meddles with requests going through it?
#
jacky
I think micropub _would_ be the API I'd want this to use
#
jacky
or some combo of HTML and micropub
#
jacky
like if the URL has a <video> with no poster= and it's marked as a u-video in a h-entry, that should be enough
#
jacky
for detection that is
#
lahacker
hmm.. would be nice if after you post you were taken to a screen where you can select the poster (or otherwise engage with the decision-making process of the micropub client)
#
jacky
that could be done in the editor when you upload the video tbh
#
jacky
but I am _way_ too lazy lol
#
jacky
lazy to build a client that does that _or_ submit a PR
deltab, [jgmac1106], [schmarty] and [catvscode] joined the channel
#
[catvscode]
Who wants to join my webring lmao https://codepen.io/catvscode/pen/YzWXoor
[fluffy] and [tantek] joined the channel
#
[tantek]
aaronpk (and anyone else interested), re: IndieAuth & Privacy concerns, issue filed, suggestions and content welcome! https://github.com/indieweb/indieauth/issues/63
#
Loqi
[tantek] #63 IndieAuth needs non-normative Privacy Threat Model documentation