#dev 2017-07-26

2017-07-26 UTC
[miklb], deep-book-gk_ and tantek joined the channel
#
gRegorLove
Interesting that allinthehead.com article didn't pick up my author photo
#
gRegorLove
Looks like most indie responses it didn't get photos for actually
#
gRegorLove
work in progress, I'm sure
#
tantek
gRegorLove: probably an indication of an implementation of a subset of the authorship algorithm
[kevinmarks] joined the channel
#
[kevinmarks]
Round face icons though
#
tantek
makes me wonder if it's time for a test suite for that
#
tantek
for consuming code
#
tantek
and a validator that follows /authorship fully for content (and indicates which step your post used)
tantek, j12t_, deathrow1, eli_oat, KevinMarks, snarfed and [miklb] joined the channel
#
[miklb]
!tell aaronpk when you have a few minutes, could you take a look at this issue I’m having with Quill and WP micropub? https://github.com/snarfed/wordpress-micropub/issues/69
#
Loqi
Ok, I'll tell them that when I see them next
#
Loqi
[miklb] #69 Missing Location Header
gRegorLove joined the channel
#
Ruxton
miklb: what are you sending to the micropub endpoint?
#
[miklb]
a photo post.
#
[miklb]
from iOS
#
Ruxton
interesting, I wonder if Quill is sending filename in the post
#
Ruxton
are you able to upload same photo inside the wordpress admin UI?
#
[miklb]
good question. I haven’t tried posting directly from my phone to the admin.
#
Ruxton
try that, if it works, it's likely something Quill is not doing right, as I'm throwing images at wordpress-micropub every few days without drama
#
[miklb]
yes, I was able to upload that photo through wp-admin from iOS fine. OwnYourGram works fine
#
gRegorLove
Quill sends a tmp file name that does not have an extension
#
Ruxton
yerp just saw that :P
#
gRegorLove
That error messgage is from WP core. May only be doing file extension checks. I ran into that with my MP for ProcessWire plugin.
#
[miklb]
it is a core error and there’s a whitelist of extensions allowed iirc.
#
Ruxton
That's correct, only file extension checks
#
gRegorLove
Yeah, they should improve that.
#
[miklb]
wonder if there’s something I can filter to allow coming from Quill…
#
Ruxton
it's easier to fix it in Quill and make Quill behave correctly (send original file extension)
#
Ruxton
surely?
cweiske joined the channel
#
[miklb]
possibly, I tried with the plugin in that issue but got same error
#
gRegorLove
What mime type does finfo_file() show for the image on your server?
#
[miklb]
it never makes it from my phone
#
gRegorLove
"Lord of the Files" plugin, hah
#
[miklb]
I am using a plugin to offload images to my S3 bucket, but I don’t think that’s teh problem since my OYG images work fine.
#
Ruxton
i've attempted a fix into Quill for this to ensure it sends the original filename instead of the tmp_name
#
Loqi
[tjgillies] #81 quill may or may not be converting animated gif to static gif
Defenestrate joined the channel
#
[miklb]
little surprised this hasn’t come up before
#
[miklb]
my issue with WP/iOS
#
[miklb]
as an aside, I didn’t realize the native wp-admin was so functional on my phone. Might not need Quill on iOS afterall
#
Loqi
[Ruxton] #82 Ensure original filename+extension is sent
#
[miklb]
Ruxton++
#
Loqi
ruxton has 1 karma in this channel (4 overall)
tantek and KevinMarks joined the channel
#
Zegnat
!tell tantek if you are looking for a “validator” for authorship, I like testing with https://sturdy-backbone.glitch.me/ which will highlight the exact path through the algorithm that needs to be taken for any page.
#
Loqi
Ok, I'll tell them that when I see them next
jjuran, KartikPrabhu, Defenestrate, drewinthehead and sebboh` joined the channel
AngeloGladding, dansup and drewinthehead joined the channel
#
drewinthehead
gRegorLove: I basically haven't implemented the authorship algo yet. Just looking at that now.
KevinMarks joined the channel
#
drewinthehead
I think I'm right in staying there's no a standalone PHP implementation for the authorship algo, just a few partial in-the-wilds. Is that right? Seems like it would make a useful addition.
#
Zegnat
Looks like you are right drewinthehead, though some implementations might be really easy to take out and use stand-alone: https://indieweb.org/authorship#Implementations
KevinMarks_ and KevinMarks joined the channel
#
www.svenknebel.de
edited /authorship (+8) "/* XRay */ also library"
(view diff)
KevinMarks and jeremycherfas joined the channel
#
www.svenknebel.de
edited /Events () "(-1320) /* 2017 */ remove past events from reccent"
(view diff)
#
www.svenknebel.de
edited /Events (+1336) "/* 2017 */ and archive them"
(view diff)
#
www.svenknebel.de
edited /Events (+38) "/* Earlier */ link 2017 archive page"
(view diff)
#
www.svenknebel.de
edited /Events (+0) "/* April */ change april ideas to 2018"
(view diff)
barpthewire joined the channel
#
www.svenknebel.de
edited /Events (+167) "/* July */ add all cities for 07-26"
(view diff)
#
jeremycherfas
Hey voxpelli: Can I get information about errors from webmention.heroku?
#
jeremycherfas
Failing to add the domain I established through ngrok, and wonder why.
#
voxpelli
jeremycherfas: WHat error are you getting?
#
jeremycherfas
Failed to add domain
#
jeremycherfas
I think I’ll just live dangerosly and see if I can get things going on the live site.
#
voxpelli
jeremycherfas: I will look in my logs
#
jeremycherfas
No worry, thanks. I just added the live site domain and will work with that.
#
voxpelli
jeremycherfas: I can't find anything in the logs :/
#
jeremycherfas
Ah well. I’ve got an hour or so to play live. If I can get something — anything — I’ll be very happy.
#
voxpelli
jeremycherfas: what domain did you try to add?
#
voxpelli
can't remember the format of ngrok domains
#
jeremycherfas
https://39e1e221.ngrok.io/grav-admin/ I can’t get a standard subdomain without paying € 60 upfront, and it isn’t worth that to me.
#
voxpelli
And what are you trying to add? Just the "39e1e221.ngrok.io", right?
#
jeremycherfas
Ah no. That won’t work, because all my local sites are under a subdomain here, because of MAMP
#
sknebel
that shouldn't be a problem though, since *you* choose for which pages on the domain it's the webmention endpoint?
#
jeremycherfas
Don’t understand, sknebel.
#
sknebel
why won't it work to add the entire domain?
#
sknebel
webmentions only get sent to webmention.herokuapp for pages on which there is a header declaring it as the endpoint
dougbeal|mb1 joined the channel
#
jeremycherfas
I’ll try that first then. Thanks.
#
jeremycherfas
Whoa! Truly wonderful stuff voxpelli. I used the sample data first to see how much styling I would have to do, and they all came throough just perfectly.
#
jeremycherfas
Could I ask people to please send a webmention to https://39e1e221.ngrok.io/grav-admin/blog/take-back-the-net-revisited so that I can see how it copes with real webmentions?
#
Loqi
"Take back the net" revisited
#
jeremycherfas
Voxpelli++
#
Loqi
voxpelli has 9 karma in this channel (106 overall)
#
voxpelli
Nice :)
KevinMarks joined the channel
#
voxpelli
jeremycherfas: You can run it against https://webmention.rocks/ I think
#
voxpelli
or um, maybe not the right thing
#
jeremycherfas
I can try, that’s true.
#
jeremycherfas
No. It is your implementation, not mine.
#
jeremycherfas
Oh, that’s fun. The example webmentions change with each reload.
#
voxpelli
The more examples, the better ;)
KevinMarks joined the channel
#
jeremycherfas
The styling will be fun, I think.
#
jeremycherfas
Is it possible to change the order in which the elements are displayed?
#
voxpelli
jeremycherfas: well, with CSS Flexbox and such it sure is ;)
#
jeremycherfas
I guess that as the random subdomain that ngrok supplies will change next time I want to use it that I will have to start from scratch, logging out this site
KevinMarks, KevinMarks_ and eli_oat joined the channel
#
jeremycherfas
Actually, CSS flexbox looks like it could be very worthwhile learning.
#
voxpelli
it sure is, very powerful
#
voxpelli
that + CSS Grid which is soon available to wide use as well will make layouts in CSS so much more powerful and easy
KevinMarks joined the channel
#
sknebel
CSS Grid really is fun
#
jeremycherfas
I’ve read about CSS Grid, and it seems remarkably powerful. Flexbox might be easier to start with.
#
jeremycherfas
Does it degrade elegantly?
#
jeremycherfas
Oh, I see there’s a tool for helping it cope with older browsers. That’s handy.
#
sknebel
you can feature-check for it, and AFAIK it overrides other layouting rules - if it isn't supported, you can fallback to a conventional layout
eli_oat1, KevinMarks and dougbeal|iOS joined the channel
singpolyma, cweiske and [asteres] joined the channel
#
voxpelli
Flexbox is supported for long enough for me to consider it to be okay to expect everyone to have it
#
voxpelli
Especially as it became introduced before @supports was introduced
#
jeremycherfas
Well, all that is a few days in the future at least.
KevinMarks, KartikPrabhu and j12t joined the channel
#
Loqi
sknebel, did you find your MP content type notes?
#
Loqi
Countdown set by sknebel on 2017-07-25 at 4:35pm CEST
dougbeal|mb1, jjuran and KevinMarks joined the channel
#
aaronpk
good morning
#
Loqi
aaronpk: [miklb] left you a message 9 hours, 56 minutes ago: when you have a few minutes, could you take a look at this issue I’m having with Quill and WP micropub? https://github.com/snarfed/wordpress-micropub/issues/69
#
aaronpk
catching up on logs
#
Loqi
*yawn*
#
aaronpk
yep that's how i feel too, Loqi
KevinMarks, j12t and tantek joined the channel
#
martymcgui.re
edited /Micropub/Clients (+0) "/* Clients */ re-alphabetize"
(view diff)
#
tantek.com
edited /Slater (-1) "copy/pasta s/Screech/Slater"
(view diff)
KevinMarks joined the channel
#
martymcgui.re
edited /Micropub/Clients (+1010) "/* Clients */ add screech, slater"
(view diff)
#
schmarty
tantek: thanks for catching my pasta
#
tantek
what is PASTA
#
Loqi
tantek: Zegnat left you a message 8 hours, 46 minutes ago: if you are looking for a “validator” for authorship, I like testing with https://sturdy-backbone.glitch.me/ which will highlight the exact path through the algorithm that needs to be taken for any page.
#
Loqi
PASTA is an acronym/abbreviation for Publish Anywhere, Save To (private) Archive, the practice of automatically saving a copy of whatever you post on (social media) silos to someplace else under your own control, like a private directory on your own server, or a local folder on your laptop that is less vulnerable to site-death https://indieweb.org/PASTA
#
tantek
oh dear, jargon collision
snarfed joined the channel
#
tantek.com
edited /Slater (+76) "subhead Marty McGuire, link?, selfdogfooding"
(view diff)
#
martymcgui.re
edited /Slater (+4) "/* Marty McGuire */ update w/ example"
(view diff)
KevinMarks joined the channel
#
tantek
Perch++ wow
#
Loqi
perch has 1 karma in this channel (2 overall)
KevinMarks joined the channel
#
drewinthehead
Still need to improve author detection, but that's coming. Small steps.
#
tantek
drewinthehead: what did you think of /authorship?
j12t joined the channel
#
drewinthehead
@tantek Looks good to me, appreciate it being well spec'd, just need to get it implemented.
#
tantek
cool. good to know! appreciate any feedback on any difficult / awkward / confusing bits.
snarfed, KevinMarks, [miklb] and gRegorLove joined the channel
#
tantek.com
edited /Tumblr (-9) "shorten code example"
(view diff)
#
tantek.com
edited /Tumblr (+464) "/* Criticisms */ Two Weeks Warning"
(view diff)
#
gRegorLove
tantek: I think https://indieweb.org/Tumblr#Releasing_inactive_accounts is the same, can be merged into that section ^
KevinMarks joined the channel
#
tantek
oh oops, didn't see it
#
tantek
on it
#
gRegorLove
np. Good to have a screenshot
cweiske and j12t joined the channel
#
tantek.com
edited /Tumblr (-65) "/* Criticisms */ merged with prior Releasing inactive accounts, move that section near involuntary identity reassignment due to being related"
(view diff)
j12t joined the channel
#
gregorlove.com
edited /Tumblr (+148) "/* Blocked Feedreader Bloglovin */ Tumblr blocks Bloglovin citation with archived link"
(view diff)
#
voxpelli
It's no longer blocked as far as I remember, happened when I worked at Bloglovin
#
gregorlove.com
edited /Tumblr (+322) "/* Blocked Feedreader Bloglovin */ venturebeat citation with archived link"
(view diff)
#
gRegorLove
Wow, I don't get the annoying 1/3 overlay to join Facebook when I open that ^
#
cweiske
only when you scroll IIRC
#
snarfed
looking forward to reading this actual quantitative study of how many users can't do SSL: https://arxiv.org/abs/1706.02813
#
snarfed
there's been lots of FUD forever about how many people you leave behind if you're SSL-only, and more recently SNI-only, but very little actual measurement ordata
#
gregorlove.com
edited /Tumblr (+156) "/* Blocked Feedreader Bloglovin */ working again as of 2014-09-09"
(view diff)
KevinMarks joined the channel
#
tantek.com
edited /Tumblr (+180) "/* Releasing inactive accounts */ reset your password"
(view diff)
snarfed joined the channel
#
Zegnat
snarfed, I have noticed that too. When I first set-up SSL I saw all these warnings about SNI, but I haven’t had any complaints and everyone I ever linked to my site has been able to reach it.
#
tantek.com
edited /Tumblr (+229) "/* Releasing inactive accounts */ when you click Alrighty"
(view diff)
#
cweiske
I had my share of SNI problems, 15 years ago
#
jeremycherfas
Tantek: your experience of being able to set a new password suggests that if I allow my Tumblr site to be dormant I will eventually get the same email and be allowed to reset my passowrd.
KevinMarks_ joined the channel
#
tantek
assuming you still have access to the email you used to sign-up on Tumblr!
#
aaronpk
the only SNI problems i've had is from people using python2 HTTP clients
#
cweiske
elasticsearch head plugin running on localhost:9200 is not able to access ES instance on localhost:8080 (ssl forwarding) because of CORS :/
#
cweiske
sometimes I want the old browsers back
#
cweiske
s/ssl/ssh/
KevinMarks, KevinMarks_, snarfed and KartikPrabhu joined the channel
#
sknebel
Regarding authorship tests, there is a github repo with test cases, Zegnat already linked to the "explaining" tool
#
dgold
regarding https 'leaving users behind' - that paper suggests a vanishingly small cohort of users
#
dgold
and I don't think the size of that cohort countermands the benefits of https
snarfed joined the channel
#
cweiske
chat search will continue to not return emojis, because of elasticsearch tokenization problems with unicode and a too-low ES version on my server :/
jeremycherfas joined the channel
#
Loqi
[cweiske] #27 emojis not displayed in results
#
tantek
sknebel - I missed the links (re: /authorship)
#
sknebel
copy-paste because lazy: tantek: Zegnat left you a message 8 hours, 46 minutes ago: if you are looking for a “validator” for authorship, I like testing with https://sturdy-backbone.glitch.me/ which will highlight the exact path through the algorithm that needs to be taken for any page.
#
Loqi
[sandeepshetty] authorship-test-cases: Test cases for the IndieWeb Authorship Algorithm
#
sknebel
the test repo needs updates I just saw
#
sknebel
(there is even a PR already for some fixes)
snarfed joined the channel
#
tantek.com
edited /stream (+10) "h-feed over hAtom"
(view diff)
#
tantek
sknebel: I don't think we've heard from sandeep in a while - probably worth forking somewhere to collaborate
KartikPrabhu joined the channel
#
tantek
thanks sknebel
#
tantek
!tell Zegnat it appears that sturdy-backbone cannot find my authorship - only showed red for steps 1 & 2: https://sturdy-backbone.glitch.me/test?url=http%3A%2F%2Ftantek.com (also red is odd for indicating a "good path taken")
#
Loqi
Ok, I'll tell them that when I see them next
#
tantek
sknebel oh wait is that your tool?
#
Zegnat
It is sknebel’s tool
#
aaronpk
that seems to be following the authorship algorithm correctly
#
Zegnat
And it needs an h-entry, tantek.com is not an h-entry
#
aaronpk
it correctly aborts
#
tantek
no it's supposed to handle an h-feed
#
Zegnat
I have a question about handling feeds: https://indieweb.org/authorship#Questions
#
aaronpk
"start with a particular h-entry to determine authorship for, and no author"
#
tantek
step 4
#
tantek
aaronpk a-ha good point
#
aaronpk
it says to abort on step 1
#
tantek
odd that it got to step two then ;)
KevinMarks joined the channel
#
Zegnat
Probably because it discovers there is no valid h-entry for the URL at that step in the parser
#
tantek
ok worked for a permalink, cool
#
tantek
very cool actually
#
tantek
sknebel++
#
Loqi
sknebel has 18 karma in this channel (50 overall)
#
Zegnat
https://indieweb.org/authorship#Questions also has a link to the chatlogs where sknebel and I discuss feed support. https://chat.indieweb.org/dev/2017-07-16#t1500238350593000
#
Zegnat
Any input on that is welcome
#
gregorlove.com
edited /authorship (-3) "move testing up from See Also"
(view diff)
#
tantek
nooooooo -merge
#
sknebel
thanks
#
sknebel
looking at tanteks permalinks reminds me that there still is an open bug in the JS mf2 parsers triggered by them
#
tantek.com
edited /authorship (+1650) "How to, How to publish and validate, how to determine"
(view diff)
#
Zegnat
sturdy-backbone.glitch.me just showing the entire JSON for the h-cards confronts me with how much stuff I am pushing to everyone who tried to get my author information, haha
#
Loqi
rofl
#
Zegnat
Also I might see a big. Is the JS mf2 parser easily testable somewhere? sknebel?
#
voxpelli
Zegnat: it used to be available at Glenn's site, but Glenn's site seems to be gone? http://www.glennjones.net/
#
sknebel
Zegnat: glenns site is down, so right now not
#
tantek
Was there a HWC Brighton tonight?
#
Zegnat
No, cancelled
#
Zegnat
sknebel, see e.g. https://sturdy-backbone.glitch.me/test?url=https%3A%2F%2Flicit.li%2F596d1d02177ec and look for my weight in the output. The “name” value is “kilograms”. I expect “83.7 kilograms” (see https://php.microformats.io/?url=http%3A%2F%2Fvanderven.se%2Fmartijn%2F)
#
sknebel
Zegnat: just patched an endpoint in: http://sturdy-backbone.glitch.me/mf2?url=
#
sknebel
(not quite stock, my open PRs are already merged in that one)
#
Zegnat
Still doesn’t match the PHP output on weight. Now I have to see which parser is wrong.
#
tantek.com
edited /authorship (+6) "make the OR explicit because (some) people tend to like to tick all the boxes (just to be sure) and you don't have to"
(view diff)
#
tantek
notices " Does not implement standards " lol
#
Zegnat
The rel="author" mentioned in that section is implemented in the algo though. Can’t it be removed?
#
tantek
working on it
#
Zegnat
tantek++
#
Loqi
tantek has 12 karma in this channel (374 overall)
#
tantek
noting when it was added - should be resolved
#
tantek
but meta author is metacrap
#
sknebel
Zegnat: looks like a bug in the JS parser, presumably it doesn't do the .h-x>abbr:only-child rule correctly?
#
sknebel
in general I assume it has quite a few bugs. I tried it to update to the current mf2 test suite but it failed quite a bit of that
#
sknebel
not sure if I updated it wrong or actual bugs in all cases, but
#
Zegnat
I will have a closer look in a bit. It might just as well be a mistake on the PHP end, mind you. I am doing some weird stuff with the mark-up there.
#
sknebel
it does :only-of-type instead of :only-child
#
dgold
whew - nice even playing with php - I have photos (by url), categories and JSON working on my micropub implementation
#
dgold
*evening
#
tantek.com
edited /authorship (+736) "/* Does not implement standards */ note resolutions to issues. tl;dr meta author is metacrap, rel=author already in algo"
(view diff)
#
Zegnat
sknebel, that would do it, yes
#
sknebel
where the microformat rules changed for that?
#
Zegnat
Going through wiki history
#
Zegnat
I am not seeing it getting changed sknebel. Am in June 2015 now and still only-child
#
sknebel
doesn'T seem so. but e.g. photo and name are parsed differently, and the code treats them all the same it seems
#
Zegnat
It used to be called :only-node in the parsing spec, apparently. But I don’t think it has ever been of-type
#
tantek.com
edited /authorship (+705) "/* Questions */ answer a few, clarify, follow-up"
(view diff)
#
sknebel
(also, I totally wasn't aware that there is an implied *photo* property. so an h-entry with a single img in it might accidentally get a photo property?!)
#
Zegnat
I wonder if that trips up post type discovery
#
tantek
not accidentally, automatically!
#
Zegnat
Write a blog post, have 1 IMG in there, suddenly parser output has a u-photo and PTD turns it into a photo post?
#
tantek
but note how constrained it is
#
Zegnat
has not read Post-Type-Discovery much
#
tantek
"an h-entry with a single img in it" sure sounds like a photo post
#
sknebel
could also be a "u-featured"
#
sknebel
when then becomes both photo and featured?
#
Zegnat
Which is why I said “1”, tantek. It could have 100 paragraph tags and a single IMG, and the h-entry would get a photo property
#
sknebel
Zegnat: well, it can't be nested in e.g. the e-content
#
Zegnat
But I don’t need e-content
#
Zegnat
Could be 2 paragraph note, no e-content at all.
#
sknebel
or could be a decoration image that's part of the layout
#
Zegnat
decorations shouldn’t be IMG, but yes
#
sknebel
(getting OT, what should they be instead if they are pixel images? or is it "should not be pixel images"?)
[miklb] joined the channel
#
[miklb]
I’ve never heard of decoration image
#
sknebel
like, some design element thats a picture. a fancy "bookmark" symbol on a bookmark post or something like that
#
Zegnat
sknebel, tantek, I would not expect something like this post to be classified a photo post by PostTypeDiscovery: https://php.microformats.io/?id=20170726201118954
#
aaronpk
Whoa what I didn't realize it did that
#
sknebel
I remember the distinction between u-featured and u-photo being important?
#
Zegnat
IMGs are implied as photo properties if they are only-of-type, not only-child, aaronpk
tantek joined the channel
#
Zegnat
Also a good one sknebel! Should a u-featured suddenly count as an implied u-photo. My first reaction is no
#
sknebel
no, that'd make the distinction almost pointless I think
eli_oat joined the channel
#
gRegorLove
Huh, interesting. So PTD would say this is a photo post: https://gregorlove.com/2017/06/indieweb-appreciation/
#
gregorlove.com
created /PTD (+33) "r"
(view diff)
#
gRegorLove
Heh, as evidenced by Loqi's preview
#
aaronpk
IMO as soon as you have text both above and below a photo it's not a photo post anymore
#
sknebel
wait, no
#
sknebel
that shouldn't be a photo
#
sknebel
since it's not a direct child of the h-entry
#
aaronpk
gregor did put u-photo on the photo tho
#
gRegorLove
Oh? Oops
#
gRegorLove
Let me fix
#
sknebel
Kaja << "add !mf command, people forget the 2 all the time"
#
Loqi
ok, I added ""add !mf command, people forget the 2 all the time"" to the "See Also" section of /User:Kaja.sknebel.net
#
loqi.me
edited /User:Kaja.sknebel.net (+54) "sknebel added ""add !mf command, people forget the 2 all the time"" to "See Also""
(view diff)
#
Zegnat
You have e-content, so that one should be fine, gRegorLove
#
Zegnat
I think it only happens if the image is a direct child of the h-entry
#
Zegnat
goes to recheck parsing spec
#
gRegorLove
You're right, direct child img
#
sknebel
so I guess many posts are "saved" by layouting divs and stuff ;)
#
Zegnat
Well. Doesn’t have to be direct child, there can be a single :only-child wrapper in between
#
Zegnat
<div class="h-entry"><div class="e-content"><p></p><img><p></p></div></div>
#
Zegnat
would still be an implied photo, I think
[jeremycherfas] joined the channel
#
gRegorLove
Sounds right
#
gRegorLove
sknebel++ Nice Kaja mf2 command, didn't know about that.
#
Loqi
sknebel has 19 karma in this channel (51 overall)
#
Zegnat
And of course, for giggles, add the u-featured in there again: https://php.microformats.io/?id=20170726202725332
#
gRegorLove
needs lang=gibberish :)
singpolyma and snarfed joined the channel
#
aaronpk
hm i need to update my twitter POSSE to use the new reply thing wher eyou don't need to include ppls names in the tweet
snarfed, [eddie], [miklb] and tantek joined the channel
#
Loqi
[sknebel] #34 Incorrect implicit name properties
#
sknebel
Zegnat aaronpk gRegorLove: I feel like the implied "photo" parsing should be an issue against the mf2 parsing spec, yes/no?
#
aaronpk
yeah guess so
#
gRegorLove
Which part, specifically? Did we have a real world example of it giving uexpected /PTD?
#
tantek
yeah that sounds more like a spec issue
#
tantek
that # 34 above
#
sknebel
gRegorLove: your article is only not an example because you used a figure tag around the img, right?
davidmead joined the channel
#
Zegnat
gRegorLove probably has some more elements outside the e-content, so his will not trigger implied photo
#
gRegorLove
No, because it's inside div class=e-content, and that div has sibling elements
#
Zegnat
Yeah, assoon as there are siblings there it is off
#
gRegorLove
Confirmed with mf2py and php-mf2
#
gRegorLove
Not opposed to a github issue on it, though, or discussion in #microformats at least. tantek can shed more light on the history of it, probably.
#
Zegnat
Really it is a bit of an edge-case. I can come up with loads of theoretical problems, but hard to find actual examples.
#
Zegnat
Also because I think very few people push what mf2 can do, most copy examples from wikis and those are already proven
#
sknebel
right, a sibling for the author etc is quite likely. to the point where I wonder if actual photo posts ever have a matching DOM?
#
Zegnat
<span class="h-card"><img src="" class="u-feature" alt="not my face, not my photo, just a nice picture of my house"><span class="p-name">Martijn</span></span> - would trigger a faulty implied photo property and clash with the feature property. But again, pretty contrived example.
#
sknebel
I think the u-featured issue is the most likely to actually happen?
#
Zegnat
More likely, yes, especially if people put that outside of e-content. (Do they?)
#
sknebel
all sites I'm looking at have a footer of some kind on every post that'll kill the nested rule
#
gRegorLove
notes seem most likely for that to happen with, since they'll either not have a p-name at all, or it's on the e-content element
#
gRegorLove
If you post an article and have the p-name inside the e-content, that parses fine, but will look weird in readers (duplicate name showing up)
#
Zegnat
I always have p-name inside my content (unless I don’t define one and set it to be equal the content)
#
gRegorLove
huh, interesting
#
Zegnat
For events (https://licit.li/596a1ac68a9b8) and long-form (https://licit.li/595611f87aae1). But they are basically names I have hidden in the content of the post. There to make parses make sense of things, not really for people.
KevinMarks_ joined the channel
#
sknebel
interesting, nearly every page I look at uses <figure> tags
#
sknebel
and thus doesn't trigger those rules
#
sknebel
(now I'd love it if we had parser logs telling us which rules are actually used how often ;))
#
gRegorLove
Zegnat: Interesting, why don't you want the title to show up on the second link there?
#
gRegorLove
Haven't seen a data class=p-name before. Clever.
#
Zegnat
gRegorLove: I have no CSS for headings, and most of the time don’t see a need for them on my site. Put incase someone is converting my site in their reader, they might expect a title in there. Or when converting h-feed to RSS.
davidmead joined the channel
#
Zegnat
This theoretically also means they have a title to use for bookmark-of/in-reply-to/… posts
#
Zegnat
Though most people don’t seem to go that far in the parsing for their target posts
#
Zegnat
Would have loved to go without the DATA element there, but I wanted a more proper title then I could wrangle the text to be ;)
#
gRegorLove
Yeah, that's something I'd like to do. I'm usually semi-manually making my like slugs "star-" + original slug. Some don't have the nicest slugs, though :)
#
Zegnat
On the event I didn’t need data because I already write “Virtual Homebrew Website Club” in the text just the way I would make the title
#
gRegorLove
Nice. I love the flexibility of HTML and microformats
#
Zegnat
I like to push the flexibility ;) But yeah, https://gregorlove.com/2017/06/star-martijn-van-der-ven-iws2017/ could have used the p-name.
#
Zegnat
eli uses the TITLE element (e.g. https://eli.li/entry.php?id=20170720183445) which makes me think I might need to make sure to put something there
#
Loqi
[eli] It isn't exactly the same thing, but check out Battle Decks: Think of it as improv karaoke powerpoint. Contenders each prepare a 10 slide deck for their opponent to present sight unseen. The audience judges by show of applause based on continuity,...
#
Zegnat
Now I am really off for bed :) Have a good HWC wherever you are gRegorLove :D
#
gRegorLove
Could move from <data> to <title> if you move your h-entry to the <html> :) G'night!
#
tantek
true!
#
tantek
yet people usually put visible post name in the body anyway, hence better to put h-entry on body
snarfed, jjuran, leg and tantek joined the channel