#microformats 2020-05-11
2020-05-11 UTC
fkrt2 joined the channel
KartikPrabhu joined the channel
# fkrt2 Hello. Why http://microformats.org/ does not have a SSL/TSL certificate?
[chrisaldrich], beko, gRegorLove__ and cjw6k_ joined the channel
Aishawhite, KartikPrabhu, [fluffy], jamietanna, reidab_, aaronpk, bear, dckc, [Rose], [LewisCowles], [Sadik_Shahadu], [jgmac1106] and indy joined the channel
# [jgmac1106] gwg tantek I could see haudio for my audiopodcasts and poems as well, I haven't given each show a unique url (well a link to a text of a poem) but I could give them an id.
# [jgmac1106] I want to be able to send someone specifically a link to a poem or podcast i just them the link to the audio file and not the h-entry
[KevinMarks], [prtksxna], fkrt2, [grantcodes] and [aimee] joined the channel
# [aimee] Hey, just thought I would introduce myself 👋 - and I’ve just opened a PR against the test suite to update the references to NPM and dependencies: https://github.com/microformats/tests/pull/118
# [KevinMarks] would it make sense to republish on npm?
Sajesajama and fkrt2 joined the channel
# [aimee] I think it only makes sense to republish on npm if we intend to keep it up to date
fkrt2 and [jgarber] joined the channel
# [jgarber] [jansauer]’s project (https://github.com/jansauer/htmlparser2-microformat) doesn’t appear to be using the npm package but instead uses the repository as a Git submodule.
# [jgarber] …and [Glenn_Jones]’s project (https://github.com/glennjones/microformats-testrunner) pulls the package from a tarball at a GitHub URL.
# [jgarber] npm lists zero dependents: https://www.npmjs.com/package/microformat-tests
[jansauer] joined the channel
# [jansauer] Yes. taking the test straight from the source 😄
# [jansauer] [jgarber] nice, always wanted to add this to the php lib
# [aimee] I’ve listed my dependency as a github dependency - as it’s a dev dependency, this doesn’t bother me
# [aimee] (And it’s nice to always have the latest tests from the library)
# [aimee] I would only suggest going the route of maintaining packages in the various package managers if they were automatically published in ci
# Zegnat According to packagist, it is automatically being updated, but clearly it is not there :( So I also had to pin a commit: https://github.com/microformats/php-mf2/pull/163/files#diff-b5d0ee8c97c7abd7e3fa29b9a27d1780R19
# [aimee] And I’d like to switch the dependencies to devDependencies, as otherwise npm pulls them in on an install from github, I’ve had to fork to stop this
# [jgarber] You’d add microformats/tests to your project as a Git submodule: https://git-scm.com/book/en/v2/Git-Tools-Submodules
# [aimee] To remove package.json you would also have to remove the local server
# [aimee] Not sure if anyone uses that? Or even if it works?
# [aimee] > Oh, that’d be great, too. Okay, this is growing beyond the scope of your PR. 😄
# [aimee] It is a little 😉
[tantek] joined the channel
# [aimee] Sure
[Sadik_Shahadu] and fkrt2 joined the channel
[LewisCowles], [tw2113], [jgmac1106] and rodolfojcj joined the channel
# [KevinMarks] I think a lot of this is left over from Glenn Jones's original multi-implementation tester.
# [KevinMarks] iirc part of the point of a local server was to allow testing of relative urls
# [KevinMarks] ie without a HEAD in the test
# [KevinMarks] but serving them from a known domain would do that too
# [jgarber] Okay, here we go. microformats/tests idea tracking issue: https://github.com/microformats/tests/issues/119
# [KevinMarks] is the markdown table syntax clear enough?
# aaronpk relevant: https://stevecat.net/table-magic/
# Loqi [@simonw] TIL you can copy and paste any HTML table into a GitHub issue comment and GitHub will automatically convert the HTML into Markdown table syntax for you! https://pbs.twimg.com/tweet_video_thumb/EXlt2BqUMAEH4jR.jpg
# [aimee] Yep!
fkrt2 joined the channel
# [KevinMarks] Datasette is neat.
dougbeal|mb1, [chrisaldrich], [jgmac1106], [jeremycherfas], SpencerDub, gRegorLove, [fluffy], fkrt2, [snarfed], KartikPrabhu, rodolfojcj and [jgarber] joined the channel
[KevinMarks] joined the channel
# [KevinMarks] I think the discussion is on the wiki. The point of rels was to collate the links by type, so you could find all the rel=me or whatever. The point of rel-urls was to find all the rels that apply to a single link without having to walk all the rels. As the parser is walking all of the links with rels anyway, it can build these and save the consumer time and effort.
# [KevinMarks] This makes sense for xfn where you potentially have multiple relationships
# [KevinMarks] Can also be useful for mf1 fallback where rels are used more
# [KevinMarks] Though that often has containment rules
# [KevinMarks] Which are mostly for rel=alternate
# [KevinMarks] But enclosure too
# [KevinMarks] There was some debate on gathering all attributes of a rel-linked url, but we limited it ones with a use case. We could review that list.
# [KevinMarks] So one use case is finding feeds - you check the list for rel=alternate, then look them up in rel-urls to provide the choice.
# [KevinMarks] Type and text/title yes