#dev 2018-03-26

2018-03-26 UTC
eli_oat joined the channel
#
gregorlove.com
created /LibrePlanet (+130) "stub"
(view diff)
#
gregorlove.com
created /Libre_Planet (+25) "prompted by chrisaldrich"
(view diff)
#
gregorlove.com
edited /Planning (+5) "/* MIT */ link LibrePlanet, dates"
(view diff)
theReal33mhz and renem_ joined the channel
#
AngeloGladding
snarfed tantek using HEAD and an async job queue good enough for now -- can understand why brid.gy breaks spec -- will be sure to document my future webmention caching endeavors
#
AngeloGladding
thanks guys
#
AngeloGladding
and snarfed++ thanks for the granary port -- looking forward to reuse
#
AngeloGladding
and tantek, from way back, webactions++ really tie things together nicely
#
AngeloGladding
snarfed++
#
Loqi
snarfed has 53 karma in this channel (372 overall)
#
AngeloGladding
webactions++
#
Loqi
webactions has 1 karma
#
AngeloGladding
:)
[miklb] joined the channel
#
tbbrown
(test server is https://indieauth-demo.herokuapp.com but only supports github and goodreads)
#
Loqi
IndieAuth.com
oodani, matigo, cweiske and [cleverdevil] joined the channel
#
[cleverdevil]
Fiddling around on a new page: https://cleverdevil.io/overview
#
[cleverdevil]
I *may* make some variant of this my front page.
#
Loqi
Recipe: Keto-Friendly Instant Pot Thai Chicken Curry
#
[cleverdevil]
But, I can't decide yet 🙂
#
[cleverdevil]
(Lots of work to do to clean up the markup, which is horribly incorrect from a microformats perspective)
[kevinmarks] joined the channel
#
[cleverdevil]
Oh it’s totally boned on mobile at the moment.
#
[cleverdevil]
In no way responsive 😀
[pfefferle], barpthewire and [gerwitz] joined the channel
#
[gerwitz]
@sknebel sorry for late reply: in my case I have a Micropub endpoint that is write-only, so valid-to-spec requests to update or delete must throw errors. Of course, I don’t want to imply the request is malformed.
#
[gerwitz]
…so 400 is the obvious response code, but I’m not suer whether “invalid_request” is appropriate
#
cweiske
isn't there some "unsupported http method" status code?
#
cweiske
no, only "unsupported media type" (415)
#
cweiske
"not implemented"
#
cweiske
The server does not support the functionality required to fulfill the
#
cweiske
request. This is the appropriate response when the server does not
#
cweiske
recognize the request method and is not capable of supporting it for
#
cweiske
any resource.
#
cweiske
that's the correct one IMO
#
[gerwitz]
🤔 I also felt like 5xx was appropriate, but I do “understand” the request method and it seems contrary to the spirit of Micropub to send a parsable error outside 4xx.
#
[gerwitz]
i.e. it’s a Micropub error, not an HTTP error.
#
cweiske
that error is not limited to the request method.
#
cweiske
it's correct for all types of does-not-support-functionality
#
[gerwitz]
I’m inclined to agree and since you’ve implemented clients I feel emboldened to use 501. 🙂
KevinMarks_ and KevinMarks joined the channel
#
Zegnat
501 sounds good to me too, but you might have to invent your own response code. Maybe file an issue against the spec, [gerwitz]? Including whatever you end up using.
#
cweiske.de
edited /GitHub (+483) "using github for comments"
(view diff)
[jeremycherfas] and KevinMarks joined the channel
#
vanderven.se martijn
edited /birthday (+198) "Add myself as example."
(view diff)
kaushalmodi and j4y_funabashi joined the channel
#
Zegnat
kaushalmodi, you can look at the form that dgold is using here: https://github.com/dg01d/reproach/blob/master/layouts/partials/mention.html
#
Zegnat
As you can see, it submits a source and a target URL to the webmention endpoint. This CMS (Hugo) prefills the target field, and the source filled is then filled by the website visitor.
#
Zegnat
You can use exactly that same HTML form, you just have to have a way for your CMS to fill the target URL. And you have to point the form action at your receiving endpoint (https://webmention.io/scripter.co/webmention).
kaushalmodi_ joined the channel
#
Zegnat
kaushalmodi, you can look at the form that dgold is using here: https://github.com/dg01d/reproach/blob/master/layouts/partials/mention.html
#
Zegnat
As you can see, it submits a source and a target URL to the webmention endpoint. This CMS (Hugo) prefills the target field, and the source filled is then filled by the website visitor.
#
Zegnat
You can use exactly that same HTML form, you just have to have a way for your CMS to fill the target URL. And you have to point the form action at your receiving endpoint (https://webmention.io/scripter.co/webmention).
#
kaushalmodi_
Hello, correct, I already looked at that
#
Zegnat
Webmention endpoints actually accept webmentions in “form encoded” format. So any web browser can submit a form to it, no need to have special sending logic.
#
kaushalmodi_
But that uses a heroku app as I mentioned in the other channel
#
kaushalmodi_
and I cannot join it
#
Zegnat
dgold uses the heroku app as his receiver, you use webmention.io, they are interchangable
#
Loqi
A WebMention Endpoint
#
Zegnat
You should use action="https://webmention.io/scripter.co/webmention"
#
Zegnat
The same endpoint URL you are using in the <head> of your site already :)
#
Loqi
it is probable
#
kaushalmodi_
Thanks very much! I'll try that out
KevinMarks joined the channel
#
j4y_funabashi
morning all
#
kaushalmodi_
thanks for your help
#
j4y_funabashi
almost got my micropub server moved over to lambda \o/
#
dgold
hey kaushal - my hugo theme is _very_ much written for _me_, I put it out there so that others could derive inspiration
KevinMarks joined the channel
#
Zegnat
The inspiration worked out ;)
#
kaushalmodi_
Zegnat, yep. dgold: Your theme helped me; I have credited you for that send webmention button.
#
dgold
muy excelente!
#
kaushalmodi_
"Send Webmention" button deployed! Thanks all :)
#
Zegnat
Awesome!
#
Zegnat
kaushalmodi++
#
Loqi
kaushalmodi has 1 karma
kaushalmodi_, KevinMarks and [eddie] joined the channel
#
[eddie]
j4y_funabashi: wow! I’ve been thinking about a Micropub Lambda. How cool!
j4y_funabashi joined the channel
#
petermolnar
so... if I grab a few million URLs and send each of them as source, in a loop, through the heroku page, who's webmention endpoint would survive it?
#
sknebel
through which heroku page?
#
petermolnar
nyah, misread it, doesn't matter, random digitalocean node with cURL would be just as good
#
Zegnat
My current endpoint should survive it, but it is going to take some disk space.
#
petermolnar
I'd probably be fine with accepting, but wouldn't be able to build my site for a while, it would take very long to chew through the queue
#
sknebel
does your site build depend on the queue being finished?
#
petermolnar
the process can be reversed though, to ask as many webmention endpoints as possible to scrape a specific site
#
petermolnar
sknebel: I process the queue on build, if there's anything in there
#
sknebel
yep, the reverse is known as wordpress-pingback-attack
#
petermolnar
was that ever solved in WP?
#
Zegnat
Probably not. Not sure how you would ever solve that.
#
petermolnar
https://indieweb.org/2016/Brighton/webmention - I've talked about these and more with aaronpk a long while ago
#
petermolnar
one of the ideas was to disallow 3rd party and require 'source' to send webmention for 'source'
#
petermolnar
well... essentially sPF
#
petermolnar
unfortunately nothing has been put to practice so far
#
Zegnat
I guess that could work. It does stop all those nice URL forms people are putting beneith their comments from working.
KevinMarks joined the channel
#
petermolnar
you could whitelist the form on your own site
eli_oat and KevinMarks joined the channel
#
Zegnat
That does up the difficulty level of getting into webmentions from adding a few lines of HTML to keeping DNS up to date
#
petermolnar
we could leave out dns, in theory: add another meta, say, webmention-spf, into the header, on first fetch, cache it for a while; this only protects from one type of the attacks though
#
Zegnat
And still requires you visit the website at least once to retrieve meta. But might work.
#
petermolnar
at least it would stay within HTTP, so no obscure, arcane, distasteful DNS knowledge required ;)
[kevinmarks] joined the channel
#
[kevinmarks]
Mention-tech will check the validity itself before sending ding them in, but that will potentially fetch the page.
#
[kevinmarks]
So if you post to mentiontech.com it will post through to the actual endpoint, and cache it in case there isn't one.
#
j4y_funabashi
huzzah! my lambda based micropub endpoint passes all the micropub.rocks test I care about
#
j4y_funabashi
now to move my micropub client across
#
Zegnat
What is lambda?
#
Loqi
Lambda is a service from Amazon Web Services that runs individual functions of code rather than running a server https://indieweb.org/Lambda
#
Zegnat
What is mentiontech?
#
Loqi
It looks like we don't have a page for "mentiontech" yet. Would you like to create it? (Or just say "mentiontech is ____", a sentence describing the term)
#
Zegnat
What is mentiontech.com?
#
Loqi
It looks like we don't have a page for "mentiontech.com" yet. Would you like to create it? (Or just say "mentiontech.com is ____", a sentence describing the term)
KevinMarks_ and KevinMarks joined the channel
#
[kevinmarks]
I thought we had a page
#
[kevinmarks]
Oh it's mention.tech derp
#
[kevinmarks]
Though I should redirect mentiontech.com
#
[kevinmarks]
And apparently I should filter it for bogus sale calls instead of urls
barpthewire and KevinMarks joined the channel
#
j4y_funabashi
some weird sql injection attempts going on there http://mention-tech.appspot.com/
[kim_landwehr] joined the channel
#
[kevinmarks]
Good luck with sql injection on an app engine data store site
#
loqi.me
created /endpoint (+113) "prompted by [kim_landwehr] and dfn added by Zegnat"
(view diff)
kaushalmodi joined the channel
#
vanderven.se martijn
edited /endpoint (+391) "Examples of endpoints: Webmention, 2× IndieAuth, and Micropub"
(view diff)
gRegorLove_, KevinMarks, [cleverdevil] and [eddie] joined the channel
#
[eddie]
j4y_funabashi: How are you storing your data? s3? amazon database? somehow pushing the data to a server file system?
#
[cleverdevil]
I'm also curious to hear about it. You should write it up somewhere, j4y_funabashi 🙂
[Mike] joined the channel
#
[eddie]
Yes, definitely. Like a blog or something 😉
[pfefferle] and oodani joined the channel
#
j4y_funabashi
[eddie] [cleverdevil] I store everything as json files in s3 + dynamoDB
#
j4y_funabashi
I will do a little write up when it is a bit more polished
#
[eddie]
:thumbsup: Looking forward to it
#
j4y_funabashi
the files on s3 are for easy backup, reprocessing etc. dynamoDB is the 'db cache' which powers the views
#
j4y_funabashi
what is serverless
#
Loqi
It looks like we don't have a page for "serverless" yet. Would you like to create it? (Or just say "serverless is ____", a sentence describing the term)
#
[eddie]
That is the combination I was recently thinking about!
#
[eddie]
Awesome, it’s great to see someone already work on implementing that and that it’s not just an idea in my head
#
j4y_funabashi
I have had the same setup in one form or another across the many iterations of my site (json files + DB cache)
#
[eddie]
Currently my files are all YAML, but that means lots of conversion to and from JSON/YAML and I find I have more issues manually editing the yaml because of the white space requirements. I always mess up my whitespace, where as with JSON it’s much more rare to have issues and with a JSON linter it’s almost never happens. So I’m thinking when I transition from a static site to a dynamic site, I might convert all my YAML to JSON
#
j4y_funabashi
j4y.co uses sqlite
#
[eddie]
so are you converting j4y.co to dynamoDB or is dynamoDB powering a secondary site?
#
j4y_funabashi
oof yeah manually editing json or yaml doesnt sound like fun
#
[eddie]
Yeah, it’s not. But I find JSON is more enjoyable when it HAS to happen
#
[kevinmarks]
as long as you have an editor that is verifying structure
#
j4y_funabashi
I am converting the code behind j4y.co to lambda/dynamo and also switching domains
#
[eddie]
kevinmarks: Even without structure verification, I at least, am finding I am better trained to catch missing ,s and {s than missing whitespae
#
j4y_funabashi
The files I store in s3 are microformats json, then when I insert to dynamo I convert it to 'jf2'
#
[eddie]
Just yesterday I edited a YAML file and tried to rebuild my site only to find it broke because of a whitespace problem
AngeloGladding joined the channel
#
[eddie]
ohhhh, that makes a lot of sense j4y_funabashi. I definitely was thinking mf2 json, but since it’s a one way data flow from s3 -> dynamo, that does seem like a convenient conversion.
#
[eddie]
What language do you write your lambdas in?
#
Zegnat
j4y_funabashi, YAML gets not-fun very fast in my experience
#
[eddie]
ohhhh goland
#
[eddie]
Zegnat: Exactly
#
[eddie]
oops golang*
#
Loqi
[j4y-funabashi] inari: Micropub server
#
Loqi
[j4y-funabashi] inari-sls
#
Loqi
[Jay Funabashi] Micropub test of creating a photo referenced by URL https://micropub.rocks/media/sunset.jpg
#
j4y_funabashi
[eddie]: Yeah I am liking storing jf2 in the DBcache as it makes all the view code alot simpler
#
[eddie]
Cool, I’ll take a look around the repos. Are your website views going to be serverless or are you just going to have a server running the view side of things?
#
[eddie]
That’s my last question 😄
#
Loqi
hehe
#
[kevinmarks]
flashback to when I used XOXO as the bus format at technorati so it was all previewable in a browser.
#
j4y_funabashi
[eddie]: yeah the views are serverless too (the sunset link I posted above ^^^)
#
Zegnat
XOXO are outlines in HTML
#
[kevinmarks]
pretty much json except <ol><li> for [] and <dl><dt><dd> for {} http://microformats.org/wiki/xoxo
#
[eddie]
ohhh cool. I was thinking about that, but that seemed more complex than the endpoints being serverless
#
[kevinmarks]
and a bit of extra magic to turn url into clickable links
#
Loqi
XOXO 1.0: Extensible Open XHTML Outlines
#
j4y_funabashi
[eddie]: I do want to enhance with some form of js eventually but it isnt v high up on my list :)
#
[eddie]
But I did save an article by one person that used Amazon’s API Gateway to call Lambdas to serve HTML pages back
#
[eddie]
Is that what you are doing? or using a different Amazon service?
#
[eddie]
ahh yep, I see that in your code now
#
[kevinmarks]
with html5 syntax the tags are self-closing
#
j4y_funabashi
yeah thats what I am doing - using the serverless framework makes it easy as it provisions all the infra for you
#
[eddie]
That’s awesome. I’m definitely going to have to look more into this when I get a chance 😄
#
[eddie]
Thanks for talking through what you’re doing
#
j4y_funabashi
awesome! lmk if you need a hand with anything, however I am by no means an expert :)
#
[eddie]
You’re more of an expert than me!
#
[eddie]
😆 Thanks!
#
j4y_funabashi
puts that on his cv :D
#
aaronparecki.com
edited /timeline (+431) "/* Microsub */ fill in some dates"
(view diff)
jjuran and [cb] joined the channel
#
aaronparecki.com
edited /timeline (+0) "/* Microsub */ found older draft on my laptop, unsure of start date but this was the oldest date i found"
(view diff)
[cleverdevil] joined the channel
#
[cleverdevil]
Yes very cool work j4y_funabashi!
#
[cleverdevil]
Using a framework to set up all the API Gateway stuff is pretty much mandatory. Otherwise it’s sort of painful :P
snarfed, tantek, KevinMarks, KevinMarks_, [miklb], [cb], KartikPrabhu and kaushalmod joined the channel
#
kaushalmod
About u-photo: I was trying to make sure that I was putting in all the right microformats2 classes by validating my page on indiewebify.me
#
kaushalmod
Though I do have an h-card with u-photo on each page
#
tantek
is your h-card outside the h-entry?
#
kaushalmod
yes
#
kaushalmod
it shouldn't be?
#
tantek
that's probably it. your h-entry needs a author with the h-card on it
#
kaushalmod
I have h-card on all my site pages in the footer (even non-post pages). So it is always sitting outside h-entry
#
sebsel
There are ways to reference an outside h-card.
#
aaronpk
in that case you can do what I do with my h-card which is also outside my h-entry
#
sebsel
what is authorship?
#
Loqi
authorship is how to determine who the author(s) of a post are https://indieweb.org/authorship
#
kaushalmod
@aaronpk so just duplicate the h-card?
#
sebsel
Although that give be a bit too many options
#
kaushalmod
one always in footer and another in h-entry too?
#
aaronpk
no, you add a hidden element with the same URL as your h-card URL
#
kaushalmod
hmm. so I don't have an h-card URL..
#
kaushalmod
it's a segment of HTML code inserted using templating on all pages
#
aaronpk
right but there is a URL property that is your home page
#
tantek
there shouldn't be any need to add any hidden elements or duplicates
#
aaronpk
how do I connect my h-entrys on a page to the h-card at the footer of the page without any visible markup then?
#
tantek
kaushalmod: it's ok to have your h-card outside like that, e.g. in your footer. but it should link to your home page
#
tantek
aaronpk: I believe that's why we have rel=author in /authorship
#
aaronpk
that doesn't work for feed pages tho
[colinwalker] joined the channel
#
aaronpk
https://indieweb.org/authorship#How_to_determine step 6 is the only reference to rel=author and that is only for permalinks
#
kaushalmod
@tantek Yes, I already have it that way i.e. h-card in footer with my site url
#
kaushalmod
```
#
kaushalmod
nevermind.. can you do code blocks here? :)
#
kaushalmod
<div class="h-card"> <img class="u-photo" alt="Photo of Kaushal Modi" src="http://localhost:1313/images/me.png"/> <a class="p-name u-url" href="http://localhost:1313/">Kaushal Modi</a> <p> <a class="u-email" href="mailto:kaushal.modi@gmail.com" rel="me">kaushal.modi@gmail.com</a> </p> <p class="p-note">
#
kaushalmod
a geek who likes playing with command-line tools. Uses Emacs. </p> </div> </footer>
#
tantek
looks like a good h-card!
#
kaushalmod
so that's in the footer (ignore the "localhost" as u-url.. it shows the correct scripter.co url in th edeployed site
#
aaronpk
kaushalmod: so for permalinks, adding rel="author" to that <a class="p-name u-url" will solve it
#
kaushalmod
cool! But I didn't get what should go in the h-entry
#
tantek
aaronpk I believe your question is orthogonal, that is, what is (or should be) the scope of /authorship
#
aaronpk
for feed pages, I include <a href="/" class="u-author"></a> inside my h-entry so that the authorship algorithm step 7.4 catches it
#
kaushalmod
at the moment I have just " <p rel="author" class="p-author h-card">Kaushal Modi</p>" as my h-card identifying thing in h-entry
#
tantek
I'm wondering if it would be helpful to have that in general <a href="/" class="u-author"></a> in permalink h-entry s also
#
aaronpk
if you don't mind having your name visible, then you can change that to <a class="u-author h-card" href="/">Kaushal Modi</a>
#
tantek
kaushalmod: the <p> tag does not have a rel attribute
#
tantek
^^^ yes that would be better
#
tantek
aaronpk in general I'd like to pursue / advocate solutions that don't depend on rel
#
aaronpk
agreed
#
tantek
there's a bunch of long term anecdata that mixing class and rel microformats (even on a page level) tends to confuse authors
#
aaronpk
i think i use the same empty <a> tag on my permalinks too
#
tantek
I put rel=author in /authorship for backcompat, not for modern use-cases
#
tantek
I should note that
#
aaronpk
i never knew that
#
Loqi
definitely
#
Zegnat
I use a u-author on the feed itself for my feed page, a visible one.
#
Zegnat
But it is also rel="author". Not sure why I choose to use both.
#
kaushalmod
So with rel="author" added to the u-url in my h-card, I need to add just "<a href="/" class="u-author h-card">Kaushal Modi</a>" in my h-entries. Correct?
#
sebsel
Zegnat a rel="author" on the feed or on the entries?
#
Zegnat
On the A element that is the u-author for the feed, sebsel
#
tantek
Zegnat in the past Google used to advocate for folks to use rel=author. Then they stopped advocating. And there is some anecdotal evidence that they may (sometimes?) ignore rel=author as well
#
tantek
so that may be why you chose to have both
#
Zegnat
I doubt any of my markup was written to please Google :P
#
Zegnat
Although Google might be one of the few automated systems actually reading my site
#
tantek
right, there's no need to - they can read your mf2
#
aaronpk
kaushalmod: the rel="author" isn't needed at all actually, you just need the matching `u-url` on both your footer h-card as well as inside the h-entry
#
kaushalmod
aaronpk: ok
#
Zegnat
goes to see if the internet archive can access his blog
#
kaushalmod
so you mean u-url in h-card must match with the u-author in h-entry
#
kaushalmod
alright, working on it. Thanks
#
sebsel
is trying to set up a reader using aaronpk's awesome work, as to create an automated system to actually read Zegnat's site
#
Zegnat
sebsel, if you use aaronpk’s hosted aperture you are not going to be able to read my blog. Just a heads up.
#
Zegnat
If you are selfhosting, well, YMMV
#
sebsel
looks for the issue with the description of the edge-cases
#
Zegnat
The Wayback Machine can’t access my blog either.
#
aaronpk
btw who's going to implement the next microsub server? that will be the tipping point to 2+ clients and servers! https://indieweb.org/timeline#Microsub
#
sebsel
aaronpk I wanted to focus on my own frontend for now first, to get to know the thing better.
#
sebsel
Especially now you've made it so easy :) (they say)
#
Zegnat
Oh, sebsel, there isn’t an “issue with the description of the” edge-case, if you refer to why Aperture isn’t getting my blog. It isn’t strictly an issue with Aperture at all.
#
sebsel
Is it XRay?
#
aaronpk
now i've forgotten the issue again
#
Zegnat
*cough*curl*cough*
#
aaronpk
something about http versions?
#
kaushalmod
aaronpk: sorry to intrude again.. but indiewebify.me validator doesn't yet seem to link the h-card from h-entry
#
aaronpk
i think this is another case of indiewebify.me not being up to date
#
Zegnat
There is an h-card nested on the h-entry, so it stops discovery there. That embedded h-card does not have a photo.
#
kaushalmod
in that second link, photo is null
#
tantek
how is indiewebify updated? manual? or automatic on tagged release?
#
Zegnat
If you want it to use the h-card from your footer, you can’t have an h-card inside the h-entry
#
kaushalmod
ah, so I need to remove h-card from that u-author link?
#
tantek
wait why
#
tantek
also this seems like a good opportunity to use a fragment link
#
Zegnat
If you want to use the more complete h-card with photo from the footer, you can’t have an h-card inside the h-entry.
#
kaushalmod
ok, right now I have <a href=https://scripter.co/ class="u-author h-card">Kaushal Modi</a>
#
Loqi
Kaushal Modi
#
aaronpk
oh right change the one inside the h-entry to just <a href="u-author"></a>
#
aaronpk
oh right change the one inside the h-entry to just <a href="u-author" href="/"></a>
#
tantek
like <a href="#footer-h-card" class="u-author">...</a>
#
aaronpk
take out h-card
#
kaushalmod
will do
#
aaronpk
forgot about that, thx Zegnat :)
#
tantek
would that work? then no need to retrieve another page
#
tantek
aaronpk ^^^ WDYT of that markup
#
aaronpk
it doesn't require fetching another page even with href="/"
#
aaronpk
as long as the full h-card is in the footer with the same href
#
Zegnat
It already doesn’t need to retrieve, tantek. If there is an h-card where the u-url matches the u-author on the same page, it takes that
#
tantek
ah with the same u-url?
#
tantek
ok I forgot about that step
#
tantek
that's even better (more robust)
#
Zegnat
Hmm, is sturdy-backbone right? It seems to say it only checks the current page *after* retrieving the external page? (step 7.4)
#
kaushalmod
thanks Zegnat
#
Zegnat
Happy to help kaushalmod!
#
kaushalmod
aaronpk: Now the xray validation looks good!
#
kaushalmod
Though indiewebify.me complains You’re marking up your post’s author as a string — add h-card to make it a full h-card!
#
Zegnat
Parts of the authorship algo may be newer than indiewebify
#
tantek
perhaps indiewebify.me needs updating to do more of /authorship?
#
tantek
worth filing an issue on indiewebify.me for that
#
aaronpk
yes i believe so
#
kaushalmod
yes will do
#
tantek
meanwhile I'll go add some informational notes to /authorship
#
tantek
a-ha I see we actually have rel=author in the how to publish, I'll fix that
snarfed and barpthewire joined the channel
#
Loqi
[kaushalmodi] #72 Author linking fails between h-entry/u-author and external h-card/u-url
#
tantek
kaushalmod++ thanks!
#
Loqi
kaushalmod has 1 karma
#
tantek
aaronpk /authorship already describes how to for both posts and streams of posts, thus apparently we decided on permalink + streams (home page or separate feeds)
#
tantek.com
edited /authorship (+423) "update how to publish to not recommend rel=author explicitly, since it was intended for backcompat, and mixed class/rel suggestions are known to be more confusing than just class, note rel-author link detection for backcompat"
(view diff)
#
tantek
aaronpk, Zegnat review ^^^ ?
#
aaronpk
what's the use case for recommending p-author at all?
#
aaronpk
vs u-author
#
tantek
also just re-seeing https://indieweb.org/authorship#Does_not_implement_standards (which clearly I responded to before) but seriously does anyone here even *know* anyone using or especially *depending on* "meta author" ?
#
tantek
aaronpk: p-author when there is no separate h-card page
#
Zegnat
That edit looks fine to me, tantek
#
Zegnat
I just noticed how many issues there are filed on the indiewebify.me repo :(
#
tantek
probably could use some triage?
#
tantek
especially if we figure out a way to semi-automate deployments!
#
aaronpk
i don't think deployments are the bottleneck
#
tantek
is top of tree currently deployed?
#
tantek
(empirical test for that question)
#
aaronpk
it's missing the latest commit
#
aaronpk
so it is not automatically deployed, but there has been only one change since june 2017
#
tantek
who wants extra stack overflow points? provide an updated answer to this question with h-card (currently has an hCard example, that could be drastically simplified with mf2) https://stackoverflow.com/questions/5125856/should-i-use-meta-name-author-content-your-name-or-link-rel-author-hr
#
tantek
oh interesting I also don't see the OpenID sign-in option anymore
#
Loqi
[Aaron Parecki] End of an era. StackOverflow is dropping support for OpenID. https://meta.stackexchange.com/questions/307647/support-for-openid-ends-on-july-1-2018
#
tantek
today is before july 1 tho
#
aaronpk
oh for sign-in openid is behind the "more login options" link
#
tantek
oh its hidden in more options
#
tantek
notes they handled "tantek.com" :)
#
tantek
" You are about to create a new account on Stack Overflow using a login from " LOL hmm
#
tantek
so this account would die in 3 months then?
#
Zegnat
I am guessing they will prompt all OpenID users to get a username and password setup at some point
#
aaronpk
"April: We will email all users that rely on deprecated OpenID credentials and request that they add a new provider to their account"
#
tantek
didn't enter an email
#
Zegnat
I used to use OpenID via indieauth.com on SO, but at some point that stopped working for me and I haven’t used OpenID since.
#
tantek
wonders what will happen
#
aaronpk
it didn't make you?
#
tantek
just a display name so I chose "t" :P
#
kaushalmod
I'm now onto representative h-card validation.. Is it a normal practise to set rel=me for the site URL (homepage) too?
#
kaushalmod
in addition to the usual twitter, github, email, etc. link tags
#
Zegnat
Hm, I haven’t set rel="me" from my homepage to my homepage
#
KartikPrabhu
I don't see the use in setting a rel=me from a page to itself
#
kaushalmod
no.. from the page to the site baseurl
#
kaushalmod
Add a u-url property which matches a rel=me link on the same page so this h-card can be identified as the h-card which represents the page.
snarfed joined the channel
#
Zegnat
No, you wouldn’t have representative h-cards on posts.
#
kaushalmod
Ah, I thought the "representation" meant that I truly was the author of that post
#
Zegnat
That’s what the author markup takes care of.
#
kaushalmod
hmm, ok. Sorry for the noise, learning a lot of new lingo
#
kaushalmod
Zegnat++
#
Loqi
zegnat has 51 karma in this channel (189 overall)
#
Zegnat
The word representative means that the current URL refers to the h-card. On post pages, the current URL usually refers to the post itself.
#
kaushalmod
I see
#
kaushalmod
Also I missed "homepage" in "Check your homepage h-card:" on that validation page
#
kaushalmod
the h-card validates as being representative on the homepage alright
#
Zegnat
The question behind the representative h-card: “Given a URL to a page that represents a person, how do you determine which hCard on that page is the hCard for that person?” - http://microformats.org/wiki/representative-hcard
#
Loqi
representative hCard
#
Zegnat
What is a representative h-card?
#
Loqi
The representative h-card for a page is an h-card on that page that represents that page, if any, as not all pages are about a person or organization, a page might not have a representative h-card https://indieweb.org/representative_h-card
kaushalmodi joined the channel
#
tantek
alright I'll give it 24h but I'm already testing the waters with seeing about deprecating meta name=author from HTML, just asked if anyone knows any browser support in the #whatwg channel
#
tantek
^^^ feel free to add pages you want to point out for the 4/04 party/wake
jjuran joined the channel
#
www.boffosocko.com
edited /silo-quits (+605) "Leo Laporte Facebook quit on 3/18"
(view diff)
oodani, chrisaldrich and [stefp] joined the channel
#
tantek.com
edited /mobile_posting (+66) "including reply and share in dfn since that's a key scenario the page covers"
(view diff)
#
loqi.me
created /sharing_on_mobile (+27) "prompted by tantek and redirect added by tantek"
(view diff)
#
loqi.me
created /mobile_sharing (+65) "prompted by tantek and dfn added by tantek"
(view diff)
#
loqi.me
created /mobile_replying (+27) "prompted by tantek and redirect added by tantek"
(view diff)
#
sebsel
? it seems like my homebrew token endpoint both grants and verifies tokens with a POST on /token
#
sebsel
But according to https://indieweb.org/token-endpoint it should be a GET for the verification
#
sebsel
has this changed? how did this ever work for me before?
#
sknebel
sebsel: if I'm not mixing up things, only your micropub endpoint is using the verification, so as long as you did the same there or are using a shared database you wouldn't notice
#
sebsel
Ah you're right. That must be it. And then I just missed this when I build it.
jjuran joined the channel
#
sebsel
beh, I don't think I ever implemented it. I should probably go back to rebuilding my site before going on this reader-adventure :(
#
sknebel
Heh, I know the feeling
[sdepolo] joined the channel
#
www.boffosocko.com
created /use_case (+2624) "stub page with links to extant broad use cases"
(view diff)
#
tantek
in reading http://kimberlyhirsh.com/dear-indieweb/ has anyone else had this problem/challenge? "Posting notes to Facebook and Twitter without weird link previews or my Gravatar popping up"
#
Loqi
[Kimberly Hirsh] Dear IndieWeb, it may be time to start considering the user, not just the technical spec. by Eli Mellen (eli.li) I’ve been working on a series of walkthrough posts that outline how to IndieWebify a Wordpress site. I presumed the initial setup would...
#
tantek
I feel like there's an opportunity here to document a /link-preview#How_to that specifically says how to *not* have a link-preview
j12t, j12t_, KevinMarks and tbbrown joined the channel
#
gRegorLove
That sounds like messed up mf1 in WordPress templates.
#
Loqi
[tantek] #7 Can we improve h-entry backcompat to handle common WordPress hentry streams?
#
@ChrisAldrich
Thinking about going #IndieWeb, but haven't made a platform choice? @GrabaPerch is an interesting choice with Webmention support and more. Also currently on sale! #DeleteFacebook https://twitter.com/grabaperch/status/978314153705295877
(twitter.com/_/status/978397591355437062)
#
gRegorLove
Or maybe not. Could be OGP finding their gravatar as the only image on a post and showing that in the preview. That would make more sense. I mis-read the comment at first.
#
gRegorLove
I have run into this: the image I specified for OGP quite a while ago is smaller than FB's "required" resolution, so link preview finds other larger images on my links and defaults to them instead.
#
gRegorLove
And that's explicitly using their ogp tag, so that's frustrating.
#
gRegorLove
The UI does give the option to select other images, so I can click an arrow until it shows my icon instead of the larger photo.
#
tantek
but that requires manual 'fixing' of POSSEd posts to FB
#
gRegorLove
I've been mostly manually POSSE to FB. I haven't tried in a while, but when I was using Bridgy Publish I wasn't always getting backfeed if the post showed a link-preview underneath.
#
gRegorLove
So I paste in my link and remove the link-preview.
#
gRegorLove
And sometimes, like with that Ars Technica piece, I actually post the entire note text to FB instead of a title+link, so manual is easiest for me currently.
#
tantek
I'm rethinking all my FB POSSEing in light of all the privacy/CA betrayals
#
tantek
and frankly even locking down things like wall posting
kaushalmodi joined the channel
#
kaushalmodi
tantek: Continuing from the indieweb channel: (1) Export Disqus XML.. there's only one way: https://help.disqus.com/customer/portal/articles/472149-comments-export
#
kaushalmodi
(2) this was a one time thing.. so I just googled to see if there's an easy way to convert xml to json and found this: http://www.utilities-online.info/xmltojson/
#
kaushalmodi
(3) Once I have JSON, Hugo has amazing Data reading methods: https://gohugo.io/templates/data-templates/
#
tantek
ok that's still a lot of work and still amazing
#
tantek
what is disqus
#
Loqi
Disqus is a comments hosting silo https://indieweb.org/Disqus
#
kaushalmodi
I save that JSON to <site repo>/data/disqus_comments.json and then just loop through it, and output the comments where the page RelPermalink matches that in the db
#
kaushalmodi
It took about 45 mins to get this: https://gitlab.com/kaushalmodi/hugo-theme-refined/blob/master/layouts/partials/disqus-json.html, but still a lot less time than I expected :)
#
tantek
cool https://indieweb.org/Disqus#Exporting_a_blog.27s_comments links to the help disqus page - but it would be great if you could add the others! Perhaps
#
kaushalmodi
I didn't go into the hassle of created nested comments (figuring out parent/child, etc)
#
tantek
kaushalmodi: better yet - could you add a "From Disqus" section here? https://indieweb.org/Hugo#Migrating_to_Hugo
#
kaushalmodi
I simply put a snippet from parent comment and the parent author, so anyone reading that can get some sense out of it
#
kaushalmodi
I plan to write a blog post soon (on this and everything I learned about webmentions, syndication, etc)
#
tantek
great!
[asuh] and chrisaldrich joined the channel
#
www.boffosocko.com
edited /micro.blog (+1253) "Stub for Why section; some criticisms"
(view diff)
eli_oat joined the channel
#
tantek.com
edited /Getting_Started (+120) "disambig link at the top for folks that are already on WordPress or know they want to"
(view diff)
#
tantek
yeah the photos / articles criticism should be updated
#
tantek.com
edited /micro.blog (+67) "reduce criticism about post type, note features explicitly"
(view diff)
#
www.boffosocko.com
edited /silo-quits (+861) "Singer/Actress Cher quit Facebook on 3/20/18"
(view diff)
#
tantek.com
edited /micro.blog (+562) "slight copy editing / splitting into three different why / entry points for Why micro.blog"
(view diff)
#
www.boffosocko.com
edited /silo-quits (+1338) "Actor Jim Carrey Facebook quit; Actress Tea Leoni Facebook quit"
(view diff)
#
tantek
chrisaldrich: can you review edits to https://indieweb.org/micro.blog#Why ?
[kevinmarks] and eli_oat joined the channel
#
tantek
in particular please review the new "1" I added about "Want to try out the IndieWeb without a domain?"