#dev 2018-11-15

2018-11-15 UTC
[arush] and [tantek] joined the channel
#
GWG
[tantek]: Do you have a moment to answer my question?
#
GWG
I wish to be educated
mblaney and [kevinmarks] joined the channel
#
[kevinmarks]
[sknebel] normal indieauth is three legged because you ask the user to confirm. 2 legged is when you are authorised in advance.
[jgmac1106], [arush], [asuh], eli_oat and dougbeal|mb1 joined the channel
#
[tantek]
my website primarily represents me, hence the h-card at the top
#
[tantek]
nested feeds for primary stream and the stream of articles only
jgmac1106, [dave] and jackjamieson joined the channel
#
GWG
[tantek]: I rarely see two h-feeds on one page.
[chrisaldrich], eli_oat and [schmarty] joined the channel
#
gRegorLove
jgmac1106, Here's the WordPress webmention approval thing I mentioned: https://gregorlove.com/2017/12/one-of-the-known-issues/
#
Loqi
[gRegor Morrill] One of the known issues with webmentions in WordPress is that they are often flagged as spam by default. There is a workaround snippet of code on the wiki to automatically approve them. That got me thinking about the core feature of approving comment...
#
Loqi
[gRegor Morrill] I’ve updated this code snippet so it abides by your Discussion settings for the checkbox “Comment author must have a previously approved comment.” I’ve also updated it to use the webmention_source_url which is part of the comment meta data p...
[asuh] joined the channel
#
@jgmac1106
@chrisaldrich forgot one 2019 commitment I want to set up a Known site using the h-review plugin as prototype that could be used for open peer review. Currently only one scale but why does everything need a rubric anyway? webmentions posts back and… https://quickthoughts.jgregorymcverry.com/2018/11/15/chrisaldrich-forgot-one-2019-commitment-i-want
(twitter.com/_/status/1062930255671947264)
[dave], mblaney, jjuran, [eddie], stevestreza, cweiske and swentel joined the channel
#
@kisik21
I’ve just understood why http://brid.gy did not syndicate to twitter! 1. There wasn’t a read-more link on the note 2. http://Brid.gy wasn’t crawling the permalink 3. Single template contained the syndication link. (https://fireburn.ru/note/1542275622/)
(twitter.com/_/status/1063010885889859585)
#
kisik21
ok
#
kisik21
and now it... works? i guess
#
kisik21
when I send it manually
#
kisik21
ok I'll just set up my CI to send webmentions to brid.gy specifically
stevestreza joined the channel
#
@kisik21
Another thing that was not working for some reason is http://mention.tech #webmention support - it didn’t see the link outside of note’s e-content. Could this even be considered as a bug? Since it’s kinda working as intended… #indieweb (https://fireburn.ru/note/1542276854/)
(twitter.com/_/status/1063012643181641728)
#
kisik21
Ok now this should work!
[kevinmarks] joined the channel
#
[kevinmarks]
I can tweak that - I know we've had back and forth about this. My naive first attempt was webmentioning all the nav links, but I may have overcorrected.
wagle and jgmac1106 joined the channel
#
@jgmac1106
Hey #ncte18 bloggers if your our on http://bit.ly/x4QMx, medium, blogger, or tumblr you should try connecting with other bloggers or your class using webmentions. You can sign up in a few clicks, for free, 0% data selling, safe for kids. http://bit.ly/2qJeybc
(twitter.com/_/status/1063032977024864256)
[sknebel] and [jgmac1106] joined the channel
#
GWG
In what cases are multiple top-level items in parsed MF2 not actually a feed not explicitly marked up as such?
#
aaronpk
My websites permalinks
#
aaronpk
there's a top level h-entry followed by an h-card which is in my website footer
#
GWG
Okay, more than 2?
#
GWG
I can special case 2
#
GWG
I'm trying to write rules to decide if a site is a feed or not
#
GWG
In your case, one of the two would have a url property that matches the page it is in
#
GWG
My plan was to check if one matches the page's URL and then look at the rest of them separately.
#
aaronpk
That's a good plan
swentel_, swentel and [tmiller] joined the channel
#
GWG
aaronpk, to looked at your xray code, but I am approaching it differently
#
GWG
I want to have different rules for whether I am looking for a feed or not
#
GWG
But two h-feeds on the same page confuse me as to how to handle
#
sknebel
you could see ifthe feeds have urls/uids
[jgmac1106] joined the channel
#
[jgmac1106]
Gwg does having rss feeds on a page also mess this up or you only talking mf2 parsers? I embed a lot of rss feeds on my site....but usually in iframe so probably easy to ignore as I type this
#
GWG
No, RSS feeds are easy
#
GWG
sknebel, I need to file an issue with tantek then
#
GWG
He has two h-feeds. A uid or name would help
#
GWG
jgmac1106, anything with a unique URL is fine
#
GWG
The issue here is two h-feeds in the same page and distinguishing between them
#
jgmac1106
waiting for day to be able to pay for Aperture upgrade to embed feeds on my own websites
#
GWG
jgmac1106, if you wait, you could use Yarns
#
aaronpk
what do you mean embed feeds?
#
aaronpk
oh interesting
#
aaronpk
kind of like if you could embed this? https://stream.indieweb.org/
#
aaronpk
that's a channel in my aperture
#
jgmac1106
exactly I embed and switch out channels all the time as I go to conferences, teach, etc
#
jgmac1106
or just wanna make a channel of all my places….I mean I guess I couild just wrap https://stream.indieweb.org/ in an iframe
#
aaronpk
Nice yeah. I make channels for conferences too, didn't think about wanting to share those back out
#
jgmac1106
not sure your plans for aperture but the ability to embed feeds, and then the ability to customize that appearance, is often two tiers in feed reader pricing
#
sknebel
could even be a mini-feedreader without UI and tokens with restricted access
#
sknebel
doesn't need support in the backend (well, the restricted tokens do I guess)
#
jgmac1106
what I was thinking @sknebel…people could then interact with content on my site, from their site, without leaving my site
#
jgmac1106
I know folks aren’t keen on cards, (see it mroe a challenge of writing symmetrically rather than design just as hard), but trying to learn how to make cards in CSS Grid: https://jgmac1106homepage.glitch.me be cool to toggle between a card view and a list view…for folks on the highest pricing tier….again if that is goal
#
Loqi
Greg McVerry
#
jgmac1106
[swentel] Drupal got a h/t for accessibility standards from [arush] last night. She noted alot of the a11y looking at Drupal given everything going on in WordPress community
#
swentel
yeah they're doing a good job
#
petermolnar
Zegnat: I rewrote the whole thing. It now has 3 radiobuttons, only activated if JS is available (given it needs JS to change, which is really not ideal, but I haven't found a way around this yet), can do auto/dark/light; if auto, it removes the localstorage entry, otherwise it respects user setting, if any
#
GWG
swentel, another location thought, sorry
#
swentel
no problem :)
#
GWG
I am going to do something in 2 weeks so I have a use case
eli_oat joined the channel
#
jgmac1106
gwg it was nice to here that Amanda said 2016-IndieWeb is in pretty good shape and most of the accessibility issues left are beyond your control
#
swentel
GWG, so populate the location into the textbox if found then ?
#
swentel
or show it if reverse location failed?
#
GWG
Yes, I might want to edit it
#
GWG
But if you don't want to add a lookup, I can manually fill in a description
#
swentel
oh I want to add the lookup
#
swentel
will make a setting from it
#
swentel
just need to find the time :)
#
swentel
pretty busy atm
#
swentel
GWG, is the post property simply location ?
#
swentel
if you could tell me that on the issue, that would be great
#
swentel
because I will work on it next week
#
swentel
for a quick fix bug release
#
swentel
so I can add the textbox already
#
swentel
(and with some luck maybe full reverse, but no promises there)
eli_oat, [dave] and [tantek] joined the channel
#
@schnarfed
↩️ @jgmac1106 thanks Greg! and the second link should be https://brid.gy.
(twitter.com/_/status/1063082078722437125)
#
@jgmac1106
@brcrandall always loved your blogs. Thx so much for being the first #ncte18 to add your blog to the feed. If you are feeling adventurous add webmentions https://brid.gy so other attendees can comment on your posts from their website. (https://quickthoughts.jgregorymcverry.com/s/GOaoL)
(twitter.com/_/status/1063082784632303616)
#
@jgmac1106
@brcrandall always loved your blogs. Thx so much for being the first #ncte18 to add your blog to the feed. If you are feeling adventurous add webmentions https://brid.gy so other attendees can comment on your posts from their website. (https://quickthoughts.jgregorymcverry.com/s/GOaoL)
(twitter.com/_/status/1063082784632303616)
#
@jgmac1106
↩️ oops #ncte18 @schnarfed the creator of Bridgy let me know my like was wrong: https://twitter.com/jgmac1106/status/1063032977024864256 I taught with webmentions and a simple rss feed, students love sense of ownership and community created when they do all their learning from their own… https://quickthoughts.jgregorymcverry.com/2018/11/15/oops-ncte18-schnarfed-the-creator-of-bridgy
(twitter.com/_/status/1063084580578775041)
[eddie], [tantek] and eli_oat joined the channel
#
sknebel
!tell aaronpk did I miss the issue for the implied property parsing you found or didn't you file it yet
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
misses the issue for the implied property parsing you found or didn too
[schmarty] and jgmac1106 joined the channel
#
[tantek]
GWG, I thought I had names on my h-feed s
[eddie] joined the channel
#
[eddie]
You’re welcome to add any Micropub queries that you like, but I wonder if reverse geolookup doesn’t match the Micropub query purpose?
[chrisaldrich] and jackjamieson joined the channel
#
sknebel
one benefit: it could use knowledge the site has, e.g. locations the user is typically at
eli_oat, [dave] and jackjamieson joined the channel
#
[eddie]
That's a good point. There could be custom location knowledge. Which makes sense because all the reverse geocoders think I live in a place called iijamsville but I'm actually in a place called Urbana. So I could just use an external reverse geocoder for most locations but for a custom area around my neighborhood I could detect and return Urbana
#
[eddie]
That's actually pretty interesting
#
[eddie]
Using custom location names and previous checkins and such
#
[eddie]
You could also return "home" within a specific geo-threshold of your house rather than using your city name too
#
jeremycherfas
!tell aaronpk can I get hold of the ping from OwnYourGram to WithKnown? I'm getting an error, for which I have raised an issue, and it would be helpful to know what is being sent.
#
Loqi
Ok, I'll tell them that when I see them next
#
sknebel
jeremycherfas: https://ownyourgram.com/docs has examples, those might help already?
[dougbeal] joined the channel
#
[eddie]
So this is pretty cool. I wanted to test some queries on my website's cache. Since it's sqlite, I downloaded an app on my iPad, used an FTP app to download and import the sqlite file from my web server and opened it in the app! Now I have a local copy of my database cache I can test queries out with 😄
#
[eddie]
🙌 I just wrote a query that fetches all my existing post categories, counts the instances of them being used on a post and orders them in descending order, giving me a list of my categories with the most used ones at the top!
#
[eddie]
Not surprisingly the top ones are ate, drank, health and checkin because those auto attach to specific post types with the following five being tv show/movie genres from my watch posts
jgmac1106 joined the channel
#
jeremycherfas
sknebel I want to get the actual load sent for one that went wrong. It was a multi-image post on IG, but Known showed two copies of the first image. Trying to work out why.
sebsel and KartikPrabhu joined the channel
#
GWG
[eddie]: So a client can display location? Isn't that a use case?
#
GWG
[tantek]: Only on one
#
[eddie]
GWG I guess I'm not sure what you mean by "a client can display location"?
#
GWG
[eddie] Look at Twitter or similar mobile clients. You click the location button and it shows a map or textual location.
#
GWG
Quill shows a map. But why should the client do that? Why not the endpoint?
#
[eddie]
So for say Micropub for Wordpress it makes sense because you can program it and it can work for a lot of people
#
[eddie]
but for people who might build individual Micropub servers that means everyone has to worry about location
#
[eddie]
rather than the Micropub client dealing with it for the server
#
[eddie]
so I think there are arguments for both directions lol
#
[eddie]
depends who we want to do the heavy lifting
#
GWG
[eddie]: I think the best move is that if the server supports it, use it, if not, don't or offer a client level
#
GWG
Bear in mind that we proposed a venue query ages ago
#
[eddie]
Gotcha, makes sense
#
[eddie]
Just thought it was interesting to talk through :D
#
GWG
I agree
#
GWG
Someone wanted to query for contacts
#
sebsel
I think there is room for an external service here, to enhance the Micropub stuff.
#
sebsel
We talked about it in Berlin
#
GWG
This is what I wanted to implement
#
sebsel
I should blog about it
#
ichoquo0Aigh9ie
micropub -> carddav
#
GWG
sebsel, what service are you thinking of
#
Loqi
I agree
#
GWG
I wanted to implement carddav for something else
#
sebsel
GWG the thing where we where talking about the weather-service
#
sebsel
I don't know if the same technique would apply
#
GWG
It might
#
GWG
I would like to do venue search someday
#
[eddie]
Yeah, I want to query for contacts
#
GWG
[eddie]: If you implement it, they will co5
#
GWG
come
#
GWG
I will implement a venue query and hope swentel will implement client support.
#
GWG
Do we have a proposal for querying for supported query or mp commands?
#
GWG
How do I query for what I can query for short of just querying for it?
#
GWG
Or whether an Endpoint supports mp-slug?
#
sknebel
I think I saw something like q=commands proposed at some point
#
sknebel
and originally there was some talk more in the direction of having different endpoints for the things instead of q= options, and one to discover a list of those, but I guess the trend has gone in other directions
#
sebsel
I would still like a list of possible q= values
#
sebsel
sounds really hypertext-ish :P
#
[eddie]
Yeah, we do probably need a way to query for possible q=values
[kevinmarks] joined the channel
[jgmac1106] joined the channel
#
[jgmac1106]
[kevinmarks] I know you have a meh on cards post somewhere though
[tantek] and jgmac1106 joined the channel
#
[tantek]
Depends on what kind of cards
#
[jgmac1106]
Svgshare looks pretty cool
jackjamieson joined the channel
#
sebsel
hey, XRay doesn't do my posts anymore :(
#
sebsel
it sees them as cards.
#
sebsel
There are two objects on the page, and the url matches that of the second, the entry.
#
sknebel
huh, odd
#
sebsel
yeah I used to have a h-entry on my <body> tag, so the h-card would be inside of the h-entry
#
sebsel
now I've changed that to fix authorship on my feeds.
#
sebsel
but now it broke my permalinked posts
#
sebsel
files issues
#
sknebel
there's been some recent xray changes too, might be something with that
#
sknebel
or do you have an older local xray?
#
sebsel
I have a very old one local
#
sebsel
but i was checking the one on p3k.io
#
sknebel
yeah, that's the one I checked too - but if had seen it in your old one, that'd be a sign it's not a recent change that broke it
#
aaronpk
well that's odd
#
Loqi
aaronpk: sknebel left you a message 5 hours, 37 minutes ago: did I miss the issue for the implied property parsing you found or didn't you file it yet
#
Loqi
aaronpk: jeremycherfas left you a message 4 hours, 4 minutes ago: can I get hold of the ping from OwnYourGram to WithKnown? I'm getting an error, for which I have raised an issue, and it would be helpful to know what is being sent.
#
Loqi
[sebsel] #82 Match the 'main' object of the page on url
#
aaronpk
i could have sworn i had code and tests to handle this case
#
sebsel
ah, but that's not matching on URL.
#
aaronpk
order wasn't supposed to matter for that but guess i need to add another test
#
sebsel
yep, when I reverse those the test fails :P
#
aaronpk
well crap
#
aaronpk
tests++
#
Loqi
tests has 8 karma in this channel over the last year (13 in all channels)
jgmac1106 joined the channel
#
sebsel
ah, it's in the feed thing
#
sebsel
It sees that there are more items, so it removes the h-entry
#
sebsel
but then the next check is: there is just one item left
#
sebsel
and then it takes the first of the *original* array
#
aaronpk
wait why does it remove the h-entry?
#
sebsel
which is the card
#
sebsel
and then it says: only got a card, so that's it
#
sebsel
oh no
#
sebsel
it removes the h-card
#
sebsel
but the problem is that it takes the first item from the original array
#
sebsel
that's the problem, because that first item in the original array is still the h-card.
#
aaronpk
hm well in any case i forgot to add enough tests for all the combinations of situations this can occur
#
sebsel
a feed of one entry, starting with a card, will also fail
#
sebsel
but that's the same as this case.
#
sebsel
one entry is just one entry, no implicit one-entry-feed.
#
sebsel
yep, found bug, all tests pass again :D
#
sebsel
aaronpk do you want me to modify this test, or add is as a new case?
#
aaronpk
new case plz
#
aaronpk
my site is the h-entry+h-card pattern so wanna make sure that still works
#
@vincentlistens
I took the opportunity tonight to clean up my front matter code for sending #Webmentions It had the added benefit of reducing the build time too! https://vincentp.me/articles/2018/11/15/21-30/ #IndieWeb #Jekyll
(twitter.com/_/status/1063197064581062656)
[Vincent] and j12t joined the channel
#
sebsel
aaronpk You got a PR.
#
sebsel
still weird tho, because my fix does *nothing* with the URL
#
sebsel
so I think there's could be bugs still.
#
sebsel
I want to do h-card+h-card+h-entry
#
aaronpk
hmm yeah
#
aaronpk
seems like there should be something where if there is a top level object with a matching URL that overrides anything else
#
sebsel
ah, that one just passes
#
aaronpk
feel free to add more tests even if they already pass
#
sebsel
Ok, pushed one test more
#
sebsel
btw the travis build fails on SSL-stuff
#
aaronpk
oh i think it's failing because it requires my account to run to get the keys to deploy to app engine. gotta figure out how to make that only run when pushed to master or from my account
#
sebsel
I'm off, might think of new tests tomorrow, but that will be a different PR.
#
sebsel
ah, okay!
[sdepolo] joined the channel
#
[tantek]
alright I tried to fix the LinkAttributes mediawiki extension to allow microformats in class and property, but I think there maybe more work to do with any existing classes on links: https://github.com/rotsee/LinkAttributes/pull/11
#
Loqi
[tantek] #11 allow class and property attributes
[manton] and jgmac1106 joined the channel