#dev 2018-12-16

2018-12-16 UTC
iasai, eli_oat and [eddie] joined the channel
[jgmac1106] joined the channel
#
[eddie]
Hmm known doesn’t seem to be following the Authorship algorithm
#
[jgmac1106]
I was just about to say that
#
[eddie]
I checked xray and it found it
#
[jgmac1106]
Why are you blogging on Luke'sa ccount?
#
[eddie]
Lol typo
#
[eddie]
Luke was supposed to be like
#
[eddie]
My phone autocorrected because I type Luke a lot
#
[jgmac1106]
I thought the "my Luke" was sweet
#
[eddie]
Lol! 😁
#
[eddie]
My post has u-author with the url pointing to my homepage, and my h-Card on the homepage
#
[jgmac1106]
it should grab your h-card..does everyone else's
#
[eddie]
So it seems like Known doesn’t parse an h-Card from an external url
#
[jgmac1106]
.aahhh I think those rules newer than Known
#
[eddie]
I don’t think that rule is that new is it? Follow the url of u-author and grab the h-Card?
#
[jgmac1106]
I wouldn't know
#
[eddie]
Maybe but that seems pretty simple 🤔 well I guess to GitHub I go
#
[jgmac1106]
...not sure WordPress would do that, be worth testing
#
[jgmac1106]
send something to any post on https"//jgregorymcverry.com
#
[jgmac1106]
super ecited that I am getting closer on the webmention badge...maybe it doesn't matter that the u-photo on a comment doesn't display the way I linked the img url back to the baddge file...with the webmention as proof below...and this is done from the wiki..
#
[jgmac1106]
well....manually sending the webmention
#
[eddie]
That is awesome how close you are getting!
#
Loqi
[Greg McVerry] test
#
[eddie]
:crossed_fingers:hopefully my author is found
#
[eddie]
I think that badge image should show on other sites
#
[eddie]
Maybe that’s a known issue maybe they don’t accept photo replies?
#
[jgmac1106]
@zegnat noted best practice suggests not putting an image in a reply post... Wonder if plugin written with hard rule
#
[jgmac1106]
Will miss that about WordPress. "I want to do X on my website" Ohh there are 37 plugins that do that
#
[jgmac1106]
... Granted it is an ebb and flow... A binge and purge plugin diet
#
GWG
That is best practice?
#
GWG
Good to know
#
GWG
We need a best practice list somewhere
#
[jgmac1106]
I may have misunderstood... Not the sharpest crayon...
#
[jgmac1106]
Not in the reply post @gwg in content of the reply
#
[jgmac1106]
@gwg and [pfefferle] are on point [eddie] that worked
#
[jgmac1106]
file an issue on the Known repo
iasai joined the channel
#
[jgmac1106]
[eddie] one issue I need to think about is third party endorsements. What if indieweb.org wanted to endorse a badge issued by eddidehinkle.com there is no xfn for a relationship... Could an endorsement by a syndicated note?
#
[jgmac1106]
I need it to be so there is two way verification between endorser and issuer
eli_oat, [tantek], iasai and [eddie] joined the channel
#
[eddie]
Hmmm, so eddiehinkle.com posts a badge
#
[eddie]
To jgregorymcverry.com
#
[eddie]
And we want indieweb to endorse the badge I have created
#
[eddie]
If I don’t necessarily have access to indieweb.org, it wouldn’t be syndication
#
[tantek]
awards a badge right? (rather than posts a badge)
#
[eddie]
Correct
#
[eddie]
Maybe something like a repost?
#
[tantek]
I'm still confused by the "endorse a badge" verbage/action
#
[tantek]
is that like +1ing a badge?
#
[tantek]
or disputing it?
#
[eddie]
They are essentially providing their authority to say the badge is legitimate
#
[eddie]
It’s tough neither liking nor reposting is correct but I feel like it should be something like that
#
[eddie]
tantek, what do you think?
#
[tantek]
I dislike it TBH
#
[tantek]
the fact that there's a permalink is sufficient to "prove" that A awarded a badge to B
#
[tantek]
whether you treat A with any authority is a different question
#
[tantek]
and frankly not resolved by any kind of "endorsement"
#
[tantek]
because you can just get a bunch of buddies to endorse
#
[tantek]
or worse, a bunch of trolls to disendorse
#
[tantek]
so I think the "endorse" action is not very well thought through nor actually solving a real problem / use-case
#
[tantek]
if you have another party with more authority, it ought to actually award the badge, rather than "endorse" someone else's
#
[tantek]
and if the other party does not have more authority, what's the point of having them "endorse"?
#
[eddie]
Fair question. Looking forward to hearing more about it jgmac1106 😁
[jgmac1106] joined the channel
#
[jgmac1106]
Yeah makes sense. And there is p-org in an h-card in for my university
iasai, eduardm and mblaney joined the channel
#
mblaney
I think that endorsement pattern could be simplified: eddiehinkle.com issues a badge for jgregorymcverry.com, then all that's required for endorsement by indieweb.org is that eddiehinkle.com is listed as an issuer on indieweb.org, ie chain of trust.
#
mblaney
I was thinking something like that might work for indiepay.me, so when you log in and try to collect a badge you need to pick someone to issue it for you. So then I was trying to work out where to get the issuers list from...
snarfed, iasai, jjuran, eduardm and [relapse] joined the channel
#
[relapse]
I feel like here is where I mention that some badge providers are moving to Blockchain for authoritative proof of issuer, but I left by asbestos suit at the office.
#
Zegnat
Re photo property within content property, best to ask aaronpk. He may even have something written up on why it was making photo posts harder to parse and handle in readerd
#
Zegnat
s/readerd/readers/
[kevinmarks] joined the channel
#
[kevinmarks]
I do like the idea of HTML templates, but I end up writing templates with conditionals and iterators and includes a lot in practice.
#
[kevinmarks]
I like that jinja2 and nunjucks are almost compatible (though the embedded conditionals are python and js respectively)
#
Zegnat
I like PHP and dislike that people forget it does templating just give :D
#
Zegnat
s/give/fine/
#
Zegnat
needs to switch from phone to laptop
#
[kevinmarks]
I end up writing html in PHP using echo() inside loops.
#
[kevinmarks]
can abuse templates in any language
#
Zegnat
I end up writing <? foreach(): ?> inside my html.
#
Zegnat
Short opening tags and colon syntax are a thing in PHP, because it is a templating system just like twig etc.
#
Zegnat
People just tend to forget it and drag in extra templating engines instead.
#
[kevinmarks]
But you need to put the $variables inside the <? to get them evaluated,
#
Zegnat
Yes. Same as with most templating systems I know in html.
#
Zegnat
<?=$title?> vs e.g. twig's {{title}}. Plain PHP is only 2 characters more
iasai and TripFandango joined the channel
#
sknebel
Zegnat: devils advocate: you are ignoring escaping here
#
Zegnat
sknebel, true, templating engines that escape by default will win that fight
#
Zegnat
<?=$title?> is actually {{title|raw}}, I guess
#
sknebel
If I remember right twig doesn't escape by default, but you can turn it on with one statement for the entire doc
#
Zegnat
For people looking at “plain” PHP foor templating, http://platesphp.com/ might be interesting :)
[jgmac1106] joined the channel
#
[jgmac1106]
[relapse] @mblaney the ledger and trusted issuer is interesting. Yeah Colin been following badges from the get go....think webmention badges takes the overly complicated 2.0 spec and gets it to two permalinks
#
[jgmac1106]
@zegnat would that be a good PHP 101 lesson..
#
Zegnat
[jgmac1106], that depends completely on what sort of PHP you are trying to teach, haha
#
Zegnat
But showing people that you can start with an HTML file and then inline some PHP as if it were template tags can be valuable to some
#
[jgmac1106]
I mean for me.. I can build the way I want HTML to look (template) can build the HTML forms to collect the data.... I need to learn the PHP steps in between
#
[jgmac1106]
... Be some tine before I can dedicate time but I should spend time learning some language beyond javascript... That I usually use with forms
#
[jgmac1106]
... Or ai build forms and templates and say here @zegnat finish this.... Cool with that approach too... Way more efficient
#
Zegnat
Ah. I am not sure PHP short tags mixed in with HTML will help you with that usecase at all
#
[jgmac1106]
Thx... Debating a crash course in something over break... If I finish my book... PHP, node.js, or Ruby... with express goal of build form, take data, render HTML page
#
[jgmac1106]
Not even sure I need the storage if an HTML page gets created
#
[jgmac1106]
And get @zegnat to do it works in every use case I have discovered to date
#
Zegnat
Well, these days Zegnat does have an actual job :P
#
[jgmac1106]
Yeah... Really been screwing with my productivity
#
[jgmac1106]
[tantek] @mblaney going to add your thoughts to #brainstorming session
iasai and [relapse] joined the channel
#
[relapse]
[jgmac1106] Reducing the trust/ ledger spec two permalinks makes it much more sensible.
#
Zegnat
If the issuer is good for its word, you wouldn’t need a second party at all, imho. I agree with tantek there. The use I can see for having some type of ledger is incase the original issuer permalink goes down and you still want the badge to be verifiable. Then you would want to check a secondary trusted party
doubleloop and iasai joined the channel
#
GWG
Morning
#
Loqi
morning!
#
Zegnat
Good morning GWG! :D
#
GWG
Zegnat, up to anything interesting?
#
Zegnat
Looking into signle signon solutions
#
GWG
I found out that my Location plugin fills a non-Indieweb need
#
Zegnat
Not surprising
#
GWG
More specifically, the simple weather widget that shows the current temperature and weather icon. I just threw that in when adding weather to posts.
[jgmac1106] joined the channel
#
[jgmac1106]
Background on where the endorsement idea came from, I am agreeing with all just needed to think through it https://er.educause.edu/articles/2017/2/endorsement-2-taking-open-badges-and-ecredentials-to-the-next-level
#
[jgmac1106]
But have enough to summarize on page later, thx all
[kevinmarks] joined the channel
#
[kevinmarks]
You can do form and results in a single file with php easily enough, true.
#
Zegnat
Is there a tldr for that article, [jgmac1106]? ;)
iasai joined the channel
#
[jgmac1106]
You get a game designer badge from your school, EA sports can endorse that badge... Or some third party accreditation board
#
[jgmac1106]
In the article they use a health care licensing issue.. Points others raise will be enough when Open Badges folks say "but we have endorsements"
#
[jgmac1106]
(skipping over there isn't one single badge consuming use case out there)
#
Zegnat
Sounds like the simple first implementation could just be people liking/upvoting the issuance permalink in some way. Then if someone goes and checks the badge they can see EA having liked the badge issuance to me.
#
[jgmac1106]
u-like-of as endorsement...perfect
#
Zegnat
That would be experimental though. I am not sure every like of an issuance would be endorsement. Some might just be “I like that Greg awarded this badge to Martijn, even though I am not able to judge it myself”
#
[jgmac1106]
Wouldn't endorse each issuance, just like the badge page
#
[jgmac1106]
May play with it or just ignore it
#
Zegnat
The badge page is the issuance though, right? Or do you send the webmention from somewhere else?
#
Zegnat
I’ll wait for your writeup before commenting more :)
#
Loqi
[Greg McVerry] Endorsement of IndieWeb.org's toolbuilder-badge
#
[jgmac1106]
If only likes weren't broken on my blog
#
[jgmac1106]
Each Badge has a page, and each issuance is a page, only badge page would need endorsement... Publish like post add Endorsed by section to page
#
Zegnat
Likes broken on Known?
#
[jgmac1106]
It's a community plugin... Known takes the like/bookmark debate to some metaphysical discussion at a code level
#
[jgmac1106]
Just need to fix the link so the title goes to source
iasai and [jgmac1106] joined the channel
#
[jgmac1106]
so much for trying to demo a like as endorsement post....neither blog works..Known is closest, will use markup from there
iasai and [eddie] joined the channel
#
Zegnat
thought Known had full like support
#
Zegnat
surprising
#
Loqi
[kylewm] KnownReactions: Indie likes and reposts plugin for Known
#
[eddie]
Hmm it's strange, [cleverdevil] is able to postlikes
#
[jgmac1106]
It works, needs smallest tweak. Just need to the h-cite to link
#
Loqi
[Greg McVerry] Endorsement of IndieWeb.org's toolbuilder-badge
#
[jgmac1106]
[cleverdevil] doesn't use likes
#
[jgmac1106]
....also missing an h-cite on Known and I like the wrong link .grrrrrrr bigger issue than I thought
#
[jgmac1106]
didn't see it in the drop wn of your content choices
[cleverdevil] joined the channel
#
[cleverdevil]
I definitely post Likes 😀
#
[jgmac1106]
Do you keep copies of your plugins in your Known repo?
#
[jgmac1106]
those are bookmarks
#
[cleverdevil]
Known bundles Likes in with Bookmarks
#
[cleverdevil]
But you can do both.
#
[cleverdevil]
They should definitely be unbundled, but they also definitely work.
#
[jgmac1106]
this was the attempt to unbundle it and add repost
#
[jgmac1106]
what I am using....but the h-cite and source url are missing
#
[cleverdevil]
Ah. Gotcha.
#
[cleverdevil]
Yeah I stick to the standard Known way.
#
[jgmac1106]
not me...will play, want my bookmarks and my likes separate, my library and my memories different
#
[jgmac1106]
a bookmark to me is a noun a like a verb
#
GWG
Hi cleverdevil
#
Zegnat
Some day we’ll have you building your own cms, [jgmac1106] ;)
#
[jgmac1106]
I am so tempted....tp just do that now...getting so freaking annoyed. I just want to do <a class="u-like-of">...why is it this complicated to write one line of HTML
#
[jgmac1106]
if I only did microformats, didn't have to worry about a publishing interface and somehow magically learned how to receive and display comments I could
#
[cleverdevil]
Hey GWG 👋
#
[cleverdevil]
I definitely wish they were different too, [jgmac1106]. I think there is already a ticket open on Known to do this.
#
[jgmac1106]
nevemind...site license for perch runway jumped to $250 a website.....no way, no how, that isn's for norms at that pricepoint, could have sworn it was 50
#
GWG
Reading about how to own my checkins
#
[jgmac1106]
maybe I can get away with this...https://grabaperch.com/
#
GWG
I am sitting in a food court, waiting for the person who I gave a lift to here, reading APIs for place search
#
GWG
I am having trouble with the terms of service of every API
#
[jgmac1106]
no micropub endpoint on Perch, that's out....back to just trying to fix a like....and wondering why you need 17 files to inject six lines of html
#
GWG
I feel like I need a lawyer to determine if I am violating the spirit of the terms of use
#
[jgmac1106]
no you ask for forgiveness when they shut you down like last time
#
GWG
jgmac1106, the people at the open Nominatim service never did respond by the way
#
GWG
I asked for clarification on how I had violated it so I could comply
#
GWG
But try reading the Google Maps or Foursquare terms of use and they are not covering my usage per se
#
[jgmac1106]
Can ypu use open street map like Known?
#
GWG
Does OSM have a POI search?
#
[jgmac1106]
meaning find a museum near me?
#
sknebel
yeah, POIs are just objects marked as something
#
[jgmac1106]
OSM is way to go for simple location lookup....and maybe drop the name simple...because it seems like anything but
#
sknebel
e.g. for a supermarket, the building outline in the map data is tagged shop=supermarket
#
sknebel
(or where the data is less good, there's a point on the map tagged such)
iasai joined the channel
#
sknebel
of course the problem is still that you need an API endpoint for the data of some kind, either by someone who doesn't mind the traffic or hosting it in the community somehow
#
@jgmac1106
Haven't even finished my @wordpress migration and already thinking maybe @grabaperch way to go (to be fair I have always weighed this decision). Has webmention support, and I am building out how I'd want my site look on @glitch https://jgmac1106homepage… https://quickthoughts.jgregorymcverry.com/2018/12/16/havent-even-finished-my-wordpress-migration-and
(twitter.com/_/status/1074343569870217216)
#
@jgmac1106
Is anyone else hanging #IndieWeb style powered by @grabaperch? Looks like no native micropub support, and would need some love to connect to microsub readers but I just want a box where I type HTML and it becomes a post. (https://quickthoughts.jgregorymcverry.com/s/gbfj9)
(twitter.com/_/status/1074344115578507265)
#
sknebel
hm, seems like amenity + shop tags are ~ 15-20 million objects
[tantek] and iasai joined the channel
#
@jgmac1106
↩️ I worry I wouldn't have the skill, been laying out my website in plain HTML here: https://jgmac1106homepage.glitch.me micropub/microsub support a must..I can make templates for all the post types. (https://quickthoughts.jgregorymcverry.com/s/zKbqH)
(twitter.com/_/status/1074359072504336386)
jgmac1106, [kevinmarks], iasai, [jgmac1106], [asuh], leg and [kim_landwehr] joined the channel
#
@vincentlistens
✅ Micropub ✅ Send webmentions ✅ Receive webmentions ✅ Media endpoint Just syndication to go now before I’m doing all the basics! #indieweb #webmention
(twitter.com/_/status/1074450054927302657)