#microformats 2019-03-01

2019-03-01 UTC
[tantek] and [schmarty] joined the channel
drapetomaniac, [tantek], koddsson, barpthewire, KartikPrabhu, [kevinmarks], [Vincent], [jgmac1106], [jeremycherfas] and eduardm joined the channel
#
@okaammy
Day.50 1h ( total: 173.5h ) ■やったこと ・Webを支える技術 10,11章 HTMLとmicroformatsについて microformatsは、HTMLを人だけでなくコンピュータにも正しく理解させるためのもの。(あってるかな?)
(twitter.com/_/status/1101499168000892928)
[schmarty], [jgmac1106] and [tantek] joined the channel
#
Loqi
[@atav1k] @brentriddell @blot__ i’ll check it out tho more than blogging i’m interested in portability of micro formats…handles, tags, replies, geotagging
barpthewire, [jgmac1106], [schmarty], [eddie], KartikPrabhu and koddsson joined the channel
#
[jgmac1106]
for p-education and p-experience am I supposed to use those instead of p-name inside an h-event? the h can't be a child of the p I am assuming
[schmarty] joined the channel
#
[schmarty]
jgmac1106: i don't understand. what are those properties meant to communicate and how do they relate to an event?
#
[jgmac1106]
" an education h-event event, years, embedded h-card of the school, location." to make an education h-event does one just use p-education instead of p-name?
#
KartikPrabhu
is "p-education" defined anywhere?
[tantek] joined the channel
#
[tantek]
[jgmac1106] helps to cite URLs for such quotes since the context may not be obvious. context likely: http://microformats.org/wiki/h-resume
#
KartikPrabhu
so looks like "p-education" is not a replacement for p-name of an h-event
#
[schmarty]
so that feels tricky to unpack in my head but i think the outer would look something like <div class="p-education h-event">...</div>
#
[schmarty]
so it'll have a nested h-event for consumers that want details
#
[jgmac1106]
okay thanks
#
[schmarty]
but because of the p- prefix it will also have a plaintext value for consumers that want to find 'education' on your resume but don't understand the nested object.
#
[schmarty]
(i believe the `value` will be the flattened text of everything inside that div)
#
@triptych
Do we still use Microformats and Semantic Markup? #webdev #webdevelopment
(twitter.com/_/status/1101606671229452288)
#
[tantek]
[schmarty] not quite. it used to work that way but we found that was not very useful. so now any such p-* property takes it's value from the embedded h-* object's p-name, not the "the flattened text of everything inside"
#
[tantek]
Where can we document that better to help dispel / update that
#
[schmarty]
oh rad, that makes sense.
#
[schmarty]
dang i don't know. i didn't look up a page to confirm that so it's my cargo-culted or badly internalized understanding.
#
[schmarty]
so it'd be the `name` value of the h-event.
#
[tantek]
correct
GWG joined the channel
#
[jgmac1106]
so just as p-name p-education or just p-education
#
[tantek]
similarly a u-* property with embedded h-* object takes its value from the h-* object's u-url
#
[tantek]
[jgmac1106] that made zero sense
#
[jgmac1106]
okay makes logical sense as hierarchy...yeah as soon as I read it I realized that
#
@schmarty
↩️ Hoo yeah. A ton of the fun social site-to-site interactions and new #IndieWeb reader experiences are built on microformats2. https://indieweb.org/reader
(twitter.com/_/status/1101607470198329345)
#
[jgmac1106]
So h-event the p-education instead of using p-name.
#
[tantek]
also, you know you can't put all the class names on one single element and expect it to magically infer some hierarchy. pretty sure we've discussed that and it's an FAQ
#
[tantek]
not sure where you got the "instead of p-name"
#
[jgmac1106]
yeah going back and fixing that now, since there is no consumer getting the microformats right was last concern
#
[jgmac1106]
starting that now
#
[jgmac1106]
So <ul class"h-event"><li class="p-education">
#
[jgmac1106]
or <ul class"h-event"><li class="p-name p-education">
#
KartikPrabhu
<ul class"p-education h-event"><li class="p-name">
#
KartikPrabhu
"education" is a property of the "h-resume" which is an embedded h-event with a p-name
#
[tantek]
[jgmac1106] when in doubt, rather than guessing, please see the spec http://microformats.org/wiki/h-resume#Properties
#
[tantek]
if the spec doesn't make sense, then ask questions rather than guessing
#
[jgmac1106]
I did that is why is why I started with: "an education h-event event, years, embedded h-card of the school, location. " I didn't know what that meant
#
[tantek]
right, when "didn't know what that meant" - ask questions about "that"?
#
[jgmac1106]
schmarty++
#
Loqi
schmarty has 1 karma in this channel over the last year (65 in all channels)
#
[jgmac1106]
KartikPrabhu++ thank you both for the help
#
Loqi
KartikPrabhu has 23 karma in this channel over the last year (46 in all channels)
#
[jgmac1106]
will work fix it up tomorrow. Wanted to show it off parsed
[grantcodes], Loqi_, milkii_, chrisaldrich, j12t and [kevinmarks] joined the channel