#microformats 2018-08-19
2018-08-19 UTC
icee25, justyns, [tantek] and bodeezl17 joined the channel
# @dshanske ↩️ People continued working on it. Everything you need using W3C standards like Webmention, Microformats2…give it a try? https://IndieWeb.org/WordPress/Plugins (https://david.shanske.com/2018/08/18/2048/) (twitter.com/_/status/1030980083446673411)
kunwon125, mort18, [kevinmarks], HollyW00d6, radiofree11, GigabytePro7, rasengan26, vans8, tantek__, [tantek], tantek, [jgarber], [chrisaldrich], cyberzeus3, Ishaq3, [eddie], [cleverdevil], GuntherDW25, eNbass15, darkmagic, vespaper, zhongfu24, jcline25, marig, Hello710, Guest89349, theresajayne5, jlf1, boser22, MeiR7, darxun29, k6ka15, RoBz27, nullrouted, funnel24, Kraps24, fossxplorer, [pfefferle], Char0n, koddsson and idn13 joined the channel
spb15, ynyounuo20, barpthewire, raSter^20, [pfefferle], linear14, [kevinmarks], Galixte17, armin29 and [jgmac1106] joined the channel
# @jgmac1106 Microformats parser: http://pin13.net/mf2/ (http://jgregorymcverry.com/6173-2/) (twitter.com/_/status/1031224541266231297)
# [kevinmarks] and for mutilingual posts
# tantek__ sure there are plenty of such one-off examples, see above: https://chat.indieweb.org/microformats/2018-08-19/1534699099267100
[cleverdevil] joined the channel
# [kevinmarks] I think there is a huge amount of monoglot bias, massively encouraged by Google.
# [kevinmarks] No, Google explicitly tells you to make monolingual pages.
# tantek__ Zegnat see the top of andybaio's profile here: https://xoxo.zone/@andybaio
# [kevinmarks] Mastodon has key/value properties that you append to your profile. If the property is a url it puts rel-me on them
# [kevinmarks] I don't think it has a specific gender field
# [kevinmarks] But pronouns is a common convention
[eddie] joined the channel
# tantek__ kevinmarks interesting pushback in that pull: https://github.com/tootsuite/mastodon/pull/6645#issuecomment-381345084
# [kevinmarks] People specify pronouns in the language(s) they speak
# [kevinmarks] I told you about gendered friend lists before?
# [kevinmarks] Brad histogrammed all the group names people had made in Google contacts, then translated them into English
# [kevinmarks] Top ones were friends, family school, work, church, girl friends
# [kevinmarks] But "girl friends" was mainly a translation of friends in gendered languages which distinguished amigos/amigas etc
# tantek__ see that github issue https://github.com/tootsuite/mastodon/issues/3211 for a lot more discussion about the complexity of cross-language machine-readable pronouns
# [kevinmarks] I have seen "she/they"
# Zegnat There was a brainstorm about multilingual pronouns with pronoun objects: http://microformats.org/wiki/microformats2-parsing-brainstorming#Pronouns_in_different_languages But I personally thought that would quickly become unworkable
# Zegnat See https://wiki.zegnat.net/microformats/pronoun for my concerns
Lymia1 and RoBz11 joined the channel
Code_Red12 joined the channel
[jgmac1106] joined the channel
# Zegnat But a link can simply be https://pronoun.is/ne and it'll at least help people.
# tantek__ thanks to you Zegnat I ended up on https://en.wikipedia.org/wiki/Nae_Nae
Guest31344, [manton] and tantek__ joined the channel
sjohnson7 joined the channel
# sknebel apparently mf1 parser output as json: https://notiz.blog/2007/09/16/microjson-microformats-in-json/
[kevinmarks] joined the channel
# [kevinmarks] A good idea, that, json output
[jgmac1106] joined the channel
# [jgmac1106] I think everyone who has ever tried microformats has published the oops...I used "u-photo" everywhere post..found [miklb] searching the web on a different topic: https://miklb.com/blog/2017/04/12/microformats2-wordpress-and-featured-images-classes/
ksx4system7 and sebsel joined the channel
# aaronpk i just added a microformats JSON validator to https://pin13.net/mf2/#json
# zegnat edited /h-card-brainstorming (+1349) "/* Pronouns */ Add link to Mastodon discussion as discussed on IRC. Add feedback from [[User:Sknebel]] on [[User:Zegnat]]’s pronoun work." (view diff)
# [pfefferle] aaronpk found a bug
# [pfefferle] this is valid isn’t it?
# [pfefferle] {
# [pfefferle] “items”: [
# [pfefferle] {
# [pfefferle] “type”: [
# [pfefferle] “h-entry”
[pfefferle] joined the channel
# [pfefferle] hmm, sorry, I make a gist
# [pfefferle] yes
# [pfefferle] the same with author on the h-entry?
# aaronpk it worked with https://www.jsonschemavalidator.net/
# [pfefferle] ok, then I also have to fix my author markup and the jf2_to_mf2 function
# Zegnat What I saw when I validated using jsonschemavalidator.net: https://i.imgur.com/RjMZeNY.png
# Zegnat Hmm. I’ll have to look at why that would be so different from mine (https://gist.github.com/Zegnat/65ed9a9fb0546fb8c4aa0c0b790b8a40) then
SporkWitch16 joined the channel
Alistair27 joined the channel
# [pfefferle] aaronpk, now the other way around
# [pfefferle] I fixed my markup and now it validates but, the in-reply-to error still exists
# [pfefferle] yes, but the validator says it’s valid
[stefp] joined the channel
# Zegnat Remove the outer `items` key from your JSON and validate against this schema: https://gist.githubusercontent.com/Zegnat/65ed9a9fb0546fb8c4aa0c0b790b8a40/raw/63cb8c3a2ed486dcf374fb94a7129d5b7ceafd6b/microformat.schema.json
# [pfefferle] and I always get an error “Item 0 was invalid: Object 0 is missing the “value” property”
# [pfefferle] ah, I see
# Zegnat “If a microformat2 object is used as the value of a property, it will gain the additional member value to express a plain string representation.” - http://microformats.org/wiki/microformats2-json#properties
# [pfefferle] thanks
# [pfefferle] but even the example fails with: Object 0 is missing the “html” property
# [pfefferle] 😉
# [pfefferle] thanks you both, will add the changes to the plugin…
# [pfefferle] I am off for now
# willnorris finally got around to filing an issue for the problem we were discussing Friday about expanding relative URLs in e-* html values (https://github.com/microformats/microformats2-parsing/issues/38) At the very least, we need to resolve the discrepancy between the spec and the tests
bradenslen, [grantcodes], KartikPrabhu and Exaeta joined the channel
# ben_thatmustbeme Hmmm. Thoughts from others on this..
# tantek__ which is this issue: https://github.com/microformats/microformats2-parsing/issues/38
# ben_thatmustbeme Well, I mean wouldn't we want all outputs to match as identically as possible?
# ben_thatmustbeme Wonder if I can figure out some way to instead have a 'passing but with minor differences' result
# ben_thatmustbeme Or rather non-important differences
# ben_thatmustbeme The encoding I would definitely want to see differences of
# willnorris I could move some of these replacements into the parser, but they're not really "wrong" per se... They're perfectly valid output. They just fail an exact string match. Fwiw, I do this same replacement in testsuite_test.go in the library.
# ben_thatmustbeme I knew about the closing tag thing in Ruby, stuff like that is set of annoying as it depends on the language, but I guess it's a question if knowing these differences exist and wanting to determine if the passing rules want to dictate things like there
# ben_thatmustbeme These*. (On mobile)
# ben_thatmustbeme Parsing rules* sort if annoying*.
# willnorris I'm really gunning for 100% passing in the go library... At some point, thses will likely be the last holdouts. (Currently passing 101/117)