#microformats 2018-03-20
2018-03-20 UTC
[snarfed], [kevinmarks] and [miklb] joined the channel
# [kevinmarks] Where this gets practical is in the tests repo, where you should not rely on order when comparing the dictionary like things
# [kevinmarks] Yes
chrisaldrich, tantek and [miklb] joined the channel
# KartikPrabhu !tell Zegnat: updated mf2py with "ordering" stuff. now "items" and "rels" should be deduped and sorted alphabetically. also up on my site version
tantek joined the channel
# @steve_e @alexismadrigal @KatzOnEarth If only people had used microformats for publish dates. (twitter.com/_/status/975990074016968704)
nitot and KartikPrabhu joined the channel
tantek joined the channel
# Zegnat !tell gRegorLove please see if this clears up your questions about yesterday’s discussion: https://github.com/microformats/microformats2-parsing/issues/29
[kevinmarks] joined the channel
# @sbillard @VictorLerat Renvoyer de la popularité vers les niveaux supérieurs, afficher le chemin dans les SERPS avec les microformats adequats, et permettre une navigation plus aisée. En haut de page par contre, je vois pas l'intérêt du bas de page. (twitter.com/_/status/976029745874907136)
# Zegnat Separate issue for deduping type and rels: https://github.com/microformats/microformats2-parsing/issues/30
nitot joined the channel
# Zegnat If people could take another look at https://github.com/microformats/microformats2-parsing/issues/28 and either come in with an objection or just +1 it, I think we can get that one closed relatively quickly?
tantek, nitot, barpthewire, [mrkrndvs], [kevinmarks], Garbee, [pfefferle], [miklb], webchat140, nitot_, TallTed, brandon and KartikPrabhu joined the channel
# brandon Hi there. Wondering, how might I format savings text. Specifically, text that looks like “Save $1,200.00 if you buy the complete package”?
# KartikPrabhu brandon: not really a microformats question
# KartikPrabhu Zegnat: oops I did mean "type" in the tell I left you
# KartikPrabhu also mf2py does not do any validation for "h-*" and properties yet. I am waiting for someone to write that regex
# KartikPrabhu no the issues are pretty clear IMO
# KartikPrabhu Zegnat++
# KartikPrabhu Zegnat: I can do that bit :) you should put the regex on that issue!
# KartikPrabhu hmm ok will test thanks!
# KartikPrabhu haha
# KartikPrabhu h++
nitot joined the channel
# @chrismessina Life, gamified. (@ Starbucks in Mountain View, CA w/ @microformats) https://www.swarmapp.com/c/8ZYfGVtH4Wj https://pbs.twimg.com/media/DYvvn5iXUAAHcK3.jpg (twitter.com/_/status/976137215490297856)
# @zacharyparadis @chrismessina @microformats Stars, shields, free stuff: https://en.wikipedia.org/wiki/Green_Shield_Stamps (twitter.com/_/status/976138137897521154)
# KartikPrabhu Zegnat++
# KartikPrabhu yes!
# KartikPrabhu writing tests now
# KartikPrabhu where is Loqi?
# KartikPrabhu Zegnat++ for class names regex
# KartikPrabhu boo!
# KartikPrabhu well you got the point ;)
# Zegnat https://github.com/microformats/microformats2-parsing/issues/31 - filed, sknebel
# KartikPrabhu Zegnat: here you go https://kartikprabhu.com/connection/mfparser :) with the names check
# KartikPrabhu :D
# KartikPrabhu there wasn't much wrangling to do in this one. Just replaced the starts with "p-" with a regex check :D
# KartikPrabhu yeah because super experimental
# KartikPrabhu yeah did some prior testing in console before adding them in
# KartikPrabhu I am basically keeping my master branch to push to the main repo so all new stuff goes into my experimental
# KartikPrabhu which then goes to my site so I can spot if it breaks in the wild
# KartikPrabhu yup I did find a few bugs that way :)
[eddie], tantek and [cleverdevil] joined the channel
# KartikPrabhu are those not allowed?
# sknebel I suggested we might not want to allow them ( https://github.com/microformats/microformats2-parsing/issues/31 )
# KartikPrabhu Zegnat: yeah that also works to eliminate that case
# KartikPrabhu yeah it does
# KartikPrabhu I think that is good
# KartikPrabhu I'll update mf2py in a bit
# KartikPrabhu so the new rule is basically treat "-" as strict delimiters
# KartikPrabhu I support not allowing "-" in the end
# Zegnat https://github.com/microformats/microformats2-parsing/issues/31 feel free to leave thoughts and/or intent to implement, KartikPrabhu :)
[Vanessa], [chrisaldrich], [eddie], KartikPrabhu and [gerwitz] joined the channel
# KartikPrabhu Zegnat: done and added to mf2py
# gRegorLove KartikPrabhu, is that live on https://kartikprabhu.com/connection/mfparser?
# Loqi gRegorLove: Zegnat left you a message 10 hours, 34 minutes ago: please see if this clears up your questions about yesterday’s discussion: https://github.com/microformats/microformats2-parsing/issues/29
# KartikPrabhu yes
# KartikPrabhu let me know if you find some gaps
# KartikPrabhu gRegorLove: here is the code if it helps for php-mf2 https://github.com/kartikprabhu/mf2py/blob/691475feb8c71b87f4c82071395db9c78f494748/mf2py/mf2_classes.py#L7-L16
# gRegorLove I think I'm +1 on that, was just about to comment on the issue. If there's any consecutive dashes it won't be parsed, right? So `p-acme--thing` would be excluded.
# KartikPrabhu yes
# gRegorLove Sounds good for leading and trailing dashes for sure. Can't really think of a reason to use multiples in the middle, but if they were allowed in the middle that doesn't seem like a problem.
# KartikPrabhu I am sure Zegnat will give us the correct regex if the rules change :P
# gRegorLove KartikPrabhu: Heh, I was confused when I highlighted the text in your parser results what the dot was that appeared. Guess it's your fragmention thing. :)
# KartikPrabhu yeah :P
chrisaldrich, tantek and nitot joined the channel
# KartikPrabhu tantek: thoughts https://github.com/microformats/microformats2-parsing/issues/31 ?
# KartikPrabhu getting another opinion before updating spec
# KartikPrabhu spec only says allow "a-z" and "-"
# KartikPrabhu if that looks good we can update spec for numbers in vendor prefixes and this hyphen stuff
# KartikPrabhu tantek: I have them in mf2py
# KartikPrabhu the experimental version not the main one
# KartikPrabhu gregorlove is for it
# KartikPrabhu not sure why it is useful as I don't use it
# KartikPrabhu this is not a parsing question right?
# KartikPrabhu no parser checks for valid rels afaik
# KartikPrabhu ok
# KartikPrabhu yeah if it is in use with examples then looks fine
# KartikPrabhu tantek: class names format test from mf2py https://github.com/kartikprabhu/mf2py/blob/experimental/test/examples/class_names_format.html
# gRegorLove tantek, KartikPrabhu: I'm generally in favor of the dashes change, neutral on consecutive dashes in the middle of a root/property name. See my comment on the issue.
# gRegorLove Re: rel-archived, makes sense when you're linking to the archived URL. Makes me wonder how you'd indicate on the URL itself that it's archived.
# KartikPrabhu tantek: yes I figured those rules were missed in the original writing
# gRegorLove Hm
# gRegorLove But you would want to go back to some other page(s) that link to it and add rel=archived?
# gRegorLove Interesting. Sounds like more work that way, depending on # of links. I don't have a proposal for what to add to an individual page to indicate it's archived though, either.
[cleverdevil] joined the channel
# KartikPrabhu tantek: if you can add your thoughts/agreement to the dashes issue we should be able to update the spec
# KartikPrabhu php-mf2
# KartikPrabhu there is a suggested edit by Zegnat I think
# KartikPrabhu oh woops there is a suggestion without the "dashes" thing https://github.com/microformats/microformats2-parsing/issues/28#issuecomment-374536421
# KartikPrabhu #28 #29 #30 #31
# KartikPrabhu gRegorLove: #29 and#30 need your input :)
# KartikPrabhu :thumbsup:
# tantek checks http://microformats.org/wiki/microformats2#Background to see if he captured any of these details in original brainstorming / design
# gRegorLove I +1'd 29, no comments currently
# gRegorLove +1'd #30 now as well
# KartikPrabhu nice!
# gRegorLove #27 is probably easy too. In case you don't have enough on your plate ;)
# gRegorLove Suggesting we add some ordinal date examples to the VCP examples.
# KartikPrabhu should add ordinal dates to mf2py
# tantek while I'm reviewing #27-31 and commenting, I KartikPrabhu,Zegnat,gRegorLove take a look at http://microformats.org/wiki/microformats2-brainstorming#hReview_item_backward_compatibility in case you hadn't found it already
# gRegorLove ooh
# KartikPrabhu i think gRegorLove was doing the "analyse examples" part
# gRegorLove php-mf2 is doing that. That's been captured in the h-review parser compat section.
# gRegorLove I believe it's actually the inverse of that I have not found yet -- hReview with fn, url, or photo properties that *don't* have an intervening 'item'
# gRegorLove http://microformats.org/wiki/hreview-v0.2 has fn, url, and photo as properties of 'item'. Was it early hReview 0.1 that didn't have 'item'?
# tantek a-ha found it! http://microformats.org/wiki/naming#Some_Details
benwerd joined the channel
# KartikPrabhu done