#microformats 2020-02-23

2020-02-23 UTC
[dave], [KevinMarks], [Brian], [jgmac1106], [datashaman], [gRegorLove], [chrisaldrich], [Michael_Beckwit, gRegorLove, KartikPrabhu, [jeremycherfas] and [LewisCowles] joined the channel
#
Zegnat
This week had a first: being contacted over email by someone informing me that microformats.org has a login form without HTTPS protection.
[KevinMarks] and [jgmac1106] joined the channel
#
@yasushitakehara
Interesting idea, "microformats" (a bit old?) https://www.weblio.jp/content/microformats HTML5 seems have implemented some parts, like "tel", "email" in input tag.
(twitter.com/_/status/1231558500670562304)
#
@yasushitakehara
↩️ Interesting idea, "microformats" (a bit old?) https://weblio.jp/content/microformats HTML5 seems have implemented some parts, like "tel", "email" in input tag.
(twitter.com/_/status/1231558778744557568)
[LewisCowles] joined the channel
#
aaronpk
ugh yeah we really need to prioritize the server admin work this year
[jgmac1106], [jeremycherfas], gRegorLove, [yo], [LewisCowles] and [tantek] joined the channel
#
[tantek]
yeah 😕
[snarfed], loophole1, [Erika_W_] and [chrisaldrich] joined the channel
#
@BekoPharm
↩️ Mostly h-entry and mayhap h-cards on articles. This allows for fancy links already. See http://microformats.org/wiki/h-entry for an examples that has all the basics required. http://php.microformats.io/ is a great debugging help to get started. It's really straight forward tho. Happy to assist!
(twitter.com/_/status/1231650562158006276)
#
@BekoPharm
↩️ Awesome :D If you add this to articles as well, and mayhap refine that h-card with photo and url (to author profile, see http://microformats.org/wiki/h-card) you'd save me and various other people using this to "hydrate" links a damn lot (and you get more control what is used at all)
(twitter.com/_/status/1231654087772590080)
#
@thenaughtysquid
↩️ I've added the h-card tag for the article lists too, looks like it works nicely with no adjustments and uses the correct profile URL too - nice. Also added h stuff to full articles: http://php.microformats.io/?url=https%3A%2F%2Fwww.gamingonlinux.com%2Farticles%2Fexplore-a-dark-mansion-in-the-survival-horror-westmark-manor-releasing-this-year.16005
(twitter.com/_/status/1231656849520328704)
#
@BekoPharm
↩️ Ah, and for photo, that will now be missing, change the avatar link to something like this: <img class="avatar h-card p-author u-photo"> Microformats parses this all and fills in the blanks. Well usually. There is probably an elegant way but this should do.
(twitter.com/_/status/1231664426262114305)
gRegorLove joined the channel
#
sknebel
liamdawe: sorry, we had a spamwave recently and apparently our bot is a bit overzealous
#
liamdawe
no problem heh :)
#
sknebel
aaronpk: can we disarm Loqi a bit again?
#
sknebel
liamdawe: ah, I see the problem: the p-author needs to be on the same element as the h-card
#
liamdawe
oh
#
sknebel
because "author" is a property of the h-entry, so it needs to be nested under the h-entry, not the h-card. and "p-author h-card" tells it "there's an author property that has an h-card object as it's value"
#
sknebel
so replace what's currently "p-author" with "p-name"
#
aaronpk
ah joining and immediately dropping a link looked like spam
#
aaronpk
been a few days since the spam wave, i can disable that again
#
liamdawe
ah there we go, looks better now
#
sknebel
liamdawe++
#
Loqi
liamdawe has 1 karma over the last year
#
liamdawe
thanks for the tip sknebel
#
sknebel
always happy to help!
#
liamdawe
i'm totally new to this, only read up on it today
#
Loqi
[Liam Dawe] What have you been playing recently and what do you think about it?
#
liamdawe
that doesn't seem entirely correct
#
liamdawe
actually i think i know the answer on that myself
#
liamdawe
needs p-name in the same place
#
sknebel
yeah, you have a seocnd link with u-url
#
sknebel
<div class="meta">Posted by <strong><a class="u-url" rel="author" href="https://www.gamingonlinux.com/profiles/1">Liam Dawe</a></strong>, <time class="dt-published" datetime="2020-02-23T13:05:19Z">23 February 2020 at 1:05 pm UTC</time> | Views: 3,116 </div>
#
beko
hej liamdawe :D
#
sknebel
that doesn't need any microformats, since you have the card and the rel=author already elsewhere
#
sknebel
(well, the dt-published you'd want to keep of course)
#
aaronpk
edited /h-entry (+3) "/* what is the bare minimum list of required properties on an h-entry */ drop implied name, drop "implied" from the URL, since it's unlikely that a url will succesfully be implied in an h-entry"
(view diff)
#
aaronpk
edited /h-entry () "(-609) /* p-name of a note */ drop recommendation of adding p-name to notes, defer to indieweb wiki"
(view diff)
#
liamdawe
right okay, how does it look now? all good?
#
Loqi
[Liam Dawe] What have you been playing recently and what do you think about it?
#
beko
Weird. Looks like the bridge stopped working again. Last message I got on Discord is from 01/29/2020 but I see plenty of users from here :(
#
aaronpk
you can also use https://monocle.p3k.io/preview to preview what this feed may look like in a reader that parses the microformats
#
sknebel
liamdawe: you added a second name to the article now, you probably didn't want to do that
#
sknebel
<div class="meta">Posted by <strong><a class="p-name" rel="author" href="https://www.gamingonlinux.com/profiles/1">Liam Dawe</a></strong>, <time class="dt-published" datetime="2020-02-23T13:05:19Z">23 February 2020 at 1:05 pm UTC</time> | Views: 3,156 </div>
#
sknebel
get rid of the p-name there
#
sknebel
you already have the author information in the h-card
#
sknebel
ah, you are using the same template in both spots?
#
sknebel
(since the h-card just lost the url too)
#
liamdawe
ah crap i'm getting confused, hold on
#
sknebel
you have two links to your author page
#
sknebel
one right at the top, and one towards the bottom
#
liamdawe
ahhhhh
#
liamdawe
yeah they're output the same, that's what's causing it
#
liamdawe
good catch
#
liamdawe
so i need to remove one heh
#
beko
sorry for the trouble =) and thanks for adding microformats :D
#
sknebel
you could also wrap both in h-card and mark one as the author and leave the other - it'd then be just a random child, that's not ideal but unlikely to break anything
#
liamdawe
boom
#
liamdawe
there we go
#
liamdawe
i think it's all good now
#
liamdawe
:D
#
sknebel
yes, looks good :D
#
sknebel
liamdawe++
#
liamdawe
hooray!
#
beko
👍
#
liamdawe
much appreciated
#
liamdawe
right, sorry to ask and dash but it's 8pm here and i gotta eat, happy sunday - thanks again!
#
beko
works. avatar shows up now too
#
beko
liamdawe++
#
Loqi
liamdawe has 2 karma over the last year
#
beko
sknebel++
#
Loqi
sknebel has 3 karma in this channel over the last year (53 in all channels)
ChanServ, [tantek], [KevinMarks], macgenie and [Brian] joined the channel
#
@nertzy
Today at IndieWebCamp 2020 Austin I’m figuring out what my personal site https://nertzy.com has on it and running it through https://indiewebify.me to get some basics like h-card set up. After that, I’ll be looking into social reader apps. http://microformats.org/wiki/h-card
(twitter.com/_/status/1231694806713294849)
[dave], gRegorLove_, [ColinMorris], [David_Bryant] and [gRegorLove] joined the channel