#microformats 2019-06-24

2019-06-24 UTC
#
@pdxleif
↩️ I wonder if they have the recipe marked up with microformats or RDFa, you could scrape the thing - "just give me the recipe, please".
(twitter.com/_/status/1142951203556319232)
[fluffy], [Michael_Beckwit, KartikPrabhu, [jgmac1106], [eddie] and Nebulous[m] joined the channel
#
@jackyalcine
↩️ @kmelve Did you mean microformats? Webmentions are just (largely) requests being sent back and forth. (https://v2.jacky.wtf/post/2aff8d46-ff0c-4af5-8917-2fbba3711574)
(twitter.com/_/status/1143014783781916672)
gRegorLove, jbove, gRegorLove_, JonathanNeal_, Phae_, twisted`_, ritewhose[m], infominer[m], [infominer], [kevinmarks786], [xavierroy], [jgmac1106], jgmac1106 and KartikPrabhu joined the channel; echarlie left the channel
#
@jgmac1106
Have to head into the office today so only an hour for @getkirby play trying get all the post types without building a template for each by routing posts based on microformats. I am so glad they have such a wonderful community to help: … https://quickthoughts.jgregorymcverry.com/2019/06/24/have-to-head-into-the-office-today
(twitter.com/_/status/1143105947398758400)
KartikPrabhu, galaxie, sacha[m], aeddi[m]1, kiwibe[m], jgmac1106, [jgmac1106], manfred[m], Giyomu[m], chimo, [kevinmarks786], new0ne[m], [grantcodes], jackjamieson, jackjami_, gRegorLove and [jansauer] joined the channel
#
[jansauer]
[sknebel] or anyone interested^^
#
[jansauer]
Why does ...
#
[jansauer]
<div class="h-card">
#
[jansauer]
```
#
[jansauer]
...
#
[jansauer]
<img class="u-photo" alt="photo of Mitchell" src="http://blog.mozilla.org/press/files/2012/04/mitchell-baker.jpg" />
#
[jansauer]
result in
#
[jansauer]
```
#
[jansauer]
```
#
[jansauer]
"photo": [
#
[jansauer]
"http://blog.mozilla.org/press/files/2012/04/mitchell-baker.jpg"
#
[jansauer]
],
#
[jansauer]
```
#
sknebel
because it's an u- property on an image?
jackjami_ joined the channel
#
sknebel
sorry, not quite sure what the question is
#
[kevinmarks786]
Adding alt is a new idea , and the tests may not be up to date
#
sknebel
right, current parsing would create an object and include the alt
#
[jansauer]
[kevinmarks786] based on the wiki u-* on a img with `src` should parse an img element for src and alt...
#
[jansauer]
Would just make sure if i don't understand the spec or the test is wrong.
#
sknebel
yes, as [kevinmarks786] said, the test is just not up to date
#
[jansauer]
[sknebel] thx, that looks like a merge request i could open 😄
#
sknebel
just noticed we totally lost track of the discussion about the JS parser last week
#
sknebel
if you'd be interested to work on it I can reach out to glenn about moving it to the microformats org
#
sknebel
(ideally there'd be someone else from the community too - I know from experience that it's a lot more fun if there's two people for double-checking releases etc... )
#
[jansauer]
i'm not 100% sure at the moment; I had a look at his code and maybe found the fix. But the cases tests are so out of date that i'm not really sure that i did not create new problems 😕
#
[jansauer]
So at the moment i'm working on updating the testing while also working on my own parser, in order to better understand the spec^^
#
[jansauer]
my goal is to have a merge request open for his project this week
#
sknebel
if you submit a PR or have a branch you want reviewed, just say something here and I can take look (at some point in the next 2 weeks, this week is insanely busy)
ritewhose[m] joined the channel
#
[jansauer]
[sknebel] will do; thx
jbove and joe-1 joined the channel
#
[jansauer]
One open but more to come 😬
#
Loqi
[kartikprabhu] test in mf2py for img parsing with alt: test examples: https://github.com/microformats/mf2py/blob/master/test/examples/experimental/img_with_alt.html expected results: below in python code form from mf2py ``` # simple img with u-* ...
jackjamieson and KartikPrabhu joined the channel
#
gRegorLove
Didn't realize that had been fully accepted. Created an issue to add it to php-mf2: https://github.com/microformats/php-mf2/issues/214
#
Loqi
[gRegorLove] #214 parse an img element for src and alt
#
gRegorLove
[jansauer]++
#
Loqi
[jansauer] has 3 karma over the last year
#
[jansauer]
[gRegorLove] thx; i added your links to the mr for reference
[tantek] joined the channel
#
[tantek]
gRegorLove yes! as part of an end of the year push 🙂
#
[jansauer]
2 for 2; plus done for today *sleepy*
#
[jansauer]
would be grateful for any feedback
#
[jansauer]
PS: Who is the person on the https://github.com/microformats avatar picture?
#
aaronpk
oh hahaha apparently benward changed his gravatar picture
#
Loqi
awesome
#
aaronpk
there's a "gravatar email" field in github, which is an email address that belongs to benward
#
aaronpk
let me see if i can replace the logo
[tantek] joined the channel
#
aaronpk
ok fixed. github says it may take a few minutes to propagate
[jgmac1106], balupton[m], sander[m]1 and [jansauer] joined the channel
#
[jansauer]
gorgeous 😄
#
[jansauer]
did just look a little bit strange in slack^^
#
[tantek]
the ghost of benward lives on!
[benatwork], [fluffy], [jackjamieson] and jgmac1106 joined the channel