#dev 2019-09-10

2019-09-10 UTC
#
@jeannieindigitl
I’ve seen some replies to followed Tumblogs from http://micro.blog. Just an FYI, Tumblr doesn’t have public comments or webmentions so if you want to leave a comment on their Tumblog that they will receive you will need to do so from your Tumblr account.
(twitter.com/_/status/1171213270251950081)
KartikPrabhu, tmo and [asuh] joined the channel
#
@dippizuka
↩️ Increasingly more fond of the micropayment/microsub model (especially with its popularity on Twitch) to improve the whole experience. Especially in 2019 when speed is such a crucial factor for Google.
(twitter.com/_/status/1171266593411584001)
#
JKingWeb
I have an interest in implementing Microsub without necessarily buying into the rest of the IndieWeb, so anything which makes the technology less monolithic would be quite welcome to me.
gRegorLove and gRegorLove_ joined the channel
#
aaronpk
Less monolithic?
#
aaronpk
What appears monolithic? Making specs that are explicitly not monolithic is like the whole goal here
strugee, cweiske, krychu, ichoquo0Aigh9ie and gRegorLove joined the channel
#
@dev_nikema
#100DaysOfCode [28/100] https://nikema.dev/posts/100-days-of-code-28-100/ I’m so tired. Today was an emotional rollercoaster. Definite highs and lows and WTFs today. I got some coding in though. I want to be a part of the indie web and WebMentions. It’s a bit confusing though. A little more social ape too
(twitter.com/_/status/1171342827428597761)
KartikPrabhu, jeremych_ and [jgmac1106] joined the channel
#
jgmac1106
jerermycherfas when you say tempalte do you mean for each post type or tempaltes in gerneral?
#
jgmac1106
my goal was to sit down and automate headers, footers, and nav but now I am troubleshooting
[Rose] and krychu joined the channel
#
jeremycherfas
Is it very bad form to put <button> on an element that isn't actually clickable?
#
jeremycherfas
In Grav, the templating system can be very modular. So things like a header block and a footer block are easy to re-use. Currntly I am trying to develop a template for listings and a template for single items. There are no post types, as such.
#
Zegnat
Somewhat, yes. Because by default, buttons show up in accessibility trees, are keyboard focusable, etc
#
jeremycherfas
Hmn. Let me see what I can do then.
#
jeremycherfas
The problem is that sometimes it is clickable and sometimes it isn't. On pagination. So if you are on the first page, the << is not clickable. Maybe I can surpress it entirely if it is not clickable.
#
Loqi
Sorry, I couldn't find a page named "The problem is that sometimes it is clickable and sometimes it isn't. On pagination. So if you are on the first page, the" or similar
#
jeremycherfas
Apologies, Loqi. Fake command.
#
jeremycherfas
Thanks zegnat for making me think harder.
#
@JamieTanna
Finally got around to getting my static #IndieWeb website sending #webmentions after it deploys! https://www.jvt.me/posts/2019/09/10/webmentions-on-deploy/
(twitter.com/_/status/1171379487126228994)
[grantcodes] joined the channel
#
[grantcodes]
Hmm why isn't your pagination a links? But also adding the disabled attribute but keeping it a button might be ok
krychu joined the channel
#
jeremycherfas
TIL "The :hover pseudo-class is problematic on touchscreens."
#
jeremycherfas
!tell [grantcodes] The pagination includes a previous link and a next link, in addition to the numbered pages. If you are on the first page, the previous link is not in fact a link. But I like it being their for design reasons.
#
Loqi
Ok, I'll tell them that when I see them next
vika_nezrimaya joined the channel
#
vika_nezrimaya
can I whine about jquery being everywhere? I just used TinyMCE in my project and found the dreaded $ to be in my environment
[Lewis_Cowles] joined the channel
#
[Lewis_Cowles]
You can whine, but do you have a viable alternative to ensure it’s not just whining?
#
[Lewis_Cowles]
this can enable you to create your own alternatives to tinymce
#
[Lewis_Cowles]
I do not recommend it though
#
[grantcodes]
ah jeremycherfas: I would go with a span then in that case
#
jeremycherfas
Yup. That's what I did, in the end. The tricky part, which I can still change, is making it a button when it is a link and not when it isn't.
#
jeremycherfas
At the moment there are visual cues, and I think ally will work too.
#
[grantcodes]
you mean visually make it look like a button or an actual button element?
#
jeremycherfas
Button element. Visually it looks similar, but the font color is different, there's no hover etc.
#
[grantcodes]
This is confusing me to be honest 😅 generally for pagination I will make a bunch of a tags, change them to spans add the same class to all of them and style them based on that.
JKingWeb joined the channel
#
jeremycherfas
All will become clear (or confusing) when I finally publish the theme to my site. But it isn't ready yet.
[tonz] joined the channel
#
[Lewis_Cowles]
[jeremycherfas] might want to run WebAIM or similar accessibility check on that if it’s something you’d be keen not to rule out
#
jeremycherfas
Ooh. Thanks for that. I think I'll probably wait until I have visible design and then mf2 sorted out, and then use that tool and hope I don't then need too many tweaks.
#
jeremycherfas
I know for sure I am going to have to play with some of my colour choices.
#
[Lewis_Cowles]
there is also a tool pa11y which can run reports. https://nystudio107.com/blog/making-websites-accessible-americans-with-disabilities-act-ada I like it a lot as my instincts are a little privileged and perhaps ignorant of challenges I do not face
#
jeremycherfas
Absolutely. But I am, as I say, leaving it till last, when it will be free too override my privilege and lack of knowledge.
swentel, krychu and jgmac1106_ joined the channel
#
jgmac1106_
Anyone know what this is: https://www.traackr.com/ I didn't install any trackers but the send 1000s of requests each week
eli_oat and [jgmac1106] joined the channel
#
[jgmac1106]
twice something super funky happens and eats up all my event processes. This was 21:46 last night I wasn't online
dougbeal|mb1 joined the channel
#
jgmac1106_
on my main site the last 7days I had 1,306,129 successful requests and on my Known blog 1,251,537 Pretty standard traffic for me. Not seeing a huge spike…can’t figure this out.
[schmarty] joined the channel
#
jgmac1106_
Shared Host is looking into it but they can figure out what is eating through my event processes either
#
beko[m]
`LinkedIn argued that it needed to restrict scraping to protect its own users' privacy. But hiQ countered that the data didn't belong to LinkedIn but to its users—who explicitly marked the data public.`
[snarfed] joined the channel
#
[snarfed]
yes! but also scraping-- (obligatory)
#
jgmac1106_
now watch LinkedIn limit how much a public profile shows...
#
beko[m]
Well, for pages like FB there is no other way. I'd like to see this court rule in comparison to GDPR now.
#
[snarfed]
beko actually pages are one of the few parts of FB you _can_ still easily get with the API
KartikPrabhu joined the channel
#
beko[m]
So why not bridging to pages instead of profiles? 🙂
#
[snarfed]
because no one uses pages
#
beko[m]
ah… that should be easier to start compared to a Graph Token, shouldn't it?
#
[snarfed]
(with good reason, they're not designed to be used to represent individual people)
#
[snarfed]
sorry, i don't follow
#
[snarfed]
fwiw, bridgy actually did support FB pages for years. i can count on one hand the number of people who actualy used it. (compared to thousands of normal profile accounts)
#
beko[m]
np. There's a lot more API access via FB Graph if I understood this correct
#
[snarfed]
there aren't really multiple APIs. there was FQL, but that's basically deprecated. otherwise, not sure what you mean
#
[snarfed]
"Graph" was just a developer branding they used for a while
#
beko[m]
must be so *shrugs. you're the expert on this 🙂
#
beko[m]
[snarfed]++ 😁
#
Loqi
[snarfed] has 44 karma in this channel over the last year (79 in all channels)
[KevinMarks] joined the channel
#
[KevinMarks]
[jeremycherfas] why not make it a button, but set the disabled property when it will have no action?
krychu joined the channel
#
[jgmac1106]
Added ORCID support to sign annotations
jgmac1106_ joined the channel
#
@joejenett
Replied to Mr.Kapowski by Chris M. paging @MrKapowski… I just discovered http://micro.blog receives webmentions from various sources, viewable in the ‘Mentions’ section for logged-in users. Cool. (I figured you must be doing some testing sir.) https://mrkapowski.com/2019/09/thanks-it-was-quite-the-challenge.html
(twitter.com/_/status/1171456151386382339)
tmo joined the channel
#
jeremycherfas
!tell [KevinMarks] Because I don't do enough of this sort of thing and didn't know about Disabled. Although there is also a sense in which it isn't disabled as much as non-functional. Does that make sense?
#
Loqi
Ok, I'll tell them that when I see them next
#
jamietanna[m]
Can anyone see anything obvious for why mention.tech wouldn't pick up my `u-syndication` links on https://www.jvt.me/posts/2019/09/10/webmentions-on-deploy/ to then send webmentions ?
#
jeremycherfas
grantcodes made the same suggestion. I could argue it both ways. It is a button, and if it doesn't do anything, that's the same as being disabled. Or, if it doesn't do anything, it isn't a button. Now that I know, I might give it some more thought.
#
[KevinMarks]
I think disabled fits your use case - the button is there but shouldn't be clickable as it won't do anything, but when things change it can be enabled
#
jeremycherfas
I think you are right.
#
jeremycherfas
It might well simplify the markup too.
[snarfed] joined the channel
#
[snarfed]
KevinMarks: looks like https://github.com/kevinmarks/mentiontech/ is outdated? it doesn't have eg `/mentionall` from the currently deployed https://mention.tech/
#
[KevinMarks]
oops, did I deploy before committing?
#
jamietanna[m]
Ooh good spot snarfed, having the code available may help me track down whether I've got my markup wrong
#
[KevinMarks]
ah, I had commited but not synced
#
[snarfed]
my guess is it's only looking inside `e-content`?
#
[KevinMarks]
it is, yes
#
[KevinMarks]
that was my quick way of not sending for all the headers, but it does impose an mf2 requirement
[tantek] joined the channel
#
[tantek]
Thread and new account some folks here may be interested in, since keeping old(er) machines working is a part of ownership/ independence: https://twitter.com/righttopreserve/status/1171447536227246080
#
@RightToPreserve
Hi, @ShortFormErnie of @readtedium here. Did you know that if you use an old computer or operating system, there’s a chance it may not be able to get online without a lot of extra work?
(twitter.com/_/status/1171447536227246080)
gRegorLove joined the channel
#
ShokuninDiscord[
Potentially interesting for Permaweb too actually
#
[tantek]
Indeed!
#
[tantek]
And one of the reasons I prefer to keep my site accessible by http as well as https
#
ShokuninDiscord[
Because certs expire?
[schmarty] joined the channel
#
ShokuninDiscord[
Thanks!
#
[tantek]
And as the tweet thread shows, new certs fail on the newest browsers that will run on old machines
#
[snarfed]
25 year old!
#
jamietanna[m]
kevinmarks snarfed: thanks, that explains it. Would you be happy with a PR to extend it to not just `e-content`? Just so it can pick up any of the other links
gunttedDiscord[m joined the channel
#
jamietanna[m]
Also it may not pick up links within my /mf2/ posts as they're not wrapped in e-content hmm
#
[snarfed]
jamietanna: i assume you've considered others like https://telegraph.p3k.io/ and https://webmention.app/ ?
#
jamietanna[m]
When I had a look at telegraph it looked like I needed to know all the links I wanted to send up front, which was one of the things I wanted to avoid if possible
#
jamietanna[m]
I'll look into webmention.app again tho!
#
[snarfed]
jamietanna use telegraph's target_domain https://telegraph.p3k.io/api#send
#
jamietanna[m]
Looks like I'll still need to know the domains up front, no worries, was kinda hoping I could get away without writing any HTML parsing :D
#
[snarfed]
ah sorry, you're right. the UI lets you find and send to all links, aaronpk might consider adding that to the API
#
[snarfed]
but yeah otherwise webmention.app does it
#
jamietanna[m]
Ah I've always read the docs for webmention.app with the `/check` not actually sending them - but definitely user error, thanks!
[jgmac1106] joined the channel
#
@swyx
↩️ image hosting! rss feed! og tags! dark theme! private posts! (either author-only journal mode, or posts that readers have to login to see, optionally be a subscriber aka @SubstackInc) generate audio file and publish as podcast! webmentions! text-to-blog!
(twitter.com/_/status/1171495541533859843)
#
@dev_nikema
↩️ @BekoPharm I didn’t get a message ☹️ Was it about WebMentions?
(twitter.com/_/status/1171496726751936512)
krychu joined the channel
#
jamietanna[m]
`curl -i -X POST 'https://webmention.app/check/?url=https%3A%2F%2Fwww.jvt.me%2F'` doesn't seem to be working for me 🤔 I'm getting `{"urls":[]}` when there's definitely some links on that page
#
[snarfed]
cc [rem]
dougbeal|mb1, [Will_Monroe], [fluffy], [Lewis_Cowles] and [schmarty] joined the channel
#
jamietanna[m]
Does it need to be a feed maybe? Not a raw url?
#
jamietanna[m]
Nope `curl -i -X POST 'https://webmention.app/check/?url=https%3A%2F%2Fwww.jvt.me%2Ffeed.xml'` still isn't happy
#
jamietanna[m]
`curl -i -X GET 'https://webmention.app/check?url=https://www.jvt.me/posts/2019/09/10/webmentions-on-deploy/'`looks good, there seems to be some latency with the POST, so not sure if there are too many requests to send?
#
jamietanna[m]
Ooh the POST returned me:
#
jamietanna[m]
But when doing a GET before I did manage to get it returning all the right links
#
jamietanna[m]
Ah no it doesn't pick up the syndication links, nor does https://www.jvt.me/mf2/2a3d25be-b02d-4a58-bb84-f68300701bc1/ work (which isn't wrapped in an `e-content` or a `p-content`
#
jamietanna[m]
So may need to wrap things in `e-content`!
#
jamietanna[m]
So my /mf2/ posts don't have the syndication links in the h-entry, so that's definitely an issue with them
#
jamietanna[m]
php.microformats.io/?url=https://www.jvt.me/posts/2019/09/10/webmentions-on-deploy/ shows that the page has the syndication links, but webmention.app doesn't seem to be picking them up
#
@BekoPharm
↩️ Oh no :( I run it manually again using curl and I got '{"status":"queued","summary":"Webmention was queued for processing"[...]webmention/JHUlgCm6cwsz0AzxOKqU"' so I guess it's in the queue. Endpoint looks fine so no idea what happened on the first try.
(twitter.com/_/status/1171538387242668033)
[jgmac1106] and [KevinMarks] joined the channel
#
[KevinMarks]
Yes, I'm open to changes by pr
#
jamietanna[m]
KevinMarks cool thanks!
#
jacky
looks like I might have lost some backlog
#
jacky
random: anyone has examples of async webmentions with status information?
#
KartikPrabhu
aaronpk ^
#
jacky
like I've seen some where a header is provided with information to poll but that's not like _standardized_
#
jacky
or in the body
#
aaronpk
There's a wiki page about it
#
jacky
searches
#
aaronpk
What is webmention brainstorming
#
aaronpk
I think there?
#
jacky
oh _perfect_
#
jacky
oh all of this is excellent
#
jacky
def going to add support for the callback params
#
jacky
for status notification
#
jacky
for some reason, I see that helping out when one reacts to a post, it could trigger a update to a WebSub hub
#
jacky
lol I just went off into a corner
#
jacky
I'm still trying to figure out to make something like Microsoft Authenticator for the IndieWeb (or just in a general open-ish fashion)
#
jacky
I'm leaning on some learnings from Clef (we avoided hard-coding any crypto info - optimized for what was best for each device)
#
jacky
tbh, I'd like something that I can confirm auth requests with, get a stream of maybe just my notifications and do like quick firing of posts from
#
jacky
I'd want the other feeds to be elsewhere so I can only be inclined to check on things that come in
[Ramiro_Ruiz] joined the channel
#
[Ramiro_Ruiz]
I was also looking into webmention.app about the possibility to help me send the web mention needed to bridgy adding the `<a href="https://brid.gy/publish/twitter”></a>” link to get automatic syndication to twitter, because my micropub doesn’t send web mentions. But webmention.app is not getting the link from my note
seblog joined the channel
#
jacky
[Ramiro_Ruiz]: it should be able to!
#
jacky
what kind of problems are you running into?
#
jacky
https://webmention.app/test might be able to help [Ramiro_Ruiz]